Skip to content

TST: (numpy dev) new failing tests #15926

@neutrinoceros

Description

@neutrinoceros

Description

Three tests appear to be failing in devdeps even after #15924 is dealt with. Namely

  • astropy/units/tests/test_quantity_non_ufuncs.py::TestArgFunctions::test_argsort
  • astropy/utils/masked/tests/test_function_helpers.py::TestArgFunctions::test_argsort
  • astropy/utils/masked/tests/test_function_helpers.py::TestSortFunctions::test_sort

see https://github.com/astropy/astropy/actions/runs/7609867763/job/20722001589

I note that I'm unable to reproduce these failures locally (all tests pass with numpy built from source), so either the problem is already addressed upstream and wheels are just a couple hours behind (in which case it'll resolve itself tomorrow), or this is somehow platform specific and doesn't affect macOS.
edit: I don't know what I did wrong that day but in any case that's now incorrect, and I can now reproduce locally.

Expected behavior

No response

How to Reproduce

Install numpy dev, build pyerfa + astropy against it, then run (for instance)

pytest astropy/units/tests/test_quantity_non_ufuncs.py::TestArgFunctions::test_argsort

Versions

import platform; print(platform.platform())
import sys; print("Python", sys.version)
import astropy; print("astropy", astropy.__version__)
import numpy; print("Numpy", numpy.__version__)
import erfa; print("pyerfa", erfa.__version__)
#import scipy; print("Scipy", scipy.__version__)
#import matplotlib; print("Matplotlib", matplotlib.__version__)
macOS-14.2.1-arm64-arm-64bit
Python 3.12.1 (main, Dec 11 2023, 18:41:50) [Clang 15.0.0 (clang-1500.0.40.1)]
astropy 6.1.dev350+g681436af1d
Numpy 2.0.0.dev0+git20240122.89eac8b
pyerfa 2.0.1.2.dev11+gc498084

edit: PRs opened to fix this

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions