Skip to content

Commit 286daaa

Browse files
committed
Drop Python 3.9 support
1 parent a244dc1 commit 286daaa

File tree

5 files changed

+32
-399
lines changed

5 files changed

+32
-399
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ jobs:
1212
strategy:
1313
matrix:
1414
include:
15-
- python-version: "3.9"
16-
toxenv: "py39"
1715
- python-version: "3.10"
1816
toxenv: "py310"
1917
- python-version: "3.11"

AIPscan/Reporter/report_formats_count.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def chart_formats_count():
107107
zip(
108108
[item["Format"] for item in report[fields.FIELD_FORMATS]],
109109
[item["Count"] for item in report[fields.FIELD_FORMATS]],
110+
strict=False,
110111
)
111112
)
112113
else:

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ description = "A reporting system for Archivematica using data from AIPs."
99
license = "Apache-2.0"
1010
license-files = ["LICENSE"]
1111
readme = "README.md"
12-
requires-python = ">=3.9"
12+
requires-python = ">=3.10"
1313
classifiers = [
1414
"Programming Language :: Python :: 3",
15-
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
@@ -94,7 +93,7 @@ exclude = ["**/tests/**"]
9493
testpaths = ["AIPscan", "tools"]
9594

9695
[tool.ruff]
97-
target-version = "py39"
96+
target-version = "py310"
9897

9998
[tool.ruff.lint]
10099
select = [
@@ -127,7 +126,7 @@ max-complexity = 12
127126

128127
[tool.tox]
129128
requires = ["tox>=4", "tox-uv>=1"]
130-
env_list = ["py39", "py310", "py311", "py312", "py313", "py314", "linting"]
129+
env_list = ["py310", "py311", "py312", "py313", "py314", "linting"]
131130

132131
[tool.tox.env_run_base]
133132
runner = "uv-venv-lock-runner"

requirements.txt

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,7 @@ cffi==2.0.0 ; platform_python_implementation != 'PyPy'
2121
# via cryptography
2222
charset-normalizer==3.4.3
2323
# via requests
24-
click==8.1.8 ; python_full_version < '3.10'
25-
# via
26-
# aipscan
27-
# celery
28-
# click-didyoumean
29-
# click-plugins
30-
# click-repl
31-
# flask
32-
click==8.3.0 ; python_full_version >= '3.10'
24+
click==8.3.0
3325
# via
3426
# aipscan
3527
# celery
@@ -49,9 +41,7 @@ cryptography==46.0.2
4941
# via pymysql
5042
faker==37.11.0
5143
# via aipscan
52-
filelock==3.19.1 ; python_full_version < '3.10'
53-
# via aipscan
54-
filelock==3.20.0 ; python_full_version >= '3.10'
44+
filelock==3.20.0
5545
# via aipscan
5646
flask==3.1.2
5747
# via
@@ -71,8 +61,6 @@ gunicorn==23.0.0
7161
# via aipscan
7262
idna==3.10
7363
# via requests
74-
importlib-metadata==8.7.0 ; python_full_version < '3.10'
75-
# via flask
7664
importlib-resources==6.5.2
7765
# via flask-restx
7866
itsdangerous==2.2.0
@@ -103,14 +91,7 @@ narwhals==2.7.0
10391
# via plotly
10492
natsort==8.4.0
10593
# via aipscan
106-
numpy==2.0.2 ; python_full_version < '3.10'
107-
# via
108-
# pandas
109-
# patsy
110-
# plotly-express
111-
# scipy
112-
# statsmodels
113-
numpy==2.2.6 ; python_full_version == '3.10.*'
94+
numpy==2.2.6 ; python_full_version < '3.11'
11495
# via
11596
# pandas
11697
# patsy
@@ -169,11 +150,7 @@ rpds-py==0.27.1
169150
# via
170151
# jsonschema
171152
# referencing
172-
scipy==1.13.1 ; python_full_version < '3.10'
173-
# via
174-
# plotly-express
175-
# statsmodels
176-
scipy==1.15.3 ; python_full_version == '3.10.*'
153+
scipy==1.15.3 ; python_full_version < '3.11'
177154
# via
178155
# plotly-express
179156
# statsmodels
@@ -218,7 +195,3 @@ wtforms==3.2.1
218195
# via
219196
# aipscan
220197
# flask-wtf
221-
zipp==3.23.0 ; python_full_version < '3.10'
222-
# via
223-
# importlib-metadata
224-
# importlib-resources

0 commit comments

Comments
 (0)