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

Update CI to test against supported Django/Python versions #41

Merged
merged 4 commits into from
Apr 21, 2024

Conversation

philipstarkey
Copy link
Contributor

Changes

  • Drops support for Python 3.6 and 3.7 which are end-of-life.
  • Drops support for Django < 4.2 which are end-of-life.
  • Drops support for PyPy which don't appear to be compatible with modern Django's type annotations (see this failed run)
  • Adds support for Python 3.10, 3.11, and 3.12
  • Adds support for Django 4.2 and 5.0
  • Updates the linting CI task to run on the most recent Python (as Python 3.6 is no longer available on GitHub actions)
  • Updates the tox config so that it works with the latest tox. This required removing the patch for moving the tox working directory to the home directory, as the {homedir} substitution was removed without replacement in tox v4. However, the new package=editable option appears to perform an editable install without copying any files at all, which should negate the original reason for moving the tox directories in the first place. package=editable is also now recommended over usedevelop=true in the tox documentation.
  • Removes the requires.io badge as the domain is now for sale.

Passing test run can be found here.

@FlipperPA
Copy link
Collaborator

Wow, thank you, @philipstarkey - this is long overdue and much appreciated. I'm recovering for an illness but will hopefully get to this within the next few days.

@FlipperPA FlipperPA merged commit 47262ce into GaretJax:master Apr 21, 2024
9 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.

2 participants