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

Use python_requires in setup.py to avoid installing in unsupported versions #2922

Closed
nicoddemus opened this issue Nov 13, 2017 · 0 comments
Closed
Labels
type: feature-branch new feature or API change, should be merged into features branch type: infrastructure improvement to development/releases/CI structure

Comments

@nicoddemus
Copy link
Member

We should use the python_requires keyword argument to setup.py so pip won't install pytest in unsupported versions.

For example, here's hypothesis setup.py:

    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',

This is probably worth doing only for the next release (3.3).

@nicoddemus nicoddemus added type: feature-branch new feature or API change, should be merged into features branch type: infrastructure improvement to development/releases/CI structure labels Nov 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature-branch new feature or API change, should be merged into features branch type: infrastructure improvement to development/releases/CI structure
Projects
None yet
Development

No branches or pull requests

1 participant