public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-llama-cpp-python] rawhide: Update to 0.3.34 upstream release
@ 2026-07-15 11:23 Packit
  0 siblings, 0 replies; only message in thread
From: Packit @ 2026-07-15 11:23 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-llama-cpp-python
            Branch : rawhide
            Commit : fe9479f76e6c15e6663b6c7c5790f47002ed7319
            Author : Packit <hello@packit.dev>
            Date   : 2026-07-14T15:27:18+02:00
            Stats  : +15/-10 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-llama-cpp-python/c/fe9479f76e6c15e6663b6c7c5790f47002ed7319?branch=rawhide

            Log:
            Update to 0.3.34 upstream release

- Resolves: rhbz#2497212

Upstream tag: v0.3.34
Upstream commit: 629bd1b3

Also had to update the patch after upstream changes.
And update llama.cpp to e3546c7

Commit authored by Packit automation (https://packit.dev/)

Assisted-by: Claude
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>

---
diff --git a/.gitignore b/.gitignore
index 2381dc2..30ec8f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,5 @@
 /llama-cpp-python-0.3.7.tar.gz
 /llama-cpp-python-0.3.14.tar.gz
 /llama.cpp-79e0b68.tar.gz
+/llama-cpp-python-0.3.34.tar.gz
+/llama.cpp-e3546c7.tar.gz

diff --git a/0002-search-for-libllama-so-in-usr-lib64.patch b/0002-search-for-libllama-so-in-usr-lib64.patch
index 40e6f2c..8b68548 100644
--- a/0002-search-for-libllama-so-in-usr-lib64.patch
+++ b/0002-search-for-libllama-so-in-usr-lib64.patch
@@ -9,11 +9,11 @@ Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
  1 file changed, 1 insertion(+)
 
 diff --git a/llama_cpp/_ctypes_extensions.py b/llama_cpp/_ctypes_extensions.py
-index e88ed38..96c7a1f 100644
+index 02cee8a..847511d 100644
 --- a/llama_cpp/_ctypes_extensions.py
 +++ b/llama_cpp/_ctypes_extensions.py
-@@ -29,6 +29,7 @@ def load_shared_library(lib_base_name: str, base_path: pathlib.Path):
-     if sys.platform.startswith("linux") or sys.platform.startswith("freebsd"):
+@@ -37,6 +37,7 @@ def load_shared_library(lib_base_name: str, base_path: pathlib.Path):
+     elif sys.platform.startswith("linux") or sys.platform.startswith("freebsd"):
          lib_paths += [
              base_path / f"lib{lib_base_name}.so",
 +            pathlib.Path(f"/usr/lib64/lib{lib_base_name}.so")

diff --git a/README.packit b/README.packit
new file mode 100644
index 0000000..173195e
--- /dev/null
+++ b/README.packit
@@ -0,0 +1,3 @@
+This repository is maintained by packit.
+https://packit.dev/
+The file was generated using packit 1.16.1.post1.dev2+gf84fe2d5b.

diff --git a/python-llama-cpp-python.spec b/python-llama-cpp-python.spec
index 13674f7..bfe175c 100644
--- a/python-llama-cpp-python.spec
+++ b/python-llama-cpp-python.spec
@@ -1,5 +1,5 @@
 %global pypi_name llama-cpp-python
-%global pypi_version 0.3.14
+%global pypi_version 0.3.34
 # it's all python code
 %global debug_package %{nil}
 
@@ -7,9 +7,9 @@
 # https://github.com/abetlen/llama-cpp-python/releases/tag/v0.3.14
 # we can see that the /vendor/llama-cpp links to the llama-cpp repository
 # locked at the specific commit, which is provided as a source
-%global llama_repo https://github.com/ggerganov/llama.cpp
-%global llama_commit 79e0b68c178656bb0632cb8602d2940b755077f8
-%global llama_archive llama.cpp-79e0b68.tar.gz
+%global llama_repo https://github.com/ggml-org/llama.cpp
+%global llama_commit e3546c7948e3af463d0b401e6421d5a4c2faf565
+%global llama_archive llama.cpp-e3546c7.tar.gz
 
 # Exclude any .so built from the bundled tarball so that the automatic 'Provides'
 # does not pollute the RPM dependency database -> the regex should exclude these four libraries:
@@ -84,7 +84,7 @@ tar -xf %{SOURCE1} --strip-components=1 --directory %{_builddir}/%{pypi_name}-%{
 %if %{with test}
 %check
 # these 3 llama tests need ggml-vocab-llama-spm model, we'll run them in testing farm, see plans/
-%pytest -v -k 'not test_llama_cpp_tokenization and not test_real_llama and not test_real_model' tests/
+%pytest -v -k 'not test_llama_cpp_tokenization and not test_real_llama and not test_real_model and not matches_fresh and not test_recurrent_model_prompt_cache_reset and not test_hybrid_model_prompt_cache_reset' tests/
 %endif
 
 %install

diff --git a/sources b/sources
index b43b939..e18bb3a 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (llama-cpp-python-0.3.14.tar.gz) = c23481209d21c41de05c7e90088163aadf83b7b84907bb2825dfaaa16d6ffff47f2cfb6b41a9d6c8cd49560af9b298a06b264931e9c6284abf11c9e0b1fa7f80
-SHA512 (llama.cpp-79e0b68.tar.gz) = 4168bdb1ba9baddb9a27a2c53077873d17a802f079e5e8ac22a089d583fd68034d06d908da2abf1435528bfa6fd657072ac7560fe4d2675746c68c250d098b7c
+SHA512 (llama-cpp-python-0.3.34.tar.gz) = 11a2dc105303fc328498785be834d480ec6cb4428f269fb2f11ec36f0c715be9243851060e8e72bc0b5fc10fb3b67d49ed7d6611bf6c0cd75a7a083f0de8444f
+SHA512 (llama.cpp-e3546c7.tar.gz) = 484c7f6fccd98c60d9852e03c29830bef46190eec3a4041e6fa993af08a1d8538c7724b0ee5b4463572faa4308a229993d560c0a5808201477f1d41a72b3de8f

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-15 11:23 [rpms/python-llama-cpp-python] rawhide: Update to 0.3.34 upstream release Packit

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