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

DM-34919-v23: backport single commit: workaround change in column handling in astropy 5.1 #695

Merged
merged 2 commits into from
Jun 15, 2022

Conversation

yalsayyad
Copy link

Astropy 5.1 has full support for multi-dimensional columns
and so has changed the way that a timespan column is named.
Support old and new approaches by checking astropy version.

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

@codecov
Copy link

codecov bot commented Jun 8, 2022

Codecov Report

Merging #695 (54d6225) into v23.0.x (1a76940) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           v23.0.x     #695   +/-   ##
========================================
  Coverage    83.78%   83.78%           
========================================
  Files          240      240           
  Lines        30510    30513    +3     
  Branches      5075     5075           
========================================
+ Hits         25563    25566    +3     
  Misses        3760     3760           
  Partials      1187     1187           
Impacted Files Coverage Δ
python/lsst/daf/butler/formatters/yaml.py 64.58% <100.00%> (ø)
tests/test_cliCmdQueryDimensionRecords.py 96.29% <100.00%> (+0.21%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 952c50c...54d6225. Read the comment docs.

yalsayyad and others added 2 commits June 15, 2022 11:14
complaint that _Yaml has no attribute encode
Astropy 5.1 has full support for multi-dimensional columns
and so has changed the way that a timespan column is named.
Support old and new approaches by checking astropy version.
@yalsayyad yalsayyad merged commit dd91f93 into v23.0.x Jun 15, 2022
@yalsayyad yalsayyad deleted the tickets/DM-34919-v23 branch June 15, 2022 17:17
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.

None yet

2 participants