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

Python2.7 functools_lru_cache above 1.3 not working #526

Closed
wants to merge 3 commits into from

Conversation

wilmardo
Copy link

@wilmardo wilmardo commented Mar 28, 2018

Fixes #495

When using Python 2.7 a not working backports.functools-lru-cache is getting installed. backports.functools-lru-cache above 1.3 gives an import error. This PR pins the required version between 1.2.1 and <1.4 and gets it working for now.

This issue wasn't failing tests because the in the requirements.txt the version is pinned to 1.2.1 but that wasn't the case in setup.py.
Corrected this with the second commit.

This issue seems to have something to do with this issue over at jaraco/backports.functools-lru-cache.
Reopened the issue and waiting for a response but this hotfixes the issue for now 👍

When using Python 2.7 backports.functools-lru-cache is not working from version 1.4 and up
Python2.7 functools_lru_cache above 1.3 not working
@codecov-io
Copy link

codecov-io commented Mar 28, 2018

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #526   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          14     14           
  Lines        3385   3385           
  Branches      235    235           
=====================================
  Hits         3385   3385

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 2c0f644...b43689a. Read the comment docs.

As suggested in arrow-py#495 adds support for Python 2.6 and lower
@wilmardo
Copy link
Author

Updated the PR to add Python <2.7 support as suggested in #495 by @florpor

@jadchaar
Copy link
Member

jadchaar commented May 19, 2019

@wilmardo Is this still occurring for you? Does this issue occur also when running the arrow tests or only when installed and using from PyPI?

@jadchaar
Copy link
Member

Hey Wilmardo, thanks for this PR, but I am going to close it until we have full confirmation of the issue occurring in #495. @systemcatch and I are thinking it could be an issue with <=Python 2.7.15 or an older version of pip, and not arrow.

@jadchaar jadchaar closed this Jul 16, 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.

Broken Python 2.x support in new release 0.11.0
3 participants