-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Copy conftest to top-level directory #516
Conversation
@bsipocz Did you ever figure out the This is now a problem because I need to add |
This same issue affects |
Nope, this was a constant annoyance, but I didn't get to the bottom of it. And since we started to use As for the printoptions, for astroquery I only added it to astroquery/conftest.py, but not to the very top level one, maybe that would be enough here, too? |
Another data point: if I change the it works. But that doesn't test the docs. |
@astrofrog Have you seen anything like this? Astropy has extensions and has a |
I tried that, but without the legacy printoptions in the top-level conftest, running |
6448e19
to
3dbdca9
Compare
Dang, you're right, it doesn't work for us either. Sometimes I added to my routine to specify package/conftest.py when running a single rst file (I can't remember why I started, something else didn't work), and it masked over this same issue. Thanks for investigating! |
bfc08cc
to
417ec9b
Compare
417ec9b
to
04822b9
Compare
I'm not sure it's possible to have a top-level |
This fixes the issue where the installed package versions were not shown during
tox
tests (but where show runningpytest
locally).This PR also uses numpy 1.25 print formatting to workaround the NumPy 2.0 repr changes that causes doctest to fail.