Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove py.test* commands as entry points #1632

Closed
davehunt opened this issue Jun 21, 2016 · 3 comments
Closed

Remove py.test* commands as entry points #1632

davehunt opened this issue Jun 21, 2016 · 3 comments

Comments

@davehunt
Copy link
Contributor

For historical reasons we have py.test as a valid entry point. We also have entry points for pytest-jython, py.test-pypy*, and py.test-X.X, which were introduced before the convenience of virtual environments for managing multiple environments.

Explanation of py.test vs pytest from FAQ:

Some of the reasons are historic, others are practical. pytest used to be part of the py package which provided several developer utilities, all starting with py.<TAB>, thus providing nice TAB-completion. If you install pip install pycmd you get these tools from a separate package. These days the command line tool could be called pytest but since many people have gotten used to the old name and there is another tool named “pytest” we just decided to stick with py.test for now.

We will be introducing pytest as the recommended command entry point in #1629, which is expected to be included in pytest 3.0. Once we have lived with this for some time (until 3.1?) we should deprecate or remove the various py.test entry points.

@davehunt davehunt changed the title Remove py.test* commands as entry points Remove py.test* commands as entry points Jun 21, 2016
@nicoddemus
Copy link
Member

Actually I'm not sure if we should remove py.test commands anytime soon, but of course I'm in favor of adding pytest entry points. 😁

@RonnyPfannschmidt
Copy link
Member

i think we should remove all entrypoints that are not pytest and py.test

nicoddemus added a commit that referenced this issue Jun 26, 2016
@nicoddemus
Copy link
Member

Fixed in #1662

cclauss added a commit to cclauss/pretend that referenced this issue Jun 21, 2024
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

No branches or pull requests

3 participants