-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
vo_conesearch errors with astropy-dev #2054
Comments
cc @pllim |
Yeah, @tomdonaldson and I already fantasize about retiring |
Oh, there are errors too, eh? Hmm, I'll have to investigate, but still, you can ignore the warnings. |
Yes, I'm ignoring all vo warnings, some are cone search related some are coming from various votable parsings in other modules. However the error is unrelated to the cleanup and scrictening warning handling, as they show up also in Adam's pr. |
But if vo cone search is going away in the short timescale then I'm perfectly happy with ignoring the errors with an xfail for now. |
I wouldn't hold my breath. I will see if I can fix the errors. Thanks for bringing this to my attention! |
This comment has been minimized.
This comment has been minimized.
p.p.s. I am really confused now. I cannot reproduce the error locally. Investigation continues. |
p.p.p.s. Why is JSON trying to decode what looks like a FITS header? 🤯 |
The traceback from CI makes no sense. Why am I seeing a FITS header here? It is supposed to be reading a JSON file off test data dir. I tried raising errors with filename and content, but when I did that, it gave me the stuff I expected.
|
OK I can reproduce it now but only by running |
I wonder if this is naturally solved if you apply APE 17. I don't think it is a bug within |
Hmm... I wonder if this is caused by your monkeypatch to |
Weird as we run pytest with tox in CI. Maybe it's a minor version bug somewhere, or as you say due to the utils.data changes. |
Okay, I strongly suspect astropy/astropy#10434 . The fix is either patch your monkeypatch in |
Yeah, narrowed it down to some weird interactions between tests in
You get new set of errors if you run this:
🤯 |
ouch, that |
Given this only affects the test monkeypatches, would you think it's safe to assume no users would run into issues due to this? If so, then xfail and an issue for refactoring the monkeypatch could be a way to go. |
I might have found a fix over at #2059 . Though we're going to have this problem again manifesting next time someone touches |
There are quite a few errors coming for
astroquery.vo_conesearch
when testing with the current dev version of astropySee: https://github.com/astropy/astroquery/pull/2050/checks?check_run_id=2500552000
(and also there are a ton of warnings, but maybe we can ignore those...)
The text was updated successfully, but these errors were encountered: