Skip to content

Commit ec42ee8

Browse files
committed
Update supported python versions.
1 parent 40f825b commit ec42ee8

6 files changed

Lines changed: 55 additions & 68 deletions

File tree

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Keep GitHub Actions up to date with GitHub's Dependabot...
2+
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
3+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
4+
version: 2
5+
updates:
6+
- package-ecosystem: github-actions
7+
directory: /
8+
groups:
9+
github-actions:
10+
patterns:
11+
- "*" # Group all Actions updates into a single larger pull request
12+
schedule:
13+
interval: monthly

.github/workflows/tests.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -81,21 +81,17 @@ jobs:
8181
runs-on: ${{ matrix.os }}
8282
strategy:
8383
matrix:
84-
python-version: [pypy-3.10, 3.8, 3.9, '3.10', '3.11', "3.12", "3.13.0-beta.1"]
84+
python-version: [pypy-3.11, '3.10', '3.11', "3.12", "3.13", "3.14.0-rc.3"]
8585
os: [ubuntu-latest, macos-latest]
8686
exclude:
8787
- os: macos-latest
88-
python-version: pypy-3.10
89-
- os: macos-latest
90-
python-version: "3.8"
91-
- os: macos-latest
92-
python-version: "3.9"
88+
python-version: pypy-3.11
9389
steps:
9490
- name: checkout
95-
uses: actions/checkout@v4
91+
uses: actions/checkout@v5
9692

9793
- name: Set up Python ${{ matrix.python-version }}
98-
uses: actions/setup-python@v5
94+
uses: actions/setup-python@v6
9995
with:
10096
python-version: ${{ matrix.python-version }}
10197
cache: 'pip'
@@ -178,14 +174,14 @@ jobs:
178174
- manylinux2014_ppc64le
179175
- manylinux2014_s390x
180176
- manylinux2014_x86_64
181-
- musllinux_1_1_x86_64
182-
- musllinux_1_1_aarch64
177+
- musllinux_1_2_x86_64
178+
- musllinux_1_2_aarch64
183179
name: ${{ matrix.image }}
184180
steps:
185181
- name: checkout
186-
uses: actions/checkout@v4
182+
uses: actions/checkout@v5
187183
- name: Set up Python ${{ matrix.python-version }}
188-
uses: actions/setup-python@v5
184+
uses: actions/setup-python@v6
189185
with:
190186
python-version: ${{ matrix.python-version }}
191187
- name: Set up QEMU

CHANGES.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
CHANGES
33
=========
44

5-
4.1.1 (unreleased)
5+
4.2.0 (unreleased)
66
==================
77

8-
- Nothing changed yet.
8+
- Drop support for Python 3.8 and 3.9.
9+
- Add support for Python 3.14.
910

1011

1112
4.1.0 (2024-06-11)

appveyor.yml

Lines changed: 21 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ shallow_clone: true
44
build:
55
parallel: true
66
verbosity: minimal
7-
# The VS 2019 image doesn't have
8-
# the MSVC needed for Python 2.7.
9-
# Note that this contains nothing newer than Python 3.8; there is no
10-
# image that has all of our supported versions, so we have to
11-
# customize per version.
12-
image: Visual Studio 2015
7+
image: Visual Studio 2022
138

149
environment:
1510
global:
@@ -40,60 +35,41 @@ environment:
4035

4136
# Fully supported 64-bit versions, with testing. This should be
4237
# all the current (non EOL) versions.
43-
- PYTHON: "C:\\Python312-x64"
44-
PYTHON_VERSION: "3.12.0b3"
38+
# Fully supported 64-bit versions, with testing. This should be
39+
# all the current (non EOL) versions.
40+
- PYTHON: "C:\\Python314-x64"
41+
PYTHON_VERSION: "3.14.0rc1"
4542
PYTHON_ARCH: "64"
4643
PYTHON_EXE: python
47-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
4844

49-
- PYTHON: "C:\\Python311-x64"
50-
PYTHON_VERSION: "3.11.0"
45+
- PYTHON: "C:\\Python313-x64"
46+
PYTHON_VERSION: "3.13.5"
5147
PYTHON_ARCH: "64"
5248
PYTHON_EXE: python
53-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
5449

55-
- PYTHON: "C:\\Python310-x64"
56-
PYTHON_VERSION: "3.10.0"
50+
- PYTHON: "C:\\Python312-x64"
51+
PYTHON_VERSION: "3.12.0"
5752
PYTHON_ARCH: "64"
5853
PYTHON_EXE: python
59-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
6054

61-
- PYTHON: "C:\\Python39-x64"
62-
PYTHON_VERSION: "3.9.x"
55+
# 64-bit
56+
- PYTHON: "C:\\Python311-x64"
57+
PYTHON_VERSION: "3.11.0"
6358
PYTHON_ARCH: "64"
6459
PYTHON_EXE: python
65-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
6660

67-
- PYTHON: "C:\\Python38-x64"
68-
PYTHON_VERSION: "3.8.x"
69-
PYTHON_ARCH: "64"
70-
PYTHON_EXE: python
71-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
61+
# TODO: What's the latest pypy?
62+
# - PYTHON: "C:\\pypy3.7-v7.3.7-win64"
63+
# PYTHON_ID: "pypy3"
64+
# PYTHON_EXE: pypy3w
65+
# PYTHON_VERSION: "3.7.x"
66+
# PYTHON_ARCH: "64"
67+
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
7268

73-
- PYTHON: "C:\\Python37-x64"
74-
PYTHON_VERSION: "3.7.x"
69+
- PYTHON: "C:\\Python310-x64"
70+
PYTHON_VERSION: "3.10.0"
7571
PYTHON_ARCH: "64"
7672
PYTHON_EXE: python
77-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
78-
79-
# 32-bit, wheel only (no testing)
80-
- PYTHON: "C:\\Python39"
81-
PYTHON_VERSION: "3.9.x"
82-
PYTHON_ARCH: "32"
83-
PYTHON_EXE: python
84-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
85-
86-
- PYTHON: "C:\\Python38"
87-
PYTHON_VERSION: "3.8.x"
88-
PYTHON_ARCH: "32"
89-
PYTHON_EXE: python
90-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
91-
92-
- PYTHON: "C:\\Python37"
93-
PYTHON_VERSION: "3.7.x"
94-
PYTHON_ARCH: "32"
95-
PYTHON_EXE: python
96-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
9773

9874

9975
install:

scripts/releases/make-manylinux

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ if [ -d /io -a -d /opt/python ]; then
2222
cd /io
2323
rm -rf wheelhouse
2424
mkdir wheelhouse
25-
# non-gil won't build, seems like a cython issue.
26-
rm -f /opt/python/cp313-cp313t
27-
for variant in `ls -d /opt/python/cp{38,39,310,311,312,313}*`; do
25+
for variant in /opt/python/cp{314,313,312,310,311}*; do
26+
echo $SEP
27+
if [[ "$variant" == *t ]]; then
28+
echo "Skipping no-gil build. The GIL is required."
29+
continue
30+
fi
2831
echo "Building $variant"
2932
mkdir /tmp/build
3033
cd /tmp/build
@@ -43,5 +46,5 @@ if [ -d /io -a -d /opt/python ]; then
4346
exit 0
4447
fi
4548

46-
docker run --rm -e GITHUB_ACTIONS -e DOCKER_IMAGE -v "$(pwd):/io" ${DOCKER_IMAGE:-quay.io/pypa/manylinux2010_x86_64} /io/scripts/releases/$(basename $0)
49+
docker run --rm -e GITHUB_ACTIONS -e DOCKER_IMAGE -v "$(pwd):/io" ${DOCKER_IMAGE:-quay.io/pypa/manylinux2014_x86_64} /io/scripts/releases/$(basename $0)
4750
ls -l wheelhouse

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from setuptools import Extension
77

88
PYPY = hasattr(sys, 'pypy_version_info')
9-
PY312 = sys.version_info[:2] == (3, 12)
109

1110
def read(fname, here=os.path.dirname(__file__)):
1211
with open(os.path.join(here, fname), encoding='utf-8') as f:
@@ -129,23 +128,22 @@ def _c(m):
129128
author='Shane Hathaway',
130129
author_email='shane@hathawaymix.org',
131130
maintainer='Jason Madden',
132-
maintainer_email='jason@nextthought.com',
131+
maintainer_email='jason@seecoresoftware.com',
133132
description='Send performance metrics about Python code to Statsd',
134133
keywords="statsd metrics performance monitoring",
135134
long_description=README + '\n\n' + CHANGES,
136-
python_requires=">=3.7",
135+
python_requires=">=3.10",
137136
# Get strings from https://pypi.org/pypi?%3Aaction=list_classifiers
138137
classifiers=[
139138
"Development Status :: 5 - Production/Stable",
140139
"Intended Audience :: Developers",
141140
"Programming Language :: Python :: 3",
142141
"Programming Language :: Python :: 3 :: Only",
143-
"Programming Language :: Python :: 3.8",
144-
"Programming Language :: Python :: 3.9",
145142
"Programming Language :: Python :: 3.10",
146143
"Programming Language :: Python :: 3.11",
147144
"Programming Language :: Python :: 3.12",
148145
"Programming Language :: Python :: 3.13",
146+
"Programming Language :: Python :: 3.14",
149147
"Programming Language :: Python :: Implementation :: CPython",
150148
"Programming Language :: Python :: Implementation :: PyPy",
151149
"License :: Repoze Public License",

0 commit comments

Comments
 (0)