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

AttributeError: 'Distribution' object has no attribute 'tests_require'. Did you mean: 'extras_require'? #299

Open
gador opened this issue Aug 19, 2024 · 1 comment
Assignees

Comments

@gador
Copy link

gador commented Aug 19, 2024

When running the test with an up-to-date setuptools(in my case 72.1.0), the test test_command fails with:

AttributeError: 'Distribution' object has no attribute 'tests_require'. Did you mean: 'extras_require'?

It seems, tests_require has been removed.

gador added a commit to gador/nixpkgs that referenced this issue Aug 19, 2024
test_command fails with:
`AttributeError: 'Distribution' object has no attribute 'tests_require'. Did you mean: 'extras_require'?`

Upstream issue has been reported to:
CleanCut/green#299

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
gador added a commit to gador/nixpkgs that referenced this issue Aug 19, 2024
test_command fails with:
`AttributeError: 'Distribution' object has no attribute 'tests_require'. Did you mean: 'extras_require'?`

Upstream issue has been reported to:
CleanCut/green#299

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
@sodul
Copy link
Collaborator

sodul commented Aug 19, 2024

Thanks for the report. It seems we might call other deprecated methods in other places as running make test in the green repo is failing on my machine with setuptools==72.1.0.

@sodul sodul self-assigned this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants