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

drop support for python 3.7 which EOL'd in 2023 #3744

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
strategy:
matrix:
py:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Bug Fixes
Backward Incompatibilities
--------------------------

- Drop support for Python 3.6.
- Drop support for Python 3.6 and 3.7.

- Requests to a static_view are no longer allowed to contain a null-byte in any
part of the path segment.
Expand Down
2 changes: 1 addition & 1 deletion HACKING.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ In order to add a feature to Pyramid:
- The feature must be documented in both the API and narrative documentation
(in `docs/`).

- The feature must work fully on the following CPython versions: 3.7, 3.8, 3.9,
- The feature must work fully on the following CPython versions: 3.8, 3.9,
3.10, 3.11, and 3.12 on both UNIX and Windows.

- The feature must work on the latest version of PyPy3.
Expand Down
7 changes: 3 additions & 4 deletions docs/narr/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Installing :app:`Pyramid`

.. note::

This installation guide emphasizes the use of Python 3.7 and greater for
This installation guide emphasizes the use of Python 3.8 and greater for
simplicity.


Expand All @@ -15,14 +15,13 @@ Installing :app:`Pyramid`
Before You Install Pyramid
--------------------------

Install Python version 3.7 or greater for your operating system, and satisfy
Install Python version 3.8 or greater for your operating system, and satisfy
the :ref:`requirements-for-installing-packages`, as described in
the following sections.

.. sidebar:: Python Versions

As of this writing, :app:`Pyramid` is tested against Python 3.7,
3.8, 3.9, 3.10, 3.11, 3.12 and PyPy (matches CPython version 3.8).
As of this writing, :app:`Pyramid` is tested against Python 3.8, 3.9, 3.10, 3.11, 3.12 and PyPy (matches CPython version 3.8).

:app:`Pyramid` is known to run on all popular Unix-like systems such as Linux,
macOS, and FreeBSD, as well as on Windows platforms. It is also known to
Expand Down
1 change: 0 additions & 1 deletion docs/narr/upgrading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ At the time of a Pyramid version release, each supports all versions of Python
through the end of their lifespans. The end-of-life for a given version of
Python is when security updates are no longer released.

- `Python 3.7 Lifespan <https://devguide.python.org/versions/#versions>`_ 2023-06-27.
- `Python 3.8 Lifespan <https://devguide.python.org/versions/#versions>`_ 2024-10.
- `Python 3.9 Lifespan <https://devguide.python.org/versions/#versions>`_ 2025-10.
- `Python 3.10 Lifespan <https://devguide.python.org/versions/#versions>`_ 2026-10.
Expand Down
4 changes: 2 additions & 2 deletions docs/quick_tutorial/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ virtual environment.)

This *Quick Tutorial* is based on:

* **Python 3.8**. Pyramid fully supports Python 3.7+.
This tutorial uses **Python 3.8**.
* **Python 3.8**. Pyramid fully supports Python 3.8+.
This tutorial has been tested with **Python 3.8**.

* **venv**. We believe in virtual environments.
For this tutorial, we use Python 3's built-in solution :term:`venv`.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[tool.black]
line-length = 79
skip-string-normalization = true
target-version = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312']
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
exclude = '''
/(
\.git
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def readfile(name):
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -101,7 +100,7 @@ def readfile(name):
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
python_requires='>=3.7',
python_requires='>=3.8',
install_requires=install_requires,
extras_require={'testing': testing_extras, 'docs': docs_extras},
tests_require=tests_require,
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
lint,
py37,py38,py39,py310,py311,py312,pypy3,
py38,py39,py310,py311,py312,pypy3,
py312-cover,coverage,
docs

Expand Down