Bug 2319709 - python-pytest-runner fails to build with setuptools 74+
Summary: python-pytest-runner fails to build with setuptools 74+
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pytest-runner
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F42FTBFS PYTHON3.14 SETUPTOOLS74
TreeView+ depends on / blocked
 
Reported: 2024-10-18 10:13 UTC by Miro Hrončok
Modified: 2024-12-23 23:59 UTC (History)
5 users (show)

Fixed In Version: python-pytest-runner-4.0-25.fc42
Clone Of:
Environment:
Last Closed: 2024-12-23 23:59:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2024-10-18 10:13:34 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-pytest-runner/

While it succeeded with setuptools 69.2.0 and wheel 0.43 in

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

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 Diego Herrera 2024-11-08 13:22:41 UTC
Tried to update the package to 6.0.1 and noticed some dependencies are missing

   No match for argument: python3dist(pytest-black) >= 0.3.7
   No match for argument: python3dist(pytest-checkdocs) >= 2.4
   No match for argument: python3dist(pytest-enabler) >= 1.0.1
   No match for argument: python3dist(pytest-flake8)
   No match for argument: python3dist(pytest-mypy) >= 0.9.1
   No match for argument: python3dist(pytest-virtualenv)

Comment 3 Miro Hrončok 2024-11-14 11:57:39 UTC
As per https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ I am now asking the maintainer to respond.

Comment 4 Miro Hrončok 2024-12-05 14:13:12 UTC
This is a bulk response.

In line with step 4 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs I am asking for a response.

Thanks.

Comment 5 Michel Lind 2024-12-23 23:37:00 UTC
This is marked as deprecated upstream - and has been for a while - so probably not worth updating anyway

I'll send a deprecation notice to the mailing list and tell people to start migrating away from it

The test suite ... *never worked with `python setup.py test` before* - it just ran 0 tests - and the only test available needs pytest-virtualenv which we don't have at all, and requires downloading content from the Internet.

(In reply to Diego Herrera from comment #2)
> Tried to update the package to 6.0.1 and noticed some dependencies are
> missing
> 
>    No match for argument: python3dist(pytest-black) >= 0.3.7
>    No match for argument: python3dist(pytest-checkdocs) >= 2.4
>    No match for argument: python3dist(pytest-enabler) >= 1.0.1
>    No match for argument: python3dist(pytest-flake8)
>    No match for argument: python3dist(pytest-mypy) >= 0.9.1
>    No match for argument: python3dist(pytest-virtualenv)


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