public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tiktoken] f44: Update to 0.14.0
@ 2026-08-18 18:54 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-18 18:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

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

            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"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-18 18:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 18:54 [rpms/python-tiktoken] f44: Update to 0.14.0 Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox