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-tiktoken] f43: Update PyO3 to 0.29
Date: Tue, 07 Jul 2026 04:23:49 GMT	[thread overview]
Message-ID: <178339822930.1.13271455647160042373.rpms-python-tiktoken-81206cdf4dff@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-tiktoken
            Branch : f43
            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=f43

            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

                 reply	other threads:[~2026-07-07  4:23 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=178339822930.1.13271455647160042373.rpms-python-tiktoken-81206cdf4dff@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