Skip to content
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/docker/shared.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ PYTHON_VERSIONS=(
cp312-cp312
cp311-cp311
cp310-cp310
cp39-cp39
)
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [ 3.9, 3.13 ]
python: [ "3.10", 3.13 ]
os: [ macos-latest, ubuntu-24.04, windows-latest ]
defaults:
run:
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python: [3.9, "3.10", 3.11, 3.12, 3.13]
python: ["3.10", 3.11, 3.12, 3.13]
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python: [3.9, "3.10", 3.11, 3.12, 3.13]
python: ["3.10", 3.11, 3.12, 3.13]
wordsize: [64]
steps:
- name: Checkout
Expand Down Expand Up @@ -85,10 +85,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4.2.2

- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v5.4.0
with:
python-version: 3.9
python-version: "3.10"

- name: Build sdist
shell: bash
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
needs: ['OSX']
strategy:
matrix:
python: [3.9, "3.10", 3.11, 3.12, 3.13]
python: ["3.10", 3.11, 3.12, 3.13]
runner: [macos-13, macos-15]
include:
- runner: macos-13
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python: [3.9, "3.10", 3.11, 3.12, 3.13]
python: ["3.10", 3.11, 3.12, 3.13]
wordsize: [64]
steps:
- name: Download wheels
Expand All @@ -179,10 +179,8 @@ jobs:
needs: ['manylinux']
strategy:
matrix:
python: [3.9, "3.10", 3.11, 3.12, 3.13]
python: ["3.10", 3.11, 3.12, 3.13]
include:
- python: 3.9
wheel: cp39
- python: "3.10"
wheel: cp310
- python: 3.11
Expand Down
2 changes: 2 additions & 0 deletions python/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
is not the case.
(:user:`benjeffery`, :issue:`2729`, :issue:`2732`, :pr:`3212`).

- Drop Python 3.9 support, require Python >= 3.10 (:pr:`3267`, :user:`benjeffery`)


**Features**

Expand Down
6 changes: 2 additions & 4 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ classifiers = [
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -40,7 +39,7 @@ keywords = [
"phylogenetics",
"tskit",
]
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = [
"jsonschema>=3.0.0",
"numpy>=2",
Expand Down Expand Up @@ -72,8 +71,7 @@ test = [
"msgpack==1.1.0",
"msprime==1.3.4",
"networkx==3.2.1",
"numba==0.61.2; python_version>='3.10'",
"numba==0.60.0; python_version=='3.9'",
"numba==0.61.2",
"portion==2.6.0",
"pytest==8.3.5",
"pytest-cov==6.0.0",
Expand Down
Loading