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

No longer discarding single untyped interfaces. #402

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

msdemlei
Copy link
Contributor

This fixes an (unreported) bug where, when there is just a single interface of a single capability of a service and that is missing either a type or a role, it would get discarded as a consequence of the way we work around VOTable's lack of proper string arrays.

Not sure if this (minor -- the services pyVO actually cares about all have types and roles) bug fix warrants a changelog entry. Let me know if you want one.

@codecov
Copy link

codecov bot commented Jan 20, 2023

Codecov Report

Merging #402 (8d0d6f5) into main (979276d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #402   +/-   ##
=======================================
  Coverage   79.96%   79.97%           
=======================================
  Files          52       52           
  Lines        5971     5972    +1     
=======================================
+ Hits         4775     4776    +1     
  Misses       1196     1196           
Impacted Files Coverage Δ
pyvo/registry/regtap.py 79.03% <100.00%> (+0.08%) ⬆️

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

This fixes an (unreported) bug where, when there is just a single interface
of a single capability of a service and that is missing either a type
or a role, it would get discarded as a consequence of the way we work
around VOTable's lack of proper string arrays.
Copy link
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

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

All looks good, thanks @msdemlei for the fix.

I'm going back and forth with the changelog entry, it's very much on the borderline. as it's unreported and very unlikely that anyone relied on the buggy behaviour added in 1.4, I would treat it as affects-dev.

@bsipocz bsipocz added this to the v1.4.1 milestone Jan 24, 2023
@bsipocz
Copy link
Member

bsipocz commented Jan 24, 2023

Thanks @msdemlei!

@bsipocz bsipocz merged commit cc97126 into main Jan 24, 2023
bsipocz added a commit that referenced this pull request Mar 7, 2023
…terfaces

No longer discarding single untyped interfaces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants