conda-forge / sage-feedstock

A conda-smithy repository for sage.
BSD 3-Clause "New" or "Revised" License
7 stars 11 forks source link

Upgrade to 10.2 #93

Closed saraedum closed 10 months ago

saraedum commented 10 months ago

Checklist

Dependencies
conda-forge-webservices[bot] commented 10 months ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

saraedum commented 10 months ago

@conda-forge-admin, please rerender

github-actions[bot] commented 10 months ago

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/sage-feedstock/actions/runs/7124498233.

saraedum commented 10 months ago

Let's see if the missing upgrades are actually necessary.

saraedum commented 10 months ago

Let's try again with an updated rw.

isuruf commented 10 months ago
File "src/sage/interfaces/singular.py", line 1265, in sage.interfaces.singular.Singular.version
Failed example:
    singular.version()
Exception raised:
    Traceback (most recent call last):
      File "$PREFIX/lib/python3.11/site-packages/sage/doctest/forker.py", line 709, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "$PREFIX/lib/python3.11/site-packages/sage/doctest/forker.py", line 1144, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.interfaces.singular.Singular.version[0]>", line 1, in <module>
        singular.version()
      File "$PREFIX/lib/python3.11/site-packages/sage/interfaces/singular.py", line 1268, in version
        return singular_version()
               ^^^^^^^^^^^^^^^^^^
      File "$PREFIX/lib/python3.11/site-packages/sage/interfaces/singular.py", line 2464, in singular_version
        return singular.eval('system("--version");')
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "$PREFIX/lib/python3.11/site-packages/sage/interfaces/singular.py", line 667, in eval
        raise SingularError('Singular error:\n%s' % s)
    sage.interfaces.singular.SingularError: Singular error:
    *** stack smashing detected ***: $PREFIX/bin/Singular terminated
    Singular : signal 11 (v: 4212):
    current line:>>system("--version");<<
    Segment fault/Bus error occurred at 7fff8374f970 because of 10246 (r:101047404)
    please inform the authors
    trying to restart...
**********************************************************************
saraedum commented 10 months ago

Unsurprisingly, running system("--version"); directly in our singular works fine on my machine.

saraedum commented 10 months ago

Hm…but we pulled in singular: 4.2.1.p3-h1ea75ed_2 conda-forge instead of the latest version.

saraedum commented 10 months ago

I guess we need a singular built against an old FLINT here.

See https://github.com/conda-forge/singular-feedstock/pull/26

saraedum commented 10 months ago

We wait for the migration bot to rebuild sagelib with the new version of Singular, i.e., https://github.com/conda-forge/sagelib-feedstock/pull/168

saraedum commented 10 months ago

@isuruf, I cannot reproduce the Singular error locally. Apart from that, Singular seems to work fine since lots of tests that rely on it do pass.