Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate packages away from "python setup.py test" #331159

Open
mweinelt opened this issue Jul 30, 2024 · 3 comments
Open

Migrate packages away from "python setup.py test" #331159

mweinelt opened this issue Jul 30, 2024 · 3 comments
Labels
0.kind: bug 3.skill: sprintable 5. scope: tracking Long-lived issue tracking long-term fixes or multiple sub-problems 6.topic: python

Comments

@mweinelt
Copy link
Member

mweinelt commented Jul 30, 2024

The latest setuptools release has removed support for running tests through python setup.py test. Packages that explicitly call that command will start failing after #331098.

Check how upstream runs tests in 2024, ideally you can migrate to pytestCheckHook or unittestCheckHook instead.

This change is scheduled for the next staging cycle, which I estimate to start in the next ten days..

@mweinelt
Copy link
Member Author

mweinelt commented Aug 2, 2024

And some more that call python nix_run_setup test:

@SuperSandro2000
Copy link
Member

Reviewed and merged all the linked PRs

@devurandom
Copy link
Contributor

Is this a continuation of the following issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 3.skill: sprintable 5. scope: tracking Long-lived issue tracking long-term fixes or multiple sub-problems 6.topic: python
Projects
None yet
Development

No branches or pull requests

6 participants