You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use case is where libs change string representations and testing against multiple versions. Currently doing it via pytest config but would be nice to allow per statement
doctest_subpackage_requires =
* = numpy>2.0
The text was updated successfully, but these errors were encountered:
I don't see how # doctest: requires numpy>2.0 could be better because that means you have to keep applying that to all the following lines that would depend on that line.
I would review such a PR, but very likely won't have time to implement it myself as it has a very narrow use case especially as we're coming close to the recommended drop date of <2.0 numpy (See: https://scientific-python.org/specs/spec-0000/#support-window)
It's just something different I, other users, need to remember as I'm used adding +SKIP and +REMOTE inline and was the first thing I thought to try. I think this issue can probably be close now anyway, need to read the docs more carefully, thanks the help. This specific request was for NDCube 2.3.0 as the default repr changed numpy as just another more common example.
E.g something like this? I've tried everything obvious to me but ...
Use case is where libs change string representations and testing against multiple versions. Currently doing it via pytest config but would be nice to allow per statement
The text was updated successfully, but these errors were encountered: