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

Pass python_requires argument to setuptools - [merged] #876

Closed
asottile opened this issue Apr 3, 2021 · 4 comments
Closed

Pass python_requires argument to setuptools - [merged] #876

asottile opened this issue Apr 3, 2021 · 4 comments

Comments

@asottile
Copy link
Member

asottile commented Apr 3, 2021

In GitLab by @jdufresne on Jan 13, 2018, 15:42

Merges pyreq -> master

Helps pip decide what version of the library to install.

https://packaging.python.org/tutorials/distributing-packages/#python-requires

If your project only runs on certain Python versions, setting the
python_requires argument to the appropriate PEP 440 version specifier
string will prevent pip from installing the project on other Python
versions.

https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords

python_requires

A string corresponding to a version specifier (as defined in PEP 440)
for the Python version, used to specify the Requires-Python defined in
PEP 345.

@asottile
Copy link
Member Author

asottile commented Apr 3, 2021

In GitLab by @codecov on Jan 13, 2018, 15:43

Codecov Report

Merging #225 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #225   +/-   ##
=======================================
  Coverage   69.97%   69.97%           
=======================================
  Files          27       27           
  Lines        2348     2348           
  Branches      383      383           
=======================================
  Hits         1643     1643           
  Misses        632      632           
  Partials       73       73

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f834499...f68e719. Read the comment docs.

@asottile
Copy link
Member Author

asottile commented Apr 3, 2021

In GitLab by @sigmavirus24 on Apr 15, 2018, 12:25

merged

@asottile
Copy link
Member Author

asottile commented Apr 3, 2021

In GitLab by @sigmavirus24 on Apr 15, 2018, 12:25

mentioned in commit 4057d3d

@asottile
Copy link
Member Author

asottile commented Apr 3, 2021

In GitLab by @sigmavirus24 on Apr 15, 2018, 12:26

Thanks @jdufresne

@asottile asottile closed this as completed Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant