public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-tiktoken] f43: Update to 0.14.0
Date: Tue, 18 Aug 2026 18:55:22 GMT	[thread overview]
Message-ID: <178707932216.1.14933859908499044384.rpms-python-tiktoken-4ece9e8b610e@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-tiktoken
            Branch : f43
            Commit : 4ece9e8b610e635a0749325a3c0fadca4c7dbf59
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-08-18T15:43:18-03:00
            Stats  : +11/-19 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-tiktoken/c/4ece9e8b610e635a0749325a3c0fadca4c7dbf59?branch=f43

            Log:
            Update to 0.14.0

Resolves: rhbz#2517674

---
diff --git a/python-tiktoken.spec b/python-tiktoken.spec
index 2abb9ac..0abfb14 100644
--- a/python-tiktoken.spec
+++ b/python-tiktoken.spec
@@ -1,5 +1,5 @@
 Name:           python-tiktoken
-Version:        0.13.0
+Version:        0.14.0
 Release:        %autorelease
 Summary:        tiktoken is a fast BPE tokeniser for use with OpenAI's models
 # tiktoken is MIT
@@ -27,8 +27,6 @@ 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/sources b/sources
index 2900bb8..1d11817 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tiktoken-0.13.0.tar.gz) = 172f3b325da80f075d99ef9245bc9c7f22521eeb2c4703aace72302ff557e66bea03110420e823f55d506c53bc7c79bc8ccec98816c6fc248b88c4fc978636f1
+SHA512 (tiktoken-0.14.0.tar.gz) = 1d3aa6264b8129b4ca083837643be8d069a13edbbde2e4071e1ac852c801a366b1fef158389afff9be0aabdcabc867e155bb414cc6e3bfeef26e08f454b7e527

diff --git a/tiktoken-fix-metadata.diff b/tiktoken-fix-metadata.diff
index ada4979..5f01902 100644
--- a/tiktoken-fix-metadata.diff
+++ b/tiktoken-fix-metadata.diff
@@ -1,19 +1,13 @@
-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: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",
+diff -Naur tiktoken-0.14.0.orig/Cargo.toml tiktoken-0.14.0/Cargo.toml
+--- tiktoken-0.14.0.orig/Cargo.toml	2024-05-15 00:00:00.000000000 +0000
++++ tiktoken-0.14.0/Cargo.toml	2024-05-15 00:00:00.000000000 +0000
+@@ -20,7 +20,7 @@
  ], optional = true }
  
  # tiktoken dependencies
--fancy-regex = "0.17.0"
-+fancy-regex = ">=0.16.0, <0.18.0"
- regex = "1.10.3"
+-fancy-regex = "0.19.0"
++fancy-regex = ">=0.16, <0.20"
+ regex = "1.13.1"
  rustc-hash = "2"
- bstr = "1.5.0"
+-bstr = "1.13.1"
++bstr = ">=1.13.0, <2"

                 reply	other threads:[~2026-08-18 18:55 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=178707932216.1.14933859908499044384.rpms-python-tiktoken-4ece9e8b610e@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --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