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

Move backports from extra_requires to install_requires #620

Merged
merged 3 commits into from
Jul 30, 2019
Merged

Move backports from extra_requires to install_requires #620

merged 3 commits into from
Jul 30, 2019

Conversation

jadchaar
Copy link
Member

@jadchaar jadchaar commented Jul 29, 2019

This is now the official method for conditionally requiring python versions as documented here: https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-platform-specific-dependencies. Pytest does the same here: https://github.com/pytest-dev/pytest/blob/master/setup.py#L11.

Addresses: #495

@jadchaar jadchaar changed the title Add backports to install_requires Move backports from extra_requires to install_requires Jul 29, 2019
setup.py Outdated
extras_require={":python_version=='2.7'": ["backports.functools_lru_cache>=1.2.1"]},
install_requires=[
"python-dateutil",
"backports.functools_lru_cache;python_version=='2.7'",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it ok that we've removed the >=1.2.1 requirement here? Now it could install an older version.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I locked it to >=1.2.1 just in case :)

@jadchaar
Copy link
Member Author

Ready for re-review @systemcatch.

@codecov-io
Copy link

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #620   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           8      8           
  Lines        1513   1513           
  Branches      228    228           
=====================================
  Hits         1513   1513

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 de94469...1846378. Read the comment docs.

@systemcatch systemcatch merged commit 4d65575 into arrow-py:master Jul 30, 2019
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

Successfully merging this pull request may close these issues.

3 participants