Bug 2319726 - python-testscenarios fails to build with setuptools 74+
Summary: python-testscenarios fails to build with setuptools 74+
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-testscenarios
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: SETUPTOOLS74
TreeView+ depends on / blocked
 
Reported: 2024-10-18 10:14 UTC by Miro Hrončok
Modified: 2024-10-31 09:42 UTC (History)
4 users (show)

Fixed In Version: python-testscenarios-0.5.0-42.fc42
Clone Of:
Environment:
Last Closed: 2024-10-31 09:42:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-testscenarios pull-request 5 0 None None None 2024-10-29 12:08:05 UTC

Description Miro Hrončok 2024-10-18 10:14:44 UTC
Dear package maintainer,

this bugzilla is automated becasue the number of impacted packages it too high to go trough manually.

It appears that your package failed to build with setuptools 74.1.3 and wheel 0.44 in

  https://copr.fedorainfracloud.org/coprs/churchyard/setuptools-74/package/python-testscenarios/

While it succeeded with setuptools 69.2.0 and wheel 0.43 in

  https://copr.fedorainfracloud.org/coprs/churchyard/setuptools-control/package/python-testscenarios/

This usually means this package fails to build with setuptools 74+

We plan to update setuptools to version 74 or newer in Fedora 42. This is an approved Fedora 42 Change:

  https://fedoraproject.org/wiki/Changes/Setuptools_74+



Please analyze the failure and fix it in rawhide. Thanks.


You can use the builds from the churchyard/setuptools-74 copr for local testing.

  mock -r fedora-rawhide-x86_64 --addrepo 'https://download.copr.fedorainfracloud.org/results/churchyard/setuptools-74/fedora-rawhide-$basearch/'


One of the most common problems is that the setup.py test command cannot be used. If that is the case here, run the tests in %check differently, e.g. via %pytest, %tox, %{python3} -m unittest, etc.


If you need help, reach out to me in this bugzilla.

Comment 1 Miro Hrončok 2024-10-29 10:58:39 UTC
I plan to update setuptools to 74.x in rawhide this week.

At that point, this package will fail to build from source if not fixed.

Comment 2 Matthias Runge 2024-10-29 11:12:20 UTC
Thank you for identifying and raising this. Unfortunately, I have zero time to look into this. I'd rather orphan the package, but I do recall it was a (build time) dependency for multiple other packages.

Comment 3 Miro Hrončok 2024-10-29 11:50:43 UTC
Indeed it's heavily dependent upon, mostly by the oslo stack.

I think if you orphan it, it will find a new maintainer.

$ repoquery -q --repo=rawhide{,-source} --whatrequires python3-testscenarios
bandit-0:1.7.10-1.fc42.src
python-cliff-0:4.7.0-1.fc42.src
python-daemon-0:2.3.2-8.fc41.src
python-futurist-0:3.0.0-3.fc41.src
python-gear-0:0.16.0-7.fc41.src
python-glanceclient-1:4.7.0-1.fc42.src
python-hacking-0:7.0.0-1.fc42.src
python-heatclient-0:4.0.0-1.fc42.src
python-jenkins-0:1.8.2-4.fc42.src
python-keystoneclient-1:5.5.0-1.fc42.src
python-magnumclient-0:4.7.0-1.fc42.src
python-murano-pkg-check-0:0.3.0-34.fc41.src
python-neutronclient-0:11.3.1-1.fc42.src
python-novaclient-1:18.7.0-1.fc42.src
python-octaviaclient-0:3.8.0-1.fc42.src
python-openstacksdk-0:4.0.0-1.fc42.src
python-os-service-types-0:1.7.0-18.fc41.src
python-oslo-i18n-0:6.4.0-1.fc42.src
python-oslo-utils-0:7.3.0-1.fc42.src
python-reno-0:4.1.0-3.fc41.src
python-shade-0:1.33.0-14.fc41.src
python-taskflow-0:5.9.1-1.fc42.src
python-testtools-0:2.7.1-7.fc41.src
python-tosca-parser-0:2.9.1-5.fc41.src
python-troveclient-0:8.6.0-1.fc42.src
python3-cliff-tests-0:4.7.0-1.fc42.noarch
python3-keystoneclient-tests-1:5.5.0-1.fc42.noarch
python3-neutronclient-tests-0:11.3.1-1.fc42.noarch
python3-oslo-log-tests-0:6.1.2-1.fc42.noarch
python3-oslo-utils-tests-0:7.3.0-1.fc42.noarch
subunit-0:1.4.4-4.fc41.src

Comment 4 Miro Hrončok 2024-10-29 12:08:05 UTC
In the meantime, this fixes it: https://src.fedoraproject.org/rpms/python-testscenarios/pull-request/5

Comment 5 Fedora Admin user for bugzilla script actions 2024-10-30 02:37:32 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 6 Fedora Update System 2024-10-31 09:39:42 UTC
FEDORA-2024-933c67e3c7 (python-testscenarios-0.5.0-42.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-933c67e3c7

Comment 7 Fedora Update System 2024-10-31 09:42:30 UTC
FEDORA-2024-933c67e3c7 (python-testscenarios-0.5.0-42.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.