diff --git a/guide/src/project_layout.md b/guide/src/project_layout.md index 99fc35c09..3bdf644b0 100644 --- a/guide/src/project_layout.md +++ b/guide/src/project_layout.md @@ -127,7 +127,7 @@ You can then import your Rust module inside your Python source as follows: from my_project import _my_project ``` -IDEs can then recognize the `_my_project` module as seperate from your main Python source module. This allows for code completion of the types inside your Rust Python module for certain IDEs. +IDEs can then recognize the `_my_project` module as separate from your main Python source module. This allows for code completion of the types inside your Rust Python module for certain IDEs. ## Adding Python type information diff --git a/tests/common/integration.rs b/tests/common/integration.rs index a1b2bd034..d5ea1aa9e 100644 --- a/tests/common/integration.rs +++ b/tests/common/integration.rs @@ -76,9 +76,13 @@ pub fn test_integration( // order they are in the build context for ((filename, supported_version), python_interpreter) in wheels.iter().zip(interpreter) { if test_zig && build_context.target.is_linux() && !build_context.target.is_musl_target() { - assert!(filename - .to_string_lossy() - .ends_with("manylinux_2_12_x86_64.manylinux2010_x86_64.whl")) + let rustc_ver = rustc_version::version()?; + let file_suffix = if rustc_ver >= semver::Version::new(1, 64, 0) { + "manylinux_2_17_x86_64.manylinux2014_x86_64.whl" + } else { + "manylinux_2_12_x86_64.manylinux2010_x86_64.whl" + }; + assert!(filename.to_string_lossy().ends_with(file_suffix)) } let venv_suffix = if supported_version == "py3" { "py3".to_string()