Skip to content

Commit 20e7a59

Browse files
authored
Remove Python 3.9 because it is past its EOL (#97)
1 parent 86e6642 commit 20e7a59

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM quay.io/pypa/manylinux2014_x86_64:latest
44

55
ENV PATH /root/.cargo/bin:$PATH
66
# Add all supported python versions
7-
ENV PATH /opt/python/cp39-cp39/bin/:/opt/python/cp310-cp310/bin:/opt/python/cp311-cp311:/opt/python/cp312-cp312/bin:/opt/python/cp313-cp313/bin:$PATH
7+
ENV PATH /opt/python/cp310-cp310/bin:/opt/python/cp311-cp311:/opt/python/cp312-cp312/bin:/opt/python/cp313-cp313/bin:$PATH
88
# Otherwise `cargo new` errors
99
ENV USER root
1010

@@ -34,13 +34,12 @@ ADD Cargo.* ./
3434
ADD pyproject.toml ./
3535
ADD README.md README.md
3636

37-
RUN virtualenv -p python3.9 /venv39 && . /venv39/bin/activate && python -m pip install --no-cache-dir -r requirements-dev.txt && maturin develop && python -m pytest . && rm -r /venv39
3837
RUN virtualenv -p python3.10 /venv310 && . /venv310/bin/activate && python -m pip install -r requirements-dev.txt && maturin develop && python -m pytest . && rm -r /venv310
3938
RUN virtualenv -p python3.11 /venv311 && . /venv311/bin/activate && python -m pip install -r requirements-dev.txt && maturin develop && python -m pytest . && rm -r /venv311
4039
RUN virtualenv -p python3.12 /venv312 && . /venv312/bin/activate && python -m pip install -r requirements-dev.txt && maturin develop && python -m pytest . && rm -r /venv312
4140
RUN virtualenv -p python3.13 /venv313 && . /venv313/bin/activate && python -m pip install -r requirements-dev.txt && maturin develop && python -m pytest . && rm -r /venv313
4241

4342
ENV RUSTFLAGS="-C target-feature=-crt-static"
44-
RUN maturin build --target x86_64-unknown-linux-musl --manylinux off --interpreter python3.9 python3.10 python3.11 python3.12 python3.13
43+
RUN maturin build --target x86_64-unknown-linux-musl --manylinux off --interpreter python3.10 python3.11 python3.12 python3.13
4544

46-
CMD ["maturin", "publish", "--interpreter", "python3.9", "python3.10", "python3.11", "python3.12", "python3.13"]
45+
CMD ["maturin", "publish", "--interpreter", "python3.10", "python3.11", "python3.12", "python3.13"]

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ version = "0.4.4"
88
classifier = [
99
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
1010
"Programming Language :: Python :: 3",
11-
"Programming Language :: Python :: 3.9",
1211
"Programming Language :: Python :: 3.10",
1312
"Programming Language :: Python :: 3.11",
1413
"Programming Language :: Python :: 3.12",

0 commit comments

Comments
 (0)