-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
chore: Add support for Python 3.10, 3.11, 3.12 and drop 3.7 #2147
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2147 +/- ##
==========================================
+ Coverage 78.55% 79.31% +0.76%
==========================================
Files 72 72
Lines 8695 8970 +275
==========================================
+ Hits 6830 7115 +285
+ Misses 1865 1855 -10
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
This is great!!
@@ -66,14 +66,15 @@ def desc(): | |||
"SQLAlchemy<1.5", | |||
"sqlalchemy-utils>=0.32.21, <1", | |||
"WTForms<4", | |||
"werkzeug<3", # Otherwise breaks Flask-Login 0.6.2 |
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.
nice, thank you for adding these "stops" and comments
Description
Add support for actively maintained Python versions and drop support for unmaintained versions.
Among many advantages, this makes it possible to update dependencies to recent versions, that do not have security vulnerabilities, see #2136 .
Includes
ci.yml
.nosetests
tonose2
(a maintained version that supports recent Python versions) and adapt tests and invocation calls accordingly.black
version and format everything with it (needed to work with recentclick
versions.)setup.py
pinflask
andwerkzeug
to lower versions for compatibility.requirements.txt
viapip-compile
.pyodbc
andpython-ldap
versions inrequirements-extra.txt
.requirements-mongodb.txt
to the most recent versions.ADDITIONAL INFORMATION