-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Use backports.functools_lru_cache instead of functools32 #7871
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 backports.functools_lru_cache instead of functools32 #7871
Conversation
I am mixed on this. A bit worried that changing the deps is going to just cause havoc for down-stream packagers as this is a new for 2.0 dependency, but sympathetic to using a more widely used / better maintained backport. |
I guess the havoc would be limited, since most distros have pylint packaged, they will have backports.functools_lru_cache already :) |
Apparently pylint only started depending on backports.functools_lru_cache recently (pylint-dev/pylint@02f6823). For example, a quick search on pkgs.org suggests that none of CentOS, Debian Jessie, Mageia and Ubuntu (in their latest versions) provide that package right now. |
Not a linux distributor, but I bundle packages nonetheless and https://pypi.python.org/pypi/backports.functools_lru_cache seems to be a more mature package on a quick glance. |
I am fine either way. @tacaswell I think you should be the one making the decision on this change, as you are the maintainer 😈 |
I am 👍 on this for 2.1. Can you also put a file in https://github.com/matplotlib/matplotlib/tree/master/doc/api/api_changes with basically the first message from this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modulo and api_changes entry.
It's better maintained and more widely used (by pylint, jaraco, etc).
bf9d9a9
to
460e19d
Compare
API changes file added :) |
Hrm, the test failure looks irrelevant. |
Thanks @felixonmars ! |
It's better maintained and more widely used (by pylint, jaraco, etc).