You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compressed release-notes-sled-15.5.20230104.tar to release-notes-sled-15.5.20230104.tar.bz2
/usr/lib/obs/service/set_version:33: RuntimeWarning: install 'packaging' to improve python package versions
warnings.warn("install 'packaging' to improve python package versions",
At revision 22c938d10c553eaf36d1f2a3e1a889b3.
However, python310-packaging is installed:
# sudo zypper in --no-recommends python310-packaging
Loading repository data...
Reading installed packages...
'python310-packaging' is already installed.
No update candidate for 'python310-packaging-22.0-1.1.noarch'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
Importing packaging.version modules works, except for LegacyVersion:
Python 3.10.9 (main, Dec 08 2022, 14:49:06) [GCC] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from packaging.version import parse
>>> from packaging.version import Version
>>> from packaging.version import LegacyVersion
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (/usr/lib/python3.10/site-packages/packaging/version.py)
>>>
Hello,
on Tumbleweed I get the following error:
However,
python310-packaging
is installed:Importing
packaging.version
modules works, except forLegacyVersion
:Could it be related to
LegacyVersion
being removed in https://github.com/pypa/packaging/blob/main/CHANGELOG.rst#220---2022-12-07?The text was updated successfully, but these errors were encountered: