Skip to content

Add support for Python 3.11, drop EOL 3.6#51

Merged
lovelydinosaur merged 7 commits intoKludex:masterfrom
hugovk:add-3.11
Nov 3, 2022
Merged

Add support for Python 3.11, drop EOL 3.6#51
lovelydinosaur merged 7 commits intoKludex:masterfrom
hugovk:add-3.11

Conversation

@hugovk
Copy link
Copy Markdown
Contributor

@hugovk hugovk commented Nov 3, 2022

Follow on from #42, 2022 edition.

Python 3.11 was released on 2022-10-24 🚀

image

Python 3.6 is EOL since last year, and little used.

Here's the pip installs for python-multipart from PyPI for October 2022:

category percent downloads
3.7 31.66% 1,087,231
3.8 25.65% 880,742
3.10 14.68% 503,995
3.9 13.69% 470,078
null 13.22% 453,880
3.6 0.71% 24,449
3.11 0.40% 13,579
2.7 0.01% 336
3.5 0.00% 37
3.12 0.00% 11
3.4 0.00% 10
3.3 0.00% 3
Total 3,434,351

Source: pip install -U pypistats && pypistats python_minor python-multipart --last-month

Also:

  • Add python_requires to help pip
  • Replace deprecated unittest.makeSuite with unittest.defaultTestLoader.loadTestsFromTestCase (using pyupgrade)

@hugovk hugovk deleted the add-3.11 branch November 3, 2022 13:34
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.

3 participants