diff --git a/.copier-answers.yaml b/.copier-answers.yaml index 99d7a02..8ae03dd 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 2f83523 +_commit: 195919b _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: rustjswasm diff --git a/Cargo.lock b/Cargo.lock index 82ad1aa..966e28d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -179,7 +179,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" dependencies = [ "proc-macro2", "quote", - "syn 3.0.3", + "syn 3.0.4", ] [[package]] @@ -195,9 +195,9 @@ dependencies = [ [[package]] name = "syn" -version = "3.0.3" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" +checksum = "e6275cddf4610d1775e6d1fe9469b2e77d0f39fd98fb7450901b821e0c53649f" dependencies = [ "proc-macro2", "quote", diff --git a/pyproject.toml b/pyproject.toml index 324a38f..18e5a15 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -112,6 +112,7 @@ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=stable --profile=m rustup target add aarch64-unknown-linux-gnu rustup target add x86_64-unknown-linux-gnu """ +before-build = "cargo clean --manifest-path {package}/Cargo.toml && rm -f {package}/python_template_rust/*.so" environment = {PATH="$HOME/.cargo/bin:$PATH", CARGO_TERM_COLOR="always", SKIP_HATCH_JS="1" } skip = "*i686* *musllinux*"