-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
BUG: JPLSpec failures with dev versions of dependencies #2934
Comments
I don't have an immediate explanation. Can you point to the specific version combinations that trigger this? |
dev numpy+dev astropy, e.g. : |
not sure what we should do with this one, it's quite annoyingly turning the CI for all PRs red for one of the jobs, and is indeed a real failure that only pops up with new versions. |
OK, so to narrow it down, this is due to astropy dev, and shows with older python and numpy released versions, too. cc @pllim |
I think I managed to narrow it down. Still not sure why it popped up, but clearly the molecule lookup with that somewhat complicated regex is the culprit, but unfortunately #2901 is not a solution for it. |
Hmm something to do with |
Oh wait, you did a |
Spot the nonsense here (and yes, some of the Table slicing has change, but it's not Table's fault).
(And I don't know the answer to your question, I suppose doing a regex lookup on a dictionary rather than on a Table seemed like a good idea, though we shouldn't have let it go ahead with selection a column this particular way...) |
Okay, phew. But if somehow astropy broke some backward compatibility in a non-sensible way, please do report upstream. Thanks for checking! |
I think this way of selecting a column makes no sense, so no worries about it upstream, but if you think it's a legitimate usecase then it has to be reported and looked at.
|
I am really not sure if Tom Aldcroft had any conscious design for calls like |
column, they wanted the second column based on the code comment as well as previous behaviour. weird way to go for it, when |
jplspec failures started to show with the dev versions of numpy/astropy. I haven't yet pinpointed down the reason, maybe @keflavich you have some better ideas?
(this one copied below comes up in CI, but if you run the remote tests for the module a lot more tests fail with similar problems)
The text was updated successfully, but these errors were encountered: