Skip to content

Conversation

@benoitc
Copy link
Owner

@benoitc benoitc commented Oct 5, 2025

Summary

This PR updates Gunicorn to support only the latest (N) and previous (N-1) Python versions, as requested.

Changes

  • Update CI workflows to test only Python 3.12 and 3.13
  • Remove support for Python versions 3.7 through 3.11
  • Update project metadata to require Python >= 3.12
  • Update documentation to reflect new Python requirements
  • Clean up CI configurations (GitHub Actions, AppVeyor, tox)

Rationale

Supporting only N and N-1 Python versions:

  • Reduces CI complexity and build times
  • Allows use of modern Python features
  • Ensures security updates are available
  • Simplifies maintenance burden

- Update GitHub Actions workflows to test only Python 3.12 and 3.13
- Update pyproject.toml to require Python >= 3.12
- Update tox.ini to test only py312 and py313
- Update documentation to reflect Python 3.12+ requirement
- Clean up AppVeyor configuration for Python 3.12
@benoitc benoitc force-pushed the update-python-versions branch from 3e0c1c5 to 9544e48 Compare October 5, 2025 17:32
@benoitc benoitc merged commit 1dc4ce9 into master Oct 5, 2025
20 checks passed
@vanschelven
Copy link
Contributor

@benoitc benoitc mentioned this pull request Oct 5, 2025
3 tasks
run: |
# this will update docs/source/settings.rst - but will not create html output
(cd docs && sphinx-build -b "dummy" -d _build/doctrees source "_build/dummy")
git update-index --assume-unchanged docs/source/settings.rst
Copy link
Contributor

Choose a reason for hiding this comment

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

Huh? That was the primary goal of having CI regenerate docs. So that introducing deviations between code & documentation is pointed out in pull requests. If the default is no longer OS-independent, then the docs should say so.

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.

4 participants