-
Notifications
You must be signed in to change notification settings - Fork 225
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
Failing doctest on pygmt.clib.conversion.dataarray_to_matrix with NumPy 2.0 #2628
Comments
It's caused by upstream changes in NumPy 2.0. References: |
Nice job tracking this down! What do you think we should do here? Seems like this only affects the Since |
Let's wait for more days or weeks. |
Honestly, I'm not sure when we have a proper way to handle this in doctestplus. In the meantime, you can do the workaround in your conftest: https://github.com/astropy/astroquery/blob/main/astroquery/conftest.py#L17 |
Currently, the returned |
We still have the issue in the doctests workflow (see https://github.com/GenericMappingTools/pygmt/actions/runs/9629554292/job/26559112184):
|
Description of the problem
The following doctest started failing on the GMT Dev Tests on 28 Jul 2023, previously passing on 26 Jul 2023. See https://github.com/GenericMappingTools/pygmt/actions/runs/5686923585/job/15414542417#step:16:723.
Doesn't seem to be an issue with upstream GMT, at least I don't see anything obvious in these 7 commits GenericMappingTools/gmt@f497711...c94da14.
The
region
variable is created here -pygmt/pygmt/clib/conversion.py
Lines 88 to 117 in 855f6fa
Minimal Complete Verifiable Example
Full error message
System information
Failing on:
Passing version:
Diff
The text was updated successfully, but these errors were encountered: