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

Add Django 5.0 #1289

Merged
merged 2 commits into from
Feb 17, 2024
Merged

Add Django 5.0 #1289

merged 2 commits into from
Feb 17, 2024

Conversation

tim-schilling
Copy link
Contributor

Update the supported versions of Django.

Description

Adds support for 5.0
Drops support for 4.1

Related Issue

Fixes #1283

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have run the pre-commit run command to format and lint.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have added my name and/or github handle to AUTHORS.rst
  • I have added my change to CHANGES.rst
  • All new and existing tests passed.

Copy link

codecov bot commented Dec 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f48b53d) 96.87% compared to head (607cdcc) 96.87%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1289   +/-   ##
=======================================
  Coverage   96.87%   96.87%           
=======================================
  Files          23       23           
  Lines        1278     1278           
  Branches      211      211           
=======================================
  Hits         1238     1238           
  Misses         21       21           
  Partials       19       19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

thesayfulla
thesayfulla previously approved these changes Dec 24, 2023
Copy link
Member

@thesayfulla thesayfulla left a comment

Choose a reason for hiding this comment

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

LGTM

jonatkinson
jonatkinson previously approved these changes Jan 26, 2024
tim-schilling and others added 2 commits February 17, 2024 00:43
Drop Django 4.1

Fixes jazzband#1283
3.13 can't be tested with postgres, as `psycopg2-binary` doesn't
currently support 3.13 - see e.g.
https://github.com/ddabble/django-simple-history/actions/runs/7937535510/job/21674900984.
I still think it's better to add early support of 3.13 and temporarily
test without postgres, since all the other packages (and our code)
currently work with 3.13.

Also bumped the Python version in `.readthedocs.yaml` to 3.12, as it's
the latest, stable version available.

Also removed the recently dropped Django 4.1 from `setup.py` and
`tox.ini`, and added Django 5.0 to `setup.py`.
Copy link
Member

@ddabble ddabble left a comment

Choose a reason for hiding this comment

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

Looks good! Didn't find any additional changes to be made (as mentioned in this comment) :)

I also added early support of Python 3.13, even though it doesn't yet work with psycopg2-binary.

Thank you 😊

@ddabble
Copy link
Member

ddabble commented Feb 17, 2024

Also thank you, @thesayfulla and @jonatkinson for reviewing! 🙂

@ddabble ddabble merged commit c37a53d into jazzband:master Feb 17, 2024
22 checks passed
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.

Django 5.0 support
4 participants