Skip to content

Conversation

@musicinmybrain
Copy link

Removes pytest-runner from setup_requires, and remove test_requires, which is deprecated and only useful with setup.py test.

The pytest-runner package has been deprecated upstream for some time, and the project is now archived:
https://github.com/pytest-dev/pytest-runner/tree/v6.0.1?tab=readme-ov-file#deprecation-notice

Furthermore, the "setup.py test" command was removed in setuptools 72: https://github.com/pypa/setuptools/blob/v75.8.0/NEWS.rst#v7200

This does not affect running the tests with pytest or tox.

Fixes #344.

Checklist

General Contributing

  • Have you read the Code of Conduct and signed the CLA?

Is This a Code Change?

  • Non-code related change (markdown/git settings etc)
  • Code Change
  • Example/Test Code Change

Validation

  • Have you ran tox?
  • Do the tests pass?

@alyx-db
Copy link

alyx-db commented Sep 25, 2025

Hi @musicinmybrain

Thanks for your contribution, I'll ask the team to review this.

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

Successfully merging this pull request may close these issues.

pytest-runner deprecated

2 participants