Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit cd4ea07

Browse files
authored
Merge pull request #52 from pytest-dev/graingert-patch-1
Add deprecation notice Fixes #50
2 parents 8437c7f + bb31ece commit cd4ea07

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@
1919
Setup scripts can use pytest-runner to add setup.py test support for pytest
2020
runner.
2121

22+
Deprecation Notice
23+
==================
24+
25+
pytest-runner depends on deprecated features of setuptools and relies on features that break security
26+
mechanisms in pip. For example 'setup_requires' and 'tests_require' bypass ``pip --require-hashes``.
27+
See also https://github.com/pypa/setuptools/issues/1684.
28+
29+
It is recommended that you:
30+
31+
- Remove 'pytest-runner' from your 'setup_requires', preferably removing the `setup_requires` option.
32+
- Remove 'pytest' and any other testing requirements from 'tests_require', preferably removing the `setup_requires` option.
33+
- Select a tool to bootstrap and then run tests such as tox
34+
2235
Usage
2336
=====
2437

0 commit comments

Comments
 (0)