public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tiktoken] f44: Update PyO3 to 0.29
@ 2026-07-07 3:57 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-07 3:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-tiktoken
Branch : f44
Commit : 81206cdf4dff1ec18387a8d2c3af3dc54e9eb6e5
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-06T12:07:05+01:00
Stats : +11/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-tiktoken/c/81206cdf4dff1ec18387a8d2c3af3dc54e9eb6e5?branch=f44
Log:
Update PyO3 to 0.29
- Fixes RUSTSEC-2026-0176 and RUSTSEC-2026-0177
---
diff --git a/python-tiktoken.spec b/python-tiktoken.spec
index 887721f..2abb9ac 100644
--- a/python-tiktoken.spec
+++ b/python-tiktoken.spec
@@ -27,6 +27,8 @@ Source: %{pypi_source tiktoken}
# * Allow fancy-regex 0.16 for now; upstream wants 0.17, updated from 0.13 “for
# significantly increased performance.” See:
# https://bugzilla.redhat.com/show_bug.cgi?id=2321464
+# * Update PyO3 to 0.29, fixing RUSTSEC-2026-0176 and RUSTSEC-2026-0177. See:
+# https://github.com/openai/tiktoken/pull/574
Patch: tiktoken-fix-metadata.diff
BuildRequires: python3-devel
diff --git a/tiktoken-fix-metadata.diff b/tiktoken-fix-metadata.diff
index 36e16c0..ada4979 100644
--- a/tiktoken-fix-metadata.diff
+++ b/tiktoken-fix-metadata.diff
@@ -1,7 +1,14 @@
diff -Naur tiktoken-0.13.0-original/Cargo.toml tiktoken-0.13.0/Cargo.toml
--- tiktoken-0.13.0-original/Cargo.toml 2026-05-15 05:44:55.000000000 +0100
-+++ tiktoken-0.13.0/Cargo.toml 2026-07-06 11:49:01.822644820 +0100
-@@ -20,7 +20,7 @@
++++ tiktoken-0.13.0/Cargo.toml 2026-07-06 11:53:30.656820037 +0100
+@@ -14,13 +14,13 @@
+ ]
+
+ [dependencies]
+-pyo3 = { version = "0.28.3", default-features = false, features = [
++pyo3 = { version = "0.29.0", default-features = false, features = [
+ "extension-module",
+ "macros",
], optional = true }
# tiktoken dependencies
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-07 3:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07 3:57 [rpms/python-tiktoken] f44: Update PyO3 to 0.29 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox