-
-
Notifications
You must be signed in to change notification settings - Fork 405
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
rename cds into mocserver #2766
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2766 +/- ##
=======================================
Coverage 66.10% 66.11%
=======================================
Files 234 235 +1
Lines 18057 18060 +3
=======================================
+ Hits 11937 11940 +3
Misses 6120 6120
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
383adbf
to
6b7d7e7
Compare
693cf41
to
25d1cca
Compare
❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some minor comments mostly about naming things, otherwise it all looks good.
If you have some time for a follow-up, definitely not part of this PR: I've noticed that the docs is still skipped for testing, fixing that would be superb. (other modules can be used as an example, basically removing the skip directives and using the doctest-remote-data directive, and in the meantime fixing any non-matching outputs).
Also, I noticed one of the remote tests run for a rather long time, I wonder whether it could cut back to something quicker/smaller? (to run all the tests for this module took me 8.5 minutes)
504e697
to
16d204d
Compare
Thanks for the review! I think I addressed your comments. Let me know if I got them wrong.
Definitely adding these two things to my list. Won't be before the end of the summer holiday though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few very minor suggestions that I'll just directly commit to the branch, and then merge when we get the new green CI status.
Thank you very much for the quick turnaround with the PR!
4a48005
to
d9b1e3c
Compare
|
Awesome! Thanks! |
This PR is linked to the discussion we had in #2764
Please comment because I was unsure about the best way to inform of the deprecation without breaking API too much.
For now, the behaviour is that when a user does :
There is a warning but the class is still imported with its old name:
However, if the import is done with
import astroquery
only, the users code will be broken.Is there a better way to do this?
Thanks a lot for everything astroquery does <3
PS: the MOCserver module will receive some love from CDS soon because there is now the possibility to query TimeMOC and FrequencyMOC on our side and we'd like to update the library here too