tkem / cachetools

Extensible memoizing collections and decorators
MIT License
2.34k stars 163 forks source link

Add support for Python 3.12 #280

Closed hugovk closed 1 year ago

hugovk commented 1 year ago

The Python 3.12 release candidate is out! :rocket:

Call to action

We strongly encourage maintainers of third-party Python projects to prepare their projects for 3.12 compatibilities during this phase, and where necessary publish Python 3.12 wheels on PyPI to be ready for the final release of 3.12.0.

See also https://dev.to/hugovk/help-test-python-312-beta-1508/

~Also drop support for EOL Python 3.7: https://devguide.python.org/versions/~

codecov-commenter commented 1 year ago

Codecov Report

Merging #280 (0fc936c) into master (8b56caa) will not change coverage. The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff            @@
##            master      #280   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          666       666           
=========================================
  Hits           666       666           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

tkem commented 1 year ago

Thanks! Highly appreciated, except I wouldn't drop Python 3.7 support right now, even though it's EOL. I still have to support some Debian 10 installations where Python 3.7 is installed, and I currently see no necessity requiring python >= 3.8. But since you broke your PR into sensible commits, I can cherry-pick myself, thank you!

hugovk commented 1 year ago

Sure, I've also dropped the commit from this PR :)