public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sympy] rawhide: Adapt to test output changes caused by llvm 23
@ 2026-10-16 15:09 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-10-16 15:09 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/sympy
            Branch : rawhide
            Commit : c68512dd0d4eb06e6b57b421f35672df93c16934
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-10-16T09:09:03-06:00
            Stats  : +26/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/sympy/c/c68512dd0d4eb06e6b57b421f35672df93c16934?branch=rawhide

            Log:
            Adapt to test output changes caused by llvm 23

- Recommend python3-z3

---
diff --git a/sympy-llvm23.patch b/sympy-llvm23.patch
new file mode 100644
index 0000000..341ce3e
--- /dev/null
+++ b/sympy-llvm23.patch
@@ -0,0 +1,23 @@
+--- sympy-sympy-1.14.0/sympy/parsing/tests/test_c_parser.py.orig	2025-04-27 05:37:26.000000000 -0600
++++ sympy-sympy-1.14.0/sympy/parsing/tests/test_c_parser.py	2026-10-16 08:58:24.131636108 -0600
+@@ -2887,12 +2887,20 @@ if cin:
+                         Float('1.25', precision=53)
+                         )
+                     ),
++                'c2',
+                 Assignment(
+                     Variable(Symbol('c3')),
+                     Unequality(
+                         Float('1.2', precision=53),
+                         Symbol('a')
+                         )
++                    ),
++                Assignment(
++                    Variable(Symbol('c4')),
++                    Unequality(
++                        Float('1.5', precision=53),
++                        Symbol('b')
++                        )
+                     )
+                 )
+             )

diff --git a/sympy.spec b/sympy.spec
index 3bb103c..58de446 100644
--- a/sympy.spec
+++ b/sympy.spec
@@ -29,6 +29,8 @@ Patch:          %{name}-sphinx9.patch
 # Fix compatibility with llvmlite 0.48
 # https://github.com/sympy/sympy/pull/30006
 Patch:          %{giturl}/pull/30006.patch
+# Adapt to test output changes caused by llvm 23
+Patch:          %{name}-llvm23.patch
 
 # We have to build on an architecture that:
 # - Supports Java (for antlr4), which excludes 32-bit x86
@@ -121,6 +123,7 @@ Recommends:     %{py3_dist numexpr}
 Recommends:     %{py3_dist pycosat}
 Recommends:     %{py3_dist pyglet}
 Recommends:     %{py3_dist scipy}
+Recommends:     python3-z3
 
 %description -n python3-%{name}
 %_description

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

only message in thread, other threads:[~2026-10-16 15:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16 15:09 [rpms/sympy] rawhide: Adapt to test output changes caused by llvm 23 Jerry James

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