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

setup.py test is going to be deprecated #50

Closed
graingert opened this issue Jul 3, 2019 · 5 comments
Closed

setup.py test is going to be deprecated #50

graingert opened this issue Jul 3, 2019 · 5 comments

Comments

@graingert
Copy link
Member

graingert commented Jul 3, 2019

from pytest-dev/pytest#5534

this project also relies on setuptools options that are now considered 'smells':

    setup_requires=[
        'pytest-runner',
    ],
    tests_require=[
        'pytest',
    ],
@graingert
Copy link
Member Author

It may be worth considering what pytest-runner's place is in a PEP517/PEP518 world

@graingert
Copy link
Member Author

pytest no longer recommends pytest-runner. Is it a good idea to mark it for deprecation here?

@jaraco
Copy link
Contributor

jaraco commented Jul 5, 2019

Yes, probably. I think I'd wait to officially deprecate this project until setuptools has officially deprecated the test command, but I'm also open to more information sooner. Would you be willing to draft the change?

@monokrome
Copy link

monokrome commented Aug 16, 2019

@graingert For those who have found this through pytest-runner, what is the new recommendation? Just running py.test?

@merwok
Copy link

merwok commented Aug 16, 2019

Yes, run pytest directly, and/or from tox to get isolation, multiple Python versions, etc.

@jaraco jaraco closed this as completed in 78a492c Oct 26, 2019
jaraco added a commit that referenced this issue Oct 26, 2019
jaraco added a commit that referenced this issue May 19, 2021
* Added a config for dependabot.

* Update features list for dependabot.

Co-authored-by: KOLANICH <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants