Skip to content

Commit fdebade

Browse files
Migrate to minimum Python 3.12
1 parent 817f48e commit fdebade

3 files changed

Lines changed: 9 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
python:
12-
- '3.10'
13-
# - '3.11'
14-
# - '3.12'
12+
- '3.12'
1513
# - '3.13'
1614
runs-on: ubuntu-latest
1715
steps:
@@ -33,7 +31,7 @@ jobs:
3331
run: twine check dist/*
3432
- name: 📤 Upload Python wheels
3533
uses: actions/upload-artifact@v4
36-
if: matrix.python == '3.10'
34+
if: matrix.python == '3.12'
3735
with:
3836
name: wheels
3937
path: dist
@@ -42,9 +40,7 @@ jobs:
4240
strategy:
4341
matrix:
4442
python:
45-
- '3.10'
46-
# - '3.11'
47-
# - '3.12'
43+
- '3.12'
4844
# - '3.13'
4945
runs-on: ubuntu-latest
5046
steps:
@@ -67,9 +63,7 @@ jobs:
6763
strategy:
6864
matrix:
6965
python:
70-
- '3.10'
71-
# - '3.11'
72-
# - '3.12'
66+
- '3.12'
7367
# - '3.13'
7468
runs-on: ubuntu-latest
7569
steps:
@@ -92,9 +86,7 @@ jobs:
9286
strategy:
9387
matrix:
9488
python:
95-
- '3.10'
96-
# - '3.11'
97-
# - '3.12'
89+
- '3.12'
9890
# - '3.13'
9991
runs-on: ubuntu-latest
10092
steps:
@@ -117,9 +109,7 @@ jobs:
117109
strategy:
118110
matrix:
119111
python:
120-
- '3.10'
121-
# - '3.11'
122-
# - '3.12'
112+
- '3.12'
123113
# - '3.13'
124114
runs-on: ubuntu-latest
125115
steps:
@@ -139,7 +129,7 @@ jobs:
139129
run: pytest --cov --cov-report=xml archive_query_log
140130
- name: 📤 Upload coverage to Codecov
141131
uses: codecov/codecov-action@v5
142-
if: matrix.python == '3.10'
132+
if: matrix.python == '3.12'
143133
with:
144134
token: ${{ secrets.CODECOV_TOKEN }}
145135
docker-build:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10-slim
1+
FROM python:3.12-slim
22

33
RUN --mount=type=cache,target=/var/cache/apt \
44
apt-get -y update && \

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ authors = [
1212
]
1313
description = "Mining Millions of Search Result Pages of Hundreds of Search Engines from 25 Years of Web Archives."
1414
readme = "README.md"
15-
requires-python = ">=3.10"
15+
requires-python = ">=3.12"
1616
classifiers = [
1717
"Programming Language :: Python :: 3",
1818
"Programming Language :: Python :: 3 :: Only",
19-
"Programming Language :: Python :: 3.10",
20-
"Programming Language :: Python :: 3.11",
2119
"Programming Language :: Python :: 3.12",
2220
"Operating System :: OS Independent",
2321
"Intended Audience :: Science/Research",

0 commit comments

Comments
 (0)