Skip to content

Commit 0da4eca

Browse files
committed
Bump supported Python version to 3.9+
We don't test on older versions, and even Python 3.9 is already EOL, so this should be sensible.
1 parent 7da2b62 commit 0da4eca

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ rust-version = "1.74"
1919
debug = true
2020

2121
[workspace.dependencies]
22-
pyo3 = { version = "0.27", features = ["abi3-py37"] }
22+
pyo3 = { version = "0.27.2", features = ["abi3-py39"] }
2323
numpy = "0.27.1"
2424
thiserror = "2.0.17"
2525
tempfile = "3.10.1"

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ come with Python bindings using PyO3, and can be built using [maturin](https://g
66
The repository is structured as a cargo workspace, and some of the crates are just used internally,
77
like `bs-sys`.
88

9-
Minimum supported rust version (MSRV) is 1.74 (November 2023)
9+
Minimum supported rust version (MSRV) is 1.74 (November 2023).
10+
Minimum Python version supported is 3.9.
1011

1112
## Development
1213

1314
Please clone using `git clone --recurse-submodules ...` to include vendored
14-
code in submodules. After cloning, remember to enable pre-commit hooks using
15-
`pre-commit install --install-hooks`.
15+
code in submodules. After cloning, remember to enable pre-commit hooks, for example
16+
using `uvx pre-commit install --install-hooks`.
1617

1718
## Contents
1819

libertem_asi_mpx3/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "libertem-asi-mpx3"
7-
requires-python = ">=3.7"
7+
requires-python = ">=3.9"
88
classifiers = [
99
"Programming Language :: Rust",
1010
"Programming Language :: Python :: Implementation :: CPython",

libertem_asi_tpx3/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "libertem-asi-tpx3"
7-
requires-python = ">=3.7"
7+
requires-python = ">=3.9"
88
classifiers = [
99
"Programming Language :: Rust",
1010
"Programming Language :: Python :: Implementation :: CPython",

libertem_dectris/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "libertem-dectris"
7-
requires-python = ">=3.7"
7+
requires-python = ">=3.9"
88
classifiers = [
99
"Programming Language :: Rust",
1010
"Programming Language :: Python :: Implementation :: CPython",

libertem_qd_mpx/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "libertem_qd_mpx"
7-
requires-python = ">=3.8"
7+
requires-python = ">=3.9"
88
classifiers = [
99
"Programming Language :: Rust",
1010
"Programming Language :: Python :: Implementation :: CPython",

0 commit comments

Comments
 (0)