public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tiktoken] f43: Add a comment to justify not running the tests
@ 2026-07-07  4:23 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-07  4:23 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-tiktoken
Branch : f43
Commit : 7e4c9bf6931f8eff81ac0a671ff14a6544dcf3a9
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-06T11:10:32+01:00
Stats  : +7/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-tiktoken/c/7e4c9bf6931f8eff81ac0a671ff14a6544dcf3a9?branch=f43

Log:
Add a comment to justify not running the tests

---
diff --git a/python-tiktoken.spec b/python-tiktoken.spec
index 6a7c52a..b6a6dfd 100644
--- a/python-tiktoken.spec
+++ b/python-tiktoken.spec
@@ -61,6 +61,13 @@ Summary:        %{summary}
 
 %check
 %pyproject_check_import
+# All or nearly all tests require data files downloaded from the Internet; see
+# tiktoken_ext/openai_public.py. We *could* add these as additional sources,
+# copy them into a directory (renaming each file to the hexadecimal SHA1 digest
+# of its original URL), and set the TIKTOKEN_CACHE_DIR environment variable
+# when running the tests to use these “pre-downloaded” data files. However, not
+# only would this be fussy, but it means we would have to try to figure out
+# what licenses, if any, apply to these data files.
 
 
 %files -n python3-tiktoken -f %{pyproject_files}

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

only message in thread, other threads:[~2026-07-07  4:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07  4:23 [rpms/python-tiktoken] f43: Add a comment to justify not running the tests 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