Skip to content

Conversation

@tim-schilling
Copy link
Member

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.

@codecov
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.

@tim-schilling tim-schilling mentioned this pull request Dec 22, 2023
11 tasks
thesayfulla
thesayfulla previously approved these changes Dec 24, 2023
Copy link

@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 #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`.
@ddabble ddabble dismissed stale reviews from jonatkinson and thesayfulla via 607cdcc February 17, 2024 02:30
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 django-commons:master Feb 17, 2024
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