Skip to content
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

DEP: Deprecate vodataservice Table #484

Merged
merged 2 commits into from
Aug 30, 2023

Conversation

bsipocz
Copy link
Member

@bsipocz bsipocz commented Aug 29, 2023

to close #477

I haven't touched the other classes in the module, for consistency it may make some sense to rename all with the prefix VODataService, but unlike for Table, it would be purely cosmetical for them.

@bsipocz bsipocz added this to the v1.5 milestone Aug 29, 2023
@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Merging #484 (f36247e) into main (3ec378e) will increase coverage by 0.01%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main     #484      +/-   ##
==========================================
+ Coverage   80.00%   80.01%   +0.01%     
==========================================
  Files          52       52              
  Lines        6035     6039       +4     
==========================================
+ Hits         4828     4832       +4     
  Misses       1207     1207              
Files Changed Coverage Δ
pyvo/registry/regtap.py 82.82% <0.00%> (ø)
pyvo/io/vosi/vodataservice.py 87.13% <87.50%> (+0.11%) ⬆️
pyvo/io/vosi/endpoint.py 87.23% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@msdemlei msdemlei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks!

query result from get_tables.
"""
res = vodataservice.Table()
res = vodataservice.VODataServiceTable()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm. I wonder why the coverage machinery considers this uncovered. I've just checked: all of test_regtap.TestGetTables fail if you get this wrong. I won't debug codecov, but I consider this warning a false positive.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

codecov is sometimes behaves weird. My usual approach for it is not to take it too seriously, but if it indicates something substantial, look into the details manually.
Thank you for doing it for this case.

@bsipocz
Copy link
Member Author

bsipocz commented Aug 30, 2023

The RTD failing status has already been fixed in main, so with the approval I go ahead and merge this, it should all pass once merged.

@bsipocz bsipocz merged commit 0806b46 into astropy:main Aug 30, 2023
@bsipocz bsipocz deleted the deprecate_vodataservice_Table branch October 20, 2023 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DEP: rename and reprecate Table that are not astropy.table.Table
2 participants