2024-04-23 16:09:09 |
Wade Cline |
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/intel-innersource/applications.provisioning.linux-at-intel.email-oauth2-proxy/blob/4a95c69bba76bf339d3f5ce759302c7211ae8061/emailproxy.py#L2839)).
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' |
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. |
|