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

Test on Python 3.12 and Django 5.0 #248

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

adamchainz
Copy link
Contributor

@adamchainz adamchainz commented Oct 26, 2023

Based on the changes made in #235.

Comment on lines +12 to +17
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Splitting one per line reduces future diff noise when adding/removing versions

@@ -22,7 +22,7 @@ docs:
test:
@flake8
@isort --check-only --diff formtools tests
@ coverage run `which django-admin` test tests
@ python -W error::DeprecationWarning -W error::PendingDeprecationWarning -m coverage run `which django-admin` test tests
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use this pattern on all my projects to expose all warnings - even those from coverage or Django.

@@ -1,3 +1,3 @@
coverage==4.5.4
coverage==7.3.2
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrade needed for 3.12 compatibility

@@ -1,9 +1,10 @@
[tox]
args_are_paths = false
envlist =
py{37,38,39,310,311}-django32
py{38,39,310,311}-django32
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dropping 37 missed in 1d19b68

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

Merging #248 (80bebe0) into master (62d2274) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #248   +/-   ##
=======================================
  Coverage   93.83%   93.83%           
=======================================
  Files          11       11           
  Lines         535      535           
  Branches       68       87   +19     
=======================================
  Hits          502      502           
  Misses         21       21           
  Partials       12       12           

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

Copy link
Contributor

@claudep claudep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! It always help to have an Adam in your pocket!

@claudep claudep merged commit 331b406 into jazzband:master Oct 26, 2023
7 of 8 checks passed
@adamchainz adamchainz deleted the django_5.0 branch October 26, 2023 22:46
@adamchainz
Copy link
Contributor Author

Woops, looks like Python 3.11 is actually broken. I'll take a look into this tomorrow.

@claudep
Copy link
Contributor

claudep commented Oct 27, 2023

Ah yes, I initially thought it was a CI issue, but then realized that Python 3.11 run is also launching 3.2 and 4.0 tests, and it shouldn't.

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.

2 participants