Skip to content

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

@nicoddemus

Description

@nicoddemus

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: feature-branchnew feature or API change, should be merged into features branchtype: infrastructureimprovement to development/releases/CI structure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions