Skip to content

Conversation

@benoitc
Copy link
Owner

@benoitc benoitc commented Oct 5, 2025

Summary

  • Extends Python version support back to 3.10 and 3.11
  • Maintains compatibility with Python 3.12 and 3.13
  • Re-adds PyPy 3.10 support to CI matrix

Motivation

The recent change to require Python 3.12+ (PR #3422) was too restrictive. Python 3.10 and 3.11 are still actively maintained by the PSF:

  • Python 3.10: Security support until October 2026
  • Python 3.11: Active support with latest features
  • Python 3.12: Active support
  • Python 3.13: Latest stable release

Many production environments are still using Python 3.10 and 3.11, and dropping support prematurely limits gunicorn's usability.

Changes

  • Updated pyproject.toml to set minimum Python version to 3.10
  • Added Python 3.10, 3.11, and PyPy 3.10 back to the CI test matrix
  • Updated all documentation files to reflect Python 3.10+ requirement
  • Updated SECURITY.md to clarify support for PSF-maintained versions

Test plan

  • CI tests should pass for Python 3.10, 3.11, 3.12, and 3.13
  • PyPy 3.10 tests should pass
  • Documentation builds correctly

This change extends Python support back to 3.10 and 3.11, which are
still actively maintained by the PSF:
- Python 3.10: Security support until Oct 2026
- Python 3.11: Active support (latest feature release)
- Python 3.12: Active support
- Python 3.13: Latest stable release

The previous change to support only 3.12+ was too restrictive as many
users are still on Python 3.10 and 3.11 in production environments.

Changes:
- Updated pyproject.toml to set minimum Python to 3.10
- Added Python 3.10, 3.11, and PyPy 3.10 to CI matrix
- Updated all documentation to reflect Python 3.10+ requirement
- Maintained compatibility with latest pylint for Python 3.12+
@benoitc benoitc merged commit 56b5ad8 into master Oct 5, 2025
32 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