Skip to content

Commit fdd2ecf

Browse files
Merge pull request #445 from Pylons/feature/support-py-3-13
Drop Python 3.8 and add Python 3.13
2 parents 4584936 + dcd18e7 commit fdd2ecf

File tree

4 files changed

+20
-24
lines changed

4 files changed

+20
-24
lines changed

.github/workflows/ci-tests.yml

+15-18
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ jobs:
1616
strategy:
1717
matrix:
1818
py:
19-
- "3.8"
2019
- "3.9"
2120
- "3.10"
2221
- "3.11"
2322
- "3.12"
24-
- "pypy-3.8"
23+
- "3.13"
2524
- "pypy-3.9"
2625
- "pypy-3.10"
2726
# Pre-release
@@ -35,8 +34,6 @@ jobs:
3534
- x86
3635
- arm64
3736
include:
38-
- py: "pypy-3.8"
39-
toxenv: "pypy38"
4037
- py: "pypy-3.9"
4138
toxenv: "pypy39"
4239
- py: "pypy-3.10"
@@ -47,8 +44,12 @@ jobs:
4744
architecture: x86
4845
- os: "ubuntu-22.04"
4946
architecture: arm64
50-
# MacOS we need to make sure to remove x86 on all, but x64
51-
# on the arm runners and arm64 on the x64 runners
47+
# MacOS we need to make sure to remove x86 on all
48+
# We need to run no arm64 on macos-13 (Intel), but some
49+
# Python versions: 3.9/3.10
50+
#
51+
# From 3.11 onward, there is support for running x64 and
52+
# arm64 on Apple Silicon based systems (macos-14)
5253
- os: "macos-13"
5354
architecture: x86
5455
- os: "macos-13"
@@ -57,23 +58,19 @@ jobs:
5758
architecture: x86
5859
- os: "macos-14"
5960
architecture: x64
61+
py: "3.9"
6062
- os: "macos-14"
61-
py: "3.8"
63+
architecture: x64
64+
py: "3.10"
6265
# Windows does not have arm64 releases
6366
- os: "windows-latest"
6467
architecture: arm64
6568
# Don't run all PyPy versions except latest on
6669
# Windows/macOS. They are expensive to run.
67-
- os: "windows-latest"
68-
py: "pypy-3.8"
69-
- os: "macos-13"
70-
py: "pypy-3.8"
7170
- os: "windows-latest"
7271
py: "pypy-3.9"
7372
- os: "macos-13"
7473
py: "pypy-3.9"
75-
- os: "macos-14"
76-
py: "pypy-3.8"
7774
- os: "macos-14"
7875
py: "pypy-3.9"
7976

@@ -101,14 +98,14 @@ jobs:
10198
name: Validate coverage
10299
steps:
103100
- uses: actions/checkout@v4
104-
- name: Setup python 3.10
101+
- name: Setup python
105102
uses: actions/setup-python@v5
106103
with:
107-
python-version: "3.10"
104+
python-version: "3.13"
108105
architecture: x64
109106

110107
- run: pip install tox
111-
- run: tox -e py310,coverage
108+
- run: tox -e py313,coverage
112109
docs:
113110
runs-on: ubuntu-22.04
114111
name: Build the documentation
@@ -117,7 +114,7 @@ jobs:
117114
- name: Setup python
118115
uses: actions/setup-python@v5
119116
with:
120-
python-version: "3.10"
117+
python-version: "3.13"
121118
architecture: x64
122119
- run: pip install tox
123120
- run: tox -e docs
@@ -129,7 +126,7 @@ jobs:
129126
- name: Setup python
130127
uses: actions/setup-python@v5
131128
with:
132-
python-version: "3.10"
129+
python-version: "3.13"
133130
architecture: x64
134131
- run: pip install tox
135132
- run: tox -e lint

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Waitress
1414

1515
Waitress is a production-quality pure-Python WSGI server with very acceptable
1616
performance. It has no dependencies except ones which live in the Python
17-
standard library. It runs on CPython on Unix and Windows under Python 3.8+. It
18-
is also known to run on PyPy 3 (version 3.8 compatible python and above) on
17+
standard library. It runs on CPython on Unix and Windows under Python 3.9+. It
18+
is also known to run on PyPy 3 (version 3.9 compatible python and above) on
1919
UNIX. It supports HTTP/1.0 and HTTP/1.1.
2020

2121
For more information, see the "docs" directory of the Waitress package or visit

setup.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ classifiers =
1313
License :: OSI Approved :: Zope Public License
1414
Programming Language :: Python
1515
Programming Language :: Python :: 3
16-
Programming Language :: Python :: 3.8
1716
Programming Language :: Python :: 3.9
1817
Programming Language :: Python :: 3.10
1918
Programming Language :: Python :: 3.11
2019
Programming Language :: Python :: 3.12
20+
Programming Language :: Python :: 3.13
2121
Programming Language :: Python :: Implementation :: CPython
2222
Programming Language :: Python :: Implementation :: PyPy
2323
Operating System :: OS Independent
@@ -38,7 +38,7 @@ maintainer_email = [email protected]
3838
package_dir=
3939
=src
4040
packages=find:
41-
python_requires = >=3.8.0
41+
python_requires = >=3.9.0
4242

4343
[options.entry_points]
4444
paste.server_runner =

tox.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
lint,
4-
py38,py39,py310,py311,py312,pypy38,pypy39,pypy310
4+
py39,py310,py311,py312,py313,pypy39,pypy310
55
coverage,
66
docs
77
isolated_build = True
@@ -10,7 +10,6 @@ isolated_build = True
1010
commands =
1111
python --version
1212
python -mpytest \
13-
pypy38: --no-cov \
1413
pypy39: --no-cov \
1514
pypy310: --no-cov \
1615
{posargs:}

0 commit comments

Comments
 (0)