From a8def994036b298dce9c05ad7c0bfa5a32a33c34 Mon Sep 17 00:00:00 2001 From: Nathan Dunfield Date: Fri, 29 May 2026 10:43:08 -0500 Subject: [PATCH] When both are present, use the `cypari2` backend rather than `cypari`. Previously, the cypari backend was used which can result in conflicts between the two packages resulting in a hard SIGABRT crash. --- realalg/__init__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/realalg/__init__.py b/realalg/__init__.py index f0daf54..5cf8ae8 100644 --- a/realalg/__init__.py +++ b/realalg/__init__.py @@ -7,7 +7,7 @@ # from .algebraic import RealNumberField, RealAlgebraic # noqa: F401 -INTERFACES = ['cypari', 'cypari2', 'sympy'] +INTERFACES = ['cypari2', 'cypari', 'sympy'] for interface in INTERFACES: try: module = import_module(f'realalg.{interface}_algebraic') diff --git a/setup.py b/setup.py index 7d58bca..73ce0c8 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ def readme(): setup( name='realalg', - version='0.3.6', + version='0.3.7', description='For manipulating real algebraic numbers', long_description=readme(), author='Mark Bell',