Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Calling numpy.test(label="full") hits "import numpy.array_api" #25923

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

Closed
mattip opened this issue Mar 4, 2024 · 0 comments · Fixed by #25924
Closed

Calling numpy.test(label="full") hits "import numpy.array_api" #25923

mattip opened this issue Mar 4, 2024 · 0 comments · Fixed by #25924
Labels

Comments

@mattip
Copy link
Member

mattip commented Mar 4, 2024

The latest wheel build fails:

 + python -c 'import sys; import numpy; sys.exit(not numpy.test(label='\''full'\'', extra_argv=['\''-n=auto'\'']))'
  /tmp/tmp.NFUesWw0Kn/venv/lib/python3.9/site-packages/numpy/_pytesttester.py:143: DeprecationWarning: 
  
    `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
    of the deprecation of `distutils` itself. It will be removed for
    Python >= 3.12. For older Python versions it will remain present.
    It is recommended to use `setuptools < 60.0` for those Python versions.
    For more details, see:
      https://numpy.org/devdocs/reference/distutils_status_migration.html 
  
  
    from numpy.distutils import cpuinfo
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/tmp.NFUesWw0Kn/venv/lib/python3.9/site-packages/numpy/_pytesttester.py", line 150, in __call__
      import numpy.array_api
  ModuleNotFoundError: No module named 'numpy.array_api'

I am investigating.

xref #25918

@mattip mattip changed the title Calling numpy.test(lable="full") hits "import numpy.array_api" Calling numpy.test(label="full") hits "import numpy.array_api" Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants