Skip to content

Commit cf6b904

Browse files
committed
Set the same maximum version for all interpreters
1 parent 3947d5d commit cf6b904

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

pyo3-ffi/build.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,15 @@ const SUPPORTED_VERSIONS_CPYTHON: SupportedVersions = SupportedVersions {
2323

2424
const SUPPORTED_VERSIONS_PYPY: SupportedVersions = SupportedVersions {
2525
min: PythonVersion { major: 3, minor: 9 },
26-
max: PythonVersion {
27-
major: 3,
28-
minor: 11,
29-
},
26+
max: SUPPORTED_VERSIONS_CPYTHON.max,
3027
};
3128

3229
const SUPPORTED_VERSIONS_GRAALPY: SupportedVersions = SupportedVersions {
3330
min: PythonVersion {
3431
major: 3,
3532
minor: 10,
3633
},
37-
max: PythonVersion {
38-
major: 3,
39-
minor: 11,
40-
},
34+
max: SUPPORTED_VERSIONS_CPYTHON.max,
4135
};
4236

4337
fn ensure_python_version(interpreter_config: &InterpreterConfig) -> Result<()> {

0 commit comments

Comments
 (0)