Latest upstream release: 3.4.0 Current version/release in rawhide: 3.3.0-2.fc34 URL: https://github.com/pypa/twine Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/ More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream. Based on the information from anitya: https://release-monitoring.org/project/11165/
Created attachment 1763587 [details] [patch] Update to 3.4.0 (#1939380)
the-new-hotness/release-monitoring.org's scratch build of python-twine-3.4.0-1.fc32.src.rpm for rawhide failed http://koji.fedoraproject.org/koji/taskinfo?taskID=63877668
3.4.0 (2021-03-15) Features: Prefer importlib.metadata for entry point handling. (#728) Rely on importlib_metadata 3.6 for nicer entry point processing. (#732) Eliminated dependency on Setuptools/pkg_resources and replaced with packaging and importlib_metadata. (#736) These are packaging changes only, no impact expected for users.
The package started depending on importlib_metadata (the external library) and not importlib.metadata from python's stdlib. So this update can be done only after packaging the external library in Fedora.
Latest upstream release: 3.4.1 Current version/release in rawhide: 3.3.0-2.fc34 URL: https://github.com/pypa/twine Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/ More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream. Based on the information from anitya: https://release-monitoring.org/project/11165/
Created attachment 1763919 [details] [patch] Update to 3.4.1 (#1939380)
the-new-hotness/release-monitoring.org's scratch build of python-twine-3.4.1-1.fc32.src.rpm for rawhide failed http://koji.fedoraproject.org/koji/taskinfo?taskID=63953186
(In reply to Charalampos Stratakis from comment #4) > The package started depending on importlib_metadata (the external library) > and not importlib.metadata from python's stdlib. So this update can be done > only after packaging the external library in Fedora. Correction. The package has been retired, as projects should (obviously) depend on the stdlib one: https://src.fedoraproject.org/rpms/python-importlib-metadata/c/bb65b4223ef34372614eb16cf9a5638cdf79413c?branch=rawhide But twine wants to support also older python versions and they did so without conditionals for the stdlib module.
Examples of what to do: https://github.com/pytest-dev/pytest/pull/5539 https://github.com/tox-dev/tox/pull/1368 https://github.com/pytest-dev/pluggy/pull/223
Actually, we might need to talk to them or re-introduce importlib_metadata indeed. See https://github.com/pypa/twine/pull/732
importlib.metadata in Python 3.10 should have the necessary funcitons.
I've rebased and updated the patch proposed upstream by Petr and all tests in RPM build pass: https://src.fedoraproject.org/rpms/python-twine/pull-request/6
For the record, the upstream PR is https://github.com/pypa/twine/pull/772
FEDORA-2021-2dda58274c has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2dda58274c
FEDORA-2021-2dda58274c has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.