python3-webview version reported incorrectly

Bug #2063176 reported by Wade Cline
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-pywebview (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

In Ubuntu 24.04 (pre-release), the 'pywebview' module is incorrectly reporting its module version as '0.0.0' in Python. This can cause issues in programs which change their behavior based on which version of the module is installed (notably, the current behavior breaks email-oauth2-proxy (https://github.com/simonrob/email-oauth2-proxy/blob/6ef9d4f61799affe145e3331d72f1cb6026d1432/emailproxy.py#L2837)).

The following Python3 code can be used in order to see the reported module version:

import pkg_resources
for s in pkg_resources.working_set:
    print(str(s))

On Ubuntu 24.04 the module version is incorrectly reported as '0.0.0' (expected: '5.0.5'); on Ubuntu 23.10 the module version is correctly reported as '3.3.5'.

"Also need" info:
1)
$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 24.04 LTS
Release: 24.04

2)
$ apt-cache policy python3-webview
python3-webview:
  Installed: 5.0.5+dfsg-1
  Candidate: 5.0.5+dfsg-1
  Version table:
 *** 5.0.5+dfsg-1 500
        500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        100 /var/lib/dpkg/status

3) Expected module version of '5.0.5'

4) Got module version of '0.0.0'

EDIT: Fixed URL.

Wade Cline (wtcline)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-pywebview (Ubuntu):
status: New → Confirmed
Revision history for this message
Phillip Boushy (pboushy) wrote :

A new version of the package appears to be published to proposed:
https://bugs.launchpad.net/ubuntu/+source/python-pywebview/5.0.5+dfsg-2

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-pywebview - 5.0.5+dfsg-2

---------------
python-pywebview (5.0.5+dfsg-2) unstable; urgency=medium

  * Team upload.
  * d/control: build-dep on setuptools-scm to fix wrong "0.0.0" version.
    (LP: #2063176)
  * Mark Debian-specific patches as not needing forwarding upstream.
  * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)

 -- Michael R. Crusoe <email address hidden> Fri, 26 Apr 2024 18:50:20 +0200

Changed in python-pywebview (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.