Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.11.0rc1: remaining test failures in conda-forge #18632

Closed
h-vetinari opened this issue Jun 5, 2023 · 1 comment · Fixed by #18658
Closed

1.11.0rc1: remaining test failures in conda-forge #18632

h-vetinari opened this issue Jun 5, 2023 · 1 comment · Fixed by #18658
Labels
CI Items related to the CI tools such as CircleCI, GitHub Actions or Azure maintenance Items related to regular maintenance tasks
Milestone

Comments

@h-vetinari
Copy link
Member

h-vetinari commented Jun 5, 2023

After fixes for #18600 & #18601, the following test failures remain in conda-forge/scipy-feedstock#235:

On linux-ppc64le:

=================================== FAILURES ===================================
_____ TestHyp1f1.test_a_negative_integer[-150-1-1.5--0.17336479551542044] ______
[gw0] linux -- Python 3.11.3 $PREFIX/bin/python
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.11/site-packages/scipy/special/tests/test_hypergeometric.py:78: in test_a_negative_integer
    assert_allclose(sc.hyp1f1(a, b, x), result, atol=0, rtol=1e-14)
        a          = -150
        b          = 1
        result     = -0.17336479551542044
        self       = <scipy.special.tests.test_hypergeometric.TestHyp1f1 object at 0x4043766710>
        x          = 1.5
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.11/contextlib.py:81: in inner
    return func(*args, **kwds)
E   AssertionError: 
E   Not equal to tolerance rtol=1e-14, atol=0
E   
E   Mismatched elements: 1 / 1 (100%)
E   Max absolute difference: 2.24820162e-15
E   Max relative difference: 1.29680401e-14
E    x: array(-0.173365)
E    y: array(-0.173365)
        args       = (<function assert_allclose.<locals>.compare at 0x42d6f83600>, array(-0.1733648), array(-0.1733648))
        func       = <function assert_array_compare at 0x402211c360>
        kwds       = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-14, atol=0', 'verbose': True}
        self       = <contextlib._GeneratorContextManager object at 0x4021ed0cd0>

On windows + pypy (CC @mattip):

================================== FAILURES ===================================
____________________ TestShgoArguments.test_10_finite_time ____________________
[gw0] win32 -- Python 3.9.16 %PREFIX%\python.exe
..\_test_env\lib\site-packages\scipy\optimize\tests\test__shgo.py:703: in test_10_finite_time
    assert res.nit == 1
E   assert 4 == 1
E    +  where 4 =  message: Failed to find a feasible minimizer point. Lowest sampling point = 0.0\n success: False\n     fun: 0.0\n       x: [-1.000e+00 -1.000e+00]\n     nit: 4\n    nfev: 20\n   nlfev: 0\n   nljev: 0\n   nlhev: 0\n    tnev: 20.nit
        f          = <function TestShgoArguments.test_10_finite_time.<locals>.f at 0x000002cbbde24ac0>
        options    = {'maxtime': 1e-15}
        res        =  message: Failed to find a feasible minimizer point. Lowest sampling point = 0.0
 success: False
     fun: 0.0
       x: [-1.000e+00 -1.000e+00]
     nit: 4
    nfev: 20
   nlfev: 0
   nljev: 0
   nlhev: 0
    tnev: 20
        self       = <scipy.optimize.tests.test__shgo.TestShgoArguments object at 0x000002cb9cf3f328>
@h-vetinari h-vetinari added maintenance Items related to regular maintenance tasks CI Items related to the CI tools such as CircleCI, GitHub Actions or Azure labels Jun 5, 2023
@mattip
Copy link
Contributor

mattip commented Jun 10, 2023

windows + pypy is probably not going to get a fix any time soon. If you want a clean test suite, I would suggest you skip the failure.

rgommers added a commit to rgommers/scipy that referenced this issue Jun 11, 2023
The ppc64le one is a small test bump. The PyPy-on-Windows one
is a real bug in PyPy, but it's not planned to be fixed any time
soon, so the test is xfail-ed here.

Closes scipygh-18632

[skip circle] [skip cirrus]
@tylerjereddy tylerjereddy added this to the 1.11.0 milestone Jun 12, 2023
tylerjereddy pushed a commit to tylerjereddy/scipy that referenced this issue Jun 13, 2023
The ppc64le one is a small test bump. The PyPy-on-Windows one
is a real bug in PyPy, but it's not planned to be fixed any time
soon, so the test is xfail-ed here.

Closes scipygh-18632

[skip circle] [skip cirrus]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Items related to the CI tools such as CircleCI, GitHub Actions or Azure maintenance Items related to regular maintenance tasks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants