[ https://issues.apache.org/jira/browse/DISPATCH-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiri Daněk updated DISPATCH-2369: --------------------------------- Fix Version/s: 1.20.0 > Python is unhappy with a -SNAPSHOT version string nowadays > ---------------------------------------------------------- > > Key: DISPATCH-2369 > URL: https://issues.apache.org/jira/browse/DISPATCH-2369 > Project: Qpid Dispatch > Issue Type: Bug > Affects Versions: 1.19.0 > Reporter: Jiri Daněk > Assignee: Jiri Daněk > Priority: Major > Fix For: 1.20.0 > > > {noformat} > File > "/usr/lib/python3.12/site-packages/setuptools/_vendor/packaging/version.py", > line 198, in __init__ > raise InvalidVersion(f"Invalid version: '{version}'") > setuptools.extern.packaging.version.InvalidVersion: Invalid version: > '1.20.0-SNAPSHOT > {noformat} > This has been already looked into in skupper-router > * https://github.com/skupperproject/skupper-router/issues/1251 > * https://github.com/skupperproject/skupper-router/issues/973 > The problem is that version number with -SNAPSHOT in it is not PEP-440 > compliant. > As a related issue, we are now supposed not to call setup.py directly > * https://github.com/skupperproject/skupper-router/issues/1258 > {noformat} > /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: > SetuptoolsDeprecationWarning: setup.py install is deprecated. > !! > > ******************************************************************************** > Please avoid running ``setup.py`` directly. > Instead, use pypa/build, pypa/installer or other > standards-based tools. > Follow the current Python packaging guidelines when building > Python RPM packages. > See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html > and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ > for details. > > ******************************************************************************** > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org