public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pydantic-core] rawhide: Update to PyO3 0.29
Date: Mon, 29 Jun 2026 12:16:13 GMT [thread overview]
Message-ID: <178273537316.1.9057678378964241707.rpms-python-pydantic-core-e8e8fd2fd511@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pydantic-core
Branch : rawhide
Commit : e8e8fd2fd5117d8a518607d9d56f47f2927c5898
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-06-20T10:00:48+01:00
Stats : +42/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-pydantic-core/c/e8e8fd2fd5117d8a518607d9d56f47f2927c5898?branch=rawhide
Log:
Update to PyO3 0.29
---
diff --git a/pydantic_core-2.46.4-pyo3-0.29.patch b/pydantic_core-2.46.4-pyo3-0.29.patch
new file mode 100644
index 0000000..751e737
--- /dev/null
+++ b/pydantic_core-2.46.4-pyo3-0.29.patch
@@ -0,0 +1,39 @@
+diff -Naur pydantic_core-2.46.4-original/Cargo.toml pydantic_core-2.46.4/Cargo.toml
+--- pydantic_core-2.46.4-original/Cargo.toml 2006-07-24 02:21:28.000000000 +0100
++++ pydantic_core-2.46.4/Cargo.toml 2026-06-20 09:58:15.258108604 +0100
+@@ -27,7 +27,7 @@
+ [dependencies]
+ # TODO it would be very nice to remove the "py-clone" feature as it can panic,
+ # but needs a bit of work to make sure it's not used in the codebase
+-pyo3 = { version = "0.28", features = ["generate-import-lib", "num-bigint", "py-clone", "smallvec"] }
++pyo3 = { version = "0.29", features = ["generate-import-lib", "num-bigint", "py-clone", "smallvec"] }
+ regex = "1.12.3"
+ lru = "0.16.3"
+ strum = { version = "0.27", features = ["derive"] }
+@@ -71,12 +71,12 @@
+ strip = false
+
+ [dev-dependencies]
+-pyo3 = { version = "0.28", features = ["auto-initialize"] }
++pyo3 = { version = "0.29", features = ["auto-initialize"] }
+
+ [build-dependencies]
+ version_check = "0.9.5"
+ # used where logic has to be version/distribution specific, e.g. pypy
+-pyo3-build-config = { version = "0.28" }
++pyo3-build-config = { version = "0.29" }
+
+ [lints.clippy]
+ dbg_macro = "warn"
+diff -Naur pydantic_core-2.46.4-original/tests/test_errors.py pydantic_core-2.46.4/tests/test_errors.py
+--- pydantic_core-2.46.4-original/tests/test_errors.py 2006-07-24 02:21:28.000000000 +0100
++++ pydantic_core-2.46.4/tests/test_errors.py 2026-06-20 09:59:21.679427429 +0100
+@@ -107,7 +107,7 @@
+
+ v = SchemaValidator(core_schema.with_info_plain_validator_function(f))
+
+- with pytest.raises(TypeError, match="argument 'context': 'list' object is not an instance of 'dict'"):
++ with pytest.raises(TypeError, match="'list' object is not an instance of 'dict'"):
+ v.validate_python(42)
+
+
diff --git a/python-pydantic-core.spec b/python-pydantic-core.spec
index 6cd9517..75433e4 100644
--- a/python-pydantic-core.spec
+++ b/python-pydantic-core.spec
@@ -27,6 +27,9 @@ Patch: pydantic-core-fix-metadata.diff
# Upstream thinks it's a good idea to rely on exact formatting of error messages in other projects. Meh.
# See the commit message in the patch for more info.
Patch: 0001-Fix-test-assertion-to-account-for-change-in-rust-uuid.patch
+# update to PyO3 0.29
+# https://github.com/pydantic/pydantic/pull/13301
+Patch: pydantic_core-2.46.4-pyo3-0.29.patch
BuildRequires: python3-devel
BuildRequires: cargo-rpm-macros >= 24
reply other threads:[~2026-06-29 12:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178273537316.1.9057678378964241707.rpms-python-pydantic-core-e8e8fd2fd511@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox