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

Commit

Permalink
Merge pull request #52 from pytest-dev/graingert-patch-1
Browse files Browse the repository at this point in the history
Add deprecation notice Fixes #50
  • Loading branch information
jaraco committed Oct 26, 2019
2 parents 8437c7f + bb31ece commit cd4ea07
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@
Setup scripts can use pytest-runner to add setup.py test support for pytest
runner.

Deprecation Notice
==================

pytest-runner depends on deprecated features of setuptools and relies on features that break security
mechanisms in pip. For example 'setup_requires' and 'tests_require' bypass ``pip --require-hashes``.
See also https://github.com/pypa/setuptools/issues/1684.

It is recommended that you:

- Remove 'pytest-runner' from your 'setup_requires', preferably removing the `setup_requires` option.
- Remove 'pytest' and any other testing requirements from 'tests_require', preferably removing the `setup_requires` option.
- Select a tool to bootstrap and then run tests such as tox

Usage
=====

Expand Down

0 comments on commit cd4ea07

Please sign in to comment.