From 866d693b75d320628e54ee3df3f244190686916e Mon Sep 17 00:00:00 2001 From: "python-templates-copier-update[bot]" Date: Sun, 29 Nov 2026 14:15:28 +0000 Subject: [PATCH 1/2] Update from Copier (2026-11-29T14-15-24Z) Signed-off-by: python-templates-copier-update[bot] --- .copier-answers.yaml | 2 +- .gitignore | 1 + Cargo.toml | 4 ++++ pyproject.toml | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.copier-answers.yaml b/.copier-answers.yaml index f5d264a..0afdda3 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 7a6513e +_commit: 7fe7299 _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: rustjswasm diff --git a/.gitignore b/.gitignore index 25780a3..76315ac 100644 --- a/.gitignore +++ b/.gitignore @@ -158,5 +158,6 @@ emsdk # AI ROADMAP.md AGENTS.md +HUMANS.md .github/hooks/sdlc.json .superpowers diff --git a/Cargo.toml b/Cargo.toml index 6ebdc75..4b18c1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,11 @@ crate-type = ["cdylib"] [dependencies] python_template_rust = { path = "./rust", version = "*" } +<<<<<<< before updating pyo3 = { version = "0.30.1", features = ["abi3", "extension-module", "multiple-pymethods"] } +======= +pyo3 = { version = "0.29.2", features = ["abi3", "multiple-pymethods"] } +>>>>>>> after updating [profile.release] panic = 'abort' diff --git a/pyproject.toml b/pyproject.toml index e4440ab..122829f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -164,6 +164,7 @@ targets = [ ] [tool.hatch.build.hooks.hatch-rs] +env = { PYO3_BUILD_EXTENSION_MODULE = "1" } verbose = true abi3 = true module = "python_template_rust" From 771f23877bf21260ce8f3da9314ee7395c72dc7c Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Sun, 29 Nov 2026 11:17:04 -0500 Subject: [PATCH 2/2] Resolve pyo3 conflict from Copier update Keep pyo3 0.30.1 and drop the extension-module feature, matching the template. The build sets PYO3_BUILD_EXTENSION_MODULE instead. Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com> --- Cargo.toml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4b18c1b..d359f1c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,11 +11,7 @@ crate-type = ["cdylib"] [dependencies] python_template_rust = { path = "./rust", version = "*" } -<<<<<<< before updating -pyo3 = { version = "0.30.1", features = ["abi3", "extension-module", "multiple-pymethods"] } -======= -pyo3 = { version = "0.29.2", features = ["abi3", "multiple-pymethods"] } ->>>>>>> after updating +pyo3 = { version = "0.30.1", features = ["abi3", "multiple-pymethods"] } [profile.release] panic = 'abort'