Skip to content

Commit bc85d68

Browse files
benjefferyclaude
andcommitted
Drop Python 3.9 support, update to Python 3.10-3.13
- Update pyproject.toml requires-python to >=3.10 - Remove Python 3.9 classifier from pyproject.toml - Update wheel building to use Python 3.10-3.13 - Update GitHub Actions tests to use Python 3.10 and 3.13 - Update docker shared.env to exclude cp39-cp39 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7d3ab2c commit bc85d68

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/docker/shared.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
PYTHON_VERSIONS=(
2-
cp39-cp39
32
cp310-cp310
43
cp311-cp311
54
cp312-cp312

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
19-
python: [ 3.9, 3.13 ]
19+
python: [ "3.10", 3.13 ]
2020
os: [ macos-latest, ubuntu-24.04, windows-latest ]
2121
defaults:
2222
run:

.github/workflows/wheels.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [macos-13, macos-14, macos-15]
20-
python: [3.9, "3.10", 3.11, 3.12, 3.13]
20+
python: ["3.10", 3.11, 3.12, 3.13]
2121
steps:
2222
- name: Checkout
2323
uses: actions/checkout@v4.2.2
@@ -70,7 +70,7 @@ jobs:
7070
runs-on: windows-latest
7171
strategy:
7272
matrix:
73-
python: [3.9, "3.10", 3.11, 3.12, 3.13]
73+
python: ["3.10", 3.11, 3.12, 3.13]
7474
arch: [x64]
7575
steps:
7676
- name: Checkout
@@ -123,10 +123,10 @@ jobs:
123123
uses: actions/checkout@v4.2.2
124124
with:
125125
submodules: true
126-
- name: Set up Python 3.9
126+
- name: Set up Python 3.10
127127
uses: actions/setup-python@v5.4.0
128128
with:
129-
python-version: 3.9
129+
python-version: "3.10"
130130
- name: Build sdist
131131
shell: bash
132132
run: |
@@ -155,7 +155,7 @@ jobs:
155155
strategy:
156156
matrix:
157157
os: [macos-13, macos-14, macos-15]
158-
python: [3.9, "3.10", 3.11, 3.12, 3.13]
158+
python: ["3.10", 3.11, 3.12, 3.13]
159159
steps:
160160
- name: Download wheels
161161
uses: actions/download-artifact@v4.2.0
@@ -181,7 +181,7 @@ jobs:
181181
needs: ['manylinux']
182182
strategy:
183183
matrix:
184-
python: [3.9, "3.10", 3.11, 3.12, 3.13]
184+
python: ["3.10", 3.11, 3.12, 3.13]
185185
steps:
186186
- name: Download wheels
187187
uses: actions/download-artifact@v4.2.0
@@ -209,7 +209,7 @@ jobs:
209209
needs: ['Windows']
210210
strategy:
211211
matrix:
212-
python: [3.9, "3.10", 3.11, 3.12, 3.13]
212+
python: ["3.10", 3.11, 3.12, 3.13]
213213
steps:
214214
- name: Download wheels
215215
uses: actions/download-artifact@v4.2.0

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
- Add support and wheels for Python3.13
1212

13+
- Drop Python 3.9 support, require Python >= 3.10 ({pr}`2418`, {user}`benjeffery`)
14+
1315
- Add wheels on Windows ({pr}`2414`, {issue}`2200`,{user}`benjeffery`)
1416

1517
**Breaking changes**:

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ authors = [
55
]
66
description = "Simulate genealogical trees and genomic sequence data using population genetic models"
77
readme = "README.md"
8-
requires-python = ">=3.9"
8+
requires-python = ">=3.10"
99
license = {text = "GNU GPLv3+"}
1010
classifiers = [
1111
"Programming Language :: C",
1212
"Programming Language :: Python",
1313
"Programming Language :: Python :: 3",
14-
"Programming Language :: Python :: 3.9",
1514
"Programming Language :: Python :: 3.10",
1615
"Programming Language :: Python :: 3.11",
1716
"Programming Language :: Python :: 3.12",

0 commit comments

Comments
 (0)