public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-llvmlite] rawhide: Update to 0.48.0
@ 2026-07-05 4:26 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-05 4:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-llvmlite
Branch : rawhide
Commit : 0570762a1f3d2cd7b2729a194ec06e7155d01d44
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-03T06:55:19+01:00
Stats : +14/-6 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-llvmlite/c/0570762a1f3d2cd7b2729a194ec06e7155d01d44?branch=rawhide
Log:
Update to 0.48.0
- Closes RHBZ#2453491; fixes RHBZ#2495139; fixes RHBZ#2496401
---
diff --git a/.gitignore b/.gitignore
index 1fbd802..8ad64ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/llvmlite-0.45.1.tar.gz
/llvmlite-0.46.0.tar.gz
/llvmlite-0.47.0rc1.tar.gz
+/llvmlite-0.48.0.tar.gz
diff --git a/python-llvmlite.spec b/python-llvmlite.spec
index 23d0b11..e86d267 100644
--- a/python-llvmlite.spec
+++ b/python-llvmlite.spec
@@ -5,10 +5,11 @@
# We can generate PDF documentation as a substitute.
%bcond doc_pdf 1
-%global llvm_compat 20
+# Latest (or only) version of LLVM supported upstream
+%global llvm_major 22
Name: python-llvmlite
-Version: 0.47.0~rc1
+Version: 0.48.0
%global srcversion %(echo '%{version}' | tr -d '~')
Release: %{autorelease}
Summary: Lightweight LLVM Python binding for writing JIT compilers
@@ -41,7 +42,7 @@ Source: %{forgeurl}/archive/v%{srcversion}/llvmlite-%{srcversion}.tar.gz
BuildRequires: python3-devel
BuildRequires: %{py3_dist pytest}
-BuildRequires: llvm%{llvm_compat}-devel
+BuildRequires: llvm-devel(major) = %{llvm_major}
BuildRequires: gcc-c++
BuildRequires: cmake
@@ -101,7 +102,7 @@ echo 'intersphinx_mapping.clear()' >> docs/source/conf.py
%build
# See docs/source/admin-guide/install.rst.
-LLVM_CONFIG='%{_libdir}/llvm%{llvm_compat}/bin/llvm-config'
+LLVM_CONFIG='%{_libdir}/llvm%{llvm_major}/bin/llvm-config'
export CMAKE_PREFIX_PATH="$("${LLVM_CONFIG}" --cmakedir)/../"
export LLVMLITE_SHARED=1
# https://cmake.org/cmake/help/latest/manual/cmake-env-variables.7.html
@@ -131,7 +132,13 @@ export PYTEST_ADDOPTS="\
--deselect llvmlite/tests/test_binding.py::TestOrcLLJIT \
--deselect llvmlite/tests/test_binding.py::TestDylib::test_bad_library"
%endif
-%{pytest} -vv llvmlite/tests
+%ifarch %{ix86} s390x riscv64
+# Test test_optsize_minsize fails on at least i686, s390x, and riscv64
+# architectures
+# https://github.com/numba/llvmlite/issues/1449
+k="${k-}${k+ and }not test_optsize_minsize"
+%endif
+%{pytest} -vv -k "${k-}" llvmlite/tests
%endif
%files -n python3-llvmlite -f %{pyproject_files}
diff --git a/sources b/sources
index 8c5d990..78639e2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (llvmlite-0.47.0rc1.tar.gz) = 7409b4de4349eb4682ec5b911d45b25a20a5ce74f3184e756ce8b408200f653175bfca93583e639e8b32ca3a51737c46f13ce1f048bfaddf6598e212533b3062
+SHA512 (llvmlite-0.48.0.tar.gz) = ef11deb8449812e49755f38a5fb9f2f91f0951c7ce805e223b727bffbbce786f3e1553586bcbaec107d262a97b307deaa2dc4761840bd744996cce1718ff1a0f
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-05 4:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-05 4:26 [rpms/python-llvmlite] rawhide: Update to 0.48.0 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