Skip to content

Commit

Permalink
Don't build the maturin test
Browse files Browse the repository at this point in the history
Building pyo3 is slow, and we don't implement a maturin cffi template (not enough usage), so we just skip the building pyo3 stage.

Closes #8404
  • Loading branch information
konstin committed Oct 22, 2024
1 parent e7ae0f5 commit a128f50
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions crates/uv/tests/it/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2665,21 +2665,6 @@ fn init_app_build_backend_maturin() -> Result<()> {
);
});

uv_snapshot!(context.filters(), context.run().current_dir(&child).env_remove("VIRTUAL_ENV").arg("foo"), @r###"
success: true
exit_code: 0
----- stdout -----
Hello from foo!
----- stderr -----
Using CPython 3.12.[X] interpreter at: [PYTHON-3.12]
Creating virtual environment at: .venv
Resolved 1 package in [TIME]
Prepared 1 package in [TIME]
Installed 1 package in [TIME]
+ foo==0.1.0 (from file://[TEMP_DIR]/foo)
"###);

Ok(())
}

Expand Down Expand Up @@ -2933,21 +2918,6 @@ fn init_lib_build_backend_maturin() -> Result<()> {
);
});

uv_snapshot!(context.filters(), context.run().current_dir(&child).env_remove("VIRTUAL_ENV").arg("python").arg("-c").arg("import foo; print(foo.hello())"), @r###"
success: true
exit_code: 0
----- stdout -----
Hello from foo!
----- stderr -----
Using CPython 3.12.[X] interpreter at: [PYTHON-3.12]
Creating virtual environment at: .venv
Resolved 1 package in [TIME]
Prepared 1 package in [TIME]
Installed 1 package in [TIME]
+ foo==0.1.0 (from file://[TEMP_DIR]/foo)
"###);

Ok(())
}

Expand Down

0 comments on commit a128f50

Please sign in to comment.