-
Notifications
You must be signed in to change notification settings - Fork 119
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
Add python 3.13 support, drop 3.7 and 3.8 #790
base: trunk
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## trunk #790 +/- ##
==========================================
- Coverage 99.08% 99.03% -0.05%
==========================================
Files 48 48
Lines 4045 4045
Branches 545 545
==========================================
- Hits 4008 4006 -2
- Misses 23 24 +1
- Partials 14 15 +1 ☔ View full report in Codecov by Sentry. |
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.
Thanks for the update.
Only minor comments.
as a separate PR...maybe we can also run the klein test using twisted/twisted:trunk
branch
@@ -193,27 +193,26 @@ jobs: | |||
strategy: | |||
matrix: | |||
os: ["ubuntu-latest"] | |||
python-version: ["3.7", "3.9", "3.10", "3.11"] | |||
python-version: ["3.9", "3.10", "3.11"] | |||
twisted-version: ["21.2", "22.1", "23.8"] |
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.
Maybe this also should be updated...
and add a comment to describe what rule do we use to define the targeted twisted versions ...
twisted-version: ["21.2", "22.1", "23.8"] | |
# We have the oldest Twisted version that we support. | |
# We also add the last 2 newer versions. | |
twisted-version: ["21.2", "24.7", "24.10"] |
twisted-version: "23.8" | ||
tox-prefix: "test" | ||
optional: false | ||
# Test Python 3.12 but allow it to fail | ||
- os: "ubuntu-latest" |
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.
I think that a comment describing this job can help with future updates of these values.
- os: "ubuntu-latest" | |
# Test latest supported Python | |
# and latest Twisted release. | |
- os: "ubuntu-latest" |
Since this didn't require any code changes, no release is required, but this at least ensures 3.13 will keep working going forward.
I also dropped 3.7 and 3.8, as they are no longer received security updates.