stone icon indicating copy to clipboard operation
stone copied to clipboard

Remove pytest-runner / setup.py test support

Open musicinmybrain opened this issue 3 months ago • 1 comments

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

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

Is This a Code Change?

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

Validation

  • [x] Have you ran tox?
  • [x] Do the tests pass?

musicinmybrain avatar Sep 23 '25 11:09 musicinmybrain

Hi @musicinmybrain

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

alyx-db avatar Sep 25 '25 00:09 alyx-db