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

MAINT: Numpy 2.0 compat #43

Merged
merged 1 commit into from
Sep 19, 2023
Merged

MAINT: Numpy 2.0 compat #43

merged 1 commit into from
Sep 19, 2023

Conversation

larsoner
Copy link
Contributor

Should fix https://dev.azure.com/mne-tools/mne-python/_build/results?buildId=26981&view=logs&jobId=dded70eb-633c-5c42-e995-a7f8d1f99d91&j=dded70eb-633c-5c42-e995-a7f8d1f99d91&t=d18f7f2f-13af-5901-1cbc-7fa039d0db3a

================================== FAILURES ===================================
________________________________ test_birthday ________________________________
mne\io\snirf\tests\test_snirf.py:475: in test_birthday
    snirf = pytest.importorskip("snirf")
C:\hostedtoolcache\windows\Python\3.11.5\x64\Lib\site-packages\snirf\__init__.py:1: in <module>
    from .pysnirf2 import *
C:\hostedtoolcache\windows\Python\3.11.5\x64\Lib\site-packages\snirf\pysnirf2.py:145: in <module>
    _STR_DTYPES = [str, np.string_]
C:\hostedtoolcache\windows\Python\3.11.5\x64\Lib\site-packages\numpy\__init__.py:397: in __getattr__
    raise AttributeError(
E   AttributeError: `np.string_` was removed in the NumPy 2.0 release. Use `np.bytes_` instead.

@sstucker sstucker merged commit f7f07bd into BUNPC:main Sep 19, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants