From b8b05bdce28b5c1cdb63c8e597fb49922e4cedf7 Mon Sep 17 00:00:00 2001 From: "python-templates-copier-update[bot]" Date: Sun, 29 Nov 2026 14:14:30 +0000 Subject: [PATCH 1/2] Update from Copier (2026-11-29T14-14-26Z) 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 c0e3764..df9618a 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_c_abi: false add_docs: true 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 82e421d..facf8b1 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 095af3c..2a0057d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,6 +143,7 @@ verbose = true abi3 = true module = "python_template_rust" path = "." +env = { PYO3_BUILD_EXTENSION_MODULE = "1" } [tool.hatch.build.targets.sdist] packages = [ From 3df87dff653bcde07e6310b16b59b592df9127e1 Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Sun, 29 Nov 2026 11:17:06 -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 facf8b1..c33dd82 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'