Skip to content

Commit 9706277

Browse files
Copilotyarikoptic
andcommitted
Drop support for Python 3.9, update minimum requirement to 3.10
Co-authored-by: yarikoptic <39889+yarikoptic@users.noreply.github.com>
1 parent 810f5dc commit 9706277

6 files changed

Lines changed: 8 additions & 15 deletions

File tree

‎.github/workflows/docs.yml‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ jobs:
2828
with:
2929
python-version: ${{ matrix.python }}
3030

31-
- name: Install hdf5 (Ubuntu)
32-
if: matrix.python == '3.9' && startsWith(matrix.os, 'ubuntu')
33-
run: sudo apt-get update && sudo apt-get install -y libhdf5-dev
34-
3531
- name: Install dependencies
3632
run: |
3733
python -m pip install --upgrade pip wheel

‎.github/workflows/lint.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v6
1717
with:
18-
python-version: '3.9'
18+
python-version: '3.10'
1919
- name: Install dependencies
2020
run: |
2121
python -m pip install --upgrade pip

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python
2727
uses: actions/setup-python@v6
2828
with:
29-
python-version: 3.9
29+
python-version: '3.10'
3030

3131
- name: Install build & twine
3232
run: python -m pip install build twine

‎.github/workflows/run-tests.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
- macos-latest # M1 architecture
3636
- macos-15-intel # non-M1 architecture
3737
python:
38-
- 3.9 # Reaching EOL in October 2025
3938
- '3.10' # Needs quotes so YAML doesn't think it's 3.1
4039
- '3.11'
4140
- '3.12'
@@ -44,19 +43,19 @@ jobs:
4443
- normal
4544
include:
4645
- os: ubuntu-latest
47-
python: 3.9
46+
python: '3.10'
4847
mode: dandi-api
4948
- os: ubuntu-latest
5049
python: 3.13
5150
mode: obolibrary-only
5251
- os: ubuntu-latest
53-
python: 3.9
52+
python: '3.10'
5453
mode: dev-deps
5554
- os: ubuntu-latest
5655
python: 3.13
5756
mode: dev-deps
5857
- os: ubuntu-latest
59-
python: 3.9
58+
python: '3.10'
6059
mode: nfs
6160

6261
steps:

‎.github/workflows/typing.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v6
1818
with:
19-
python-version: '3.9'
19+
python-version: '3.10'
2020

2121
- name: Install dependencies
2222
run: |

‎pyproject.toml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = 'setuptools.build_meta'
77
name = "dandi"
88
description = "Command line client for interaction with DANDI instances"
99
readme = "README.md"
10-
requires-python = ">=3.9"
10+
requires-python = ">=3.10"
1111
license = {file = "LICENSE"}
1212
authors = [
1313
{name = "DANDI developers", email = "team@dandiarchive.org"},
@@ -36,7 +36,6 @@ classifiers = [
3636
"License :: OSI Approved :: Apache Software License",
3737
"Operating System :: OS Independent",
3838
"Programming Language :: Python",
39-
"Programming Language :: Python :: 3.9",
4039
"Programming Language :: Python :: 3.10",
4140
"Programming Language :: Python :: 3.11",
4241
"Programming Language :: Python :: 3.12",
@@ -51,8 +50,7 @@ dependencies = [
5150
"click-didyoumean",
5251
"dandischema ~= 0.12.0",
5352
"etelemetry >= 0.2.2",
54-
# For pydantic to be able to use type annotations like `X | None`
55-
"eval_type_backport; python_version < '3.10'",
53+
5654
"fasteners",
5755
"fscacher >= 0.3.0",
5856
# Workaround for no wheels for intel OSX as of 3.15

0 commit comments

Comments
 (0)