Skip to content

Commit c0f794a

Browse files
Merge pull request #245 from bluetech/rm-py37
Remove support for Python 3.7, add official support for Python 3.12
2 parents 12f8fbf + 1627d74 commit c0f794a

File tree

7 files changed

+14
-11
lines changed

7 files changed

+14
-11
lines changed

.github/workflows/test.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
os: [ windows-latest, ubuntu-latest ]
37-
python: [ "3.7","3.8","3.10","3.11", "pypy-3.7" ]
37+
python: [ "3.8","3.10","3.11","3.12", "pypy-3.8" ]
3838

3939
steps:
4040
- uses: actions/checkout@v4
@@ -53,9 +53,7 @@ jobs:
5353
python-version: ${{ matrix.python }}
5454

5555
- name: Install tox
56-
run: |
57-
python -m pip install --upgrade pip
58-
pip install tox
56+
run: pip install tox
5957

6058
- name: Test
6159
shell: bash

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
rev: v3.15.1
1919
hooks:
2020
- id: pyupgrade
21-
args: [--py37-plus]
21+
args: [--py38-plus]
2222
- repo: https://github.com/astral-sh/ruff-pre-commit
2323
rev: v0.2.2
2424
hooks:

CHANGELOG.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2.1.0 (UNRELEASED)
2+
3+
* Removed support for Python 3.7.
4+
* Added official support for Python 3.12.
5+
16
2.0.2 (2023-07-09)
27
------------------
38

doc/install.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Info in a nutshell
22
====================
33

4-
**Pythons**: 3.7+, PyPy 3
4+
**Pythons**: 3.8+, PyPy 3
55

66
**Operating systems**: Linux, Windows, OSX, Unix
77

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dynamic = ["version"]
1111
description = "execnet: rapid multi-Python deployment"
1212
readme = {"file" = "README.rst", "content-type" = "text/x-rst"}
1313
license = "MIT"
14-
requires-python = ">=3.7"
14+
requires-python = ">=3.8"
1515
authors = [
1616
{ name = "holger krekel and others" },
1717
]
@@ -22,11 +22,11 @@ classifiers = [
2222
"Operating System :: MacOS :: MacOS X",
2323
"Operating System :: Microsoft :: Windows",
2424
"Operating System :: POSIX",
25-
"Programming Language :: Python :: 3.7",
2625
"Programming Language :: Python :: 3.8",
2726
"Programming Language :: Python :: 3.9",
2827
"Programming Language :: Python :: 3.10",
2928
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
3030
"Programming Language :: Python :: Implementation :: CPython",
3131
"Programming Language :: Python :: Implementation :: PyPy",
3232
"Topic :: Software Development :: Libraries",
@@ -68,4 +68,4 @@ include = [
6868
]
6969

7070
[tool.mypy]
71-
python_version = "3.7"
71+
python_version = "3.8"

testing/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def pytest_generate_tests(metafunc):
109109
metafunc.parametrize("gw", gwtypes, indirect=True)
110110

111111

112-
@lru_cache()
112+
@lru_cache
113113
def getexecutable(name):
114114
if name == "sys.executable":
115115
return sys.executable

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=py{37,38,39,310,311,pypy37},docs,linting
2+
envlist=py{38,39,310,311,312,pypy38},docs,linting
33
isolated_build = true
44

55
[testenv]

0 commit comments

Comments
 (0)