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

Use built-in functools.cached_property in py3.8+ #1066

Closed
wants to merge 2 commits into from

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Mar 6, 2021

Python 3.8+ supplies the cached-property functionality in functools
module, so use that instead of pulling in the backport package whenever
possible.

Python 3.8+ supplies the cached-property functionality in functools
module, so use that instead of pulling in the backport package whenever
possible.
The generated requires.txt file does not necessarily conform
to the syntax expected by pip's '-r' option.  Let pip install the whole
package instead to handle dependencies cleanly.
@jdavid
Copy link
Member

jdavid commented Mar 7, 2021

Thanks @mgorny , I've picked the first commit, but implemented a different solution for the second commit.

@jdavid jdavid closed this Mar 7, 2021
@mgorny
Copy link
Contributor Author

mgorny commented Mar 7, 2021

Thanks!

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.

None yet

2 participants