Bug 2403561 - pytest: Fails to build with setuptools 80.9.0 [fix available upstream in 8.4.0]
Summary: pytest: Fails to build with setuptools 80.9.0 [fix available upstream in 8.4.0]
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pytest
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2362565
TreeView+ depends on / blocked
 
Reported: 2025-10-13 15:41 UTC by Miro Hrončok
Modified: 2025-10-14 13:23 UTC (History)
5 users (show)

Fixed In Version: pytest-8.3.5-10.fc44
Clone Of:
Environment:
Last Closed: 2025-10-14 13:23:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources pytest pull-request 68 0 None None None 2025-10-14 12:00:16 UTC

Description Miro Hrončok 2025-10-13 15:41:33 UTC
Dear package maintainer,

We want to update python-setuptools to 80.9.0 or newer.

However, your package fails to build with it, in our testing Copr:

https://copr.fedorainfracloud.org/coprs/churchyard/setuptools-80.9.0/package/pytest

To reproduce, try to build your package in mock with:

 $ fedpkg --release rawhide mockbuild -N -- --addrepo=https://download.copr.fedorainfracloud.org/results/churchyard/setuptools-80.9.0/fedora-rawhide-x86_64

As the number of failures is rather high, I have not yet tried to look into the details about each individual failure.
When you do, please feel free to post relevant part of the logs as comments.

Thank you. Let me know if you need help.

Comment 1 Miro Hrončok 2025-10-13 15:42:58 UTC
E   UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.

https://github.com/pytest-dev/pytest/pull/13444 has the fix; we could backport that or upgrade pytest to 8.4.0

Comment 2 Miro Hrončok 2025-10-14 13:23:14 UTC
Closed via https://bodhi.fedoraproject.org/updates/FEDORA-2025-0f2db2b553 -- I had a typo in "rhbz" so the update did not close this.


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