X Tutup
Skip to content

Use backports.functools_lru_cache instead of functools32#7871

Merged
NelleV merged 1 commit intomatplotlib:masterfrom
felixonmars:backports.functools_lru_cache
Feb 16, 2017
Merged

Use backports.functools_lru_cache instead of functools32#7871
NelleV merged 1 commit intomatplotlib:masterfrom
felixonmars:backports.functools_lru_cache

Conversation

@felixonmars
Copy link
Copy Markdown
Contributor

It's better maintained and more widely used (by pylint, jaraco, etc).

@QuLogic QuLogic requested a review from mdboom January 19, 2017 21:59
@tacaswell tacaswell added this to the 2.1 (next point release) milestone Jan 20, 2017
@tacaswell
Copy link
Copy Markdown
Member

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.

@felixonmars
Copy link
Copy Markdown
Contributor Author

I guess the havoc would be limited, since most distros have pylint packaged, they will have backports.functools_lru_cache already :)

@anntzer
Copy link
Copy Markdown
Contributor

anntzer commented Jan 23, 2017

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.

@HolgerPeters
Copy link
Copy Markdown
Contributor

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.

@NelleV
Copy link
Copy Markdown
Member

NelleV commented Jan 25, 2017

I am fine either way. @tacaswell I think you should be the one making the decision on this change, as you are the maintainer 😈

@tacaswell
Copy link
Copy Markdown
Member

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?

Copy link
Copy Markdown
Member

@tacaswell tacaswell left a 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).
@felixonmars felixonmars force-pushed the backports.functools_lru_cache branch from bf9d9a9 to 460e19d Compare January 31, 2017 00:57
@felixonmars
Copy link
Copy Markdown
Contributor Author

API changes file added :)

@felixonmars
Copy link
Copy Markdown
Contributor Author

Hrm, the test failure looks irrelevant.

@NelleV NelleV merged commit 4cfbb2f into matplotlib:master Feb 16, 2017
@NelleV
Copy link
Copy Markdown
Member

NelleV commented Feb 16, 2017

Thanks @felixonmars !

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.

5 participants

X Tutup