Skip to content

wcslib 6.2 update - #8592

Merged
nden merged 4 commits into
astropy:masterfrom
nden:wcslib-6.2-update
Apr 19, 2019
Merged

nden merged 4 commits into
astropy:masterfrom
nden:wcslib-6.2-update

Conversation

@nden

@nden nden commented Apr 18, 2019 •

Copy link
Copy Markdown
Contributor

I intend to write more tests but submitting this for initial review.

Resolves #7929

@nden nden added the wcs label Apr 18, 2019
@nden nden added this to the v3.2 milestone Apr 18, 2019
@astrofrog

Copy link
Copy Markdown
Member

@nden - can you rebase to make sure we are testing against the latest master? (I think this will fix the 32-bit failure)

@nden
nden force-pushed the wcslib-6.2-update branch from af9b20d to 7f8008b Compare April 18, 2019 15:30
@codecov

codecov Bot commented Apr 18, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #8592 into master will decrease coverage by 0.18%.
The diff coverage is 36.4%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #8592      +/-   ##
==========================================
- Coverage   86.82%   86.63%   -0.19%     
==========================================
  Files         386      386              
  Lines       58197    58411     +214     
  Branches     1060     1096      +36     
==========================================
+ Hits        50531    50606      +75     
- Misses       7051     7178     +127     
- Partials      615      627      +12
Impacted Files Coverage Δ
astropy/wcs/src/pyutil.c 68.38% <100%> (+1.29%) ⬆️
astropy/wcs/src/wcslib_wrap.c 61.33% <31%> (-4.27%) ⬇️
astropy/samp/hub.py 77.38% <0%> (-0.14%) ⬇️

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 33db190...ef96cae. Read the comment docs.

@bsipocz

bsipocz commented Apr 18, 2019

Copy link
Copy Markdown
Member

I'm not sure what'r wrong with circleci, it seems to run on your account/fork rather than on astropy. It also notoriously known as not working well with submodules, and the job is failing something helpers related.

I would suggest to merge the PR if everything else passes, and if there are real 32bit issues on master, patch it up in a follow-up PR.

@nden

nden commented Apr 18, 2019

Copy link
Copy Markdown
Contributor Author

@bsipocz Would it help if I try a fresh PR based on master later today and see if it resolves the issue?

@bsipocz

bsipocz commented Apr 18, 2019

Copy link
Copy Markdown
Member

@nden - honestly I don't know. I see this happened on circleCI before, but not yet identified the cause. So I suggest if you could fix the docs here, and we merge at a point when you foresee to have time to do a follow-up if needed.

@astrofrog

Copy link
Copy Markdown
Member

Rebasing on the latest master would be good if this isn't already the case.

@nden

nden commented Apr 18, 2019

Copy link
Copy Markdown
Contributor Author

@astrofrog This failure is after a rebase.

@astrofrog

Copy link
Copy Markdown
Member

Ok yeah I'm not sure then, as @bsipocz said CircleCI does weird things. Let's just ignore it, and focus on the docs build.

@nden
nden requested review from MSeifert04 and astrofrog April 18, 2019 21:26
@nden

nden commented Apr 18, 2019

Copy link
Copy Markdown
Contributor Author

This will need to be reviewed carefully as I am not very familiar with the package at that level.
@astrofrog and @MSeifert04 If you get a chance please review.

@astrofrog astrofrog left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks good to me - of course I didn't check all the WCSLIB changes themselves, but the changes in astropy.wcs itself look good. I tested this with a time cube I have and it worked fine. Just a small comment about the changelog below but approving already.

Once this is in, I'll work on making the APE 14 WCS class return proper Time objects for time coordinates, though that will likely not be done in time for v3.2 (which is ok).

Comment thread CHANGES.rst Outdated
astropy.wcs
^^^^^^^^^^^

- updated wcslib to v 6.2 [#8592]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it would be worth mentioning the improvement that the WCS class can now be used to parse headers that contain time axes?

Also super minor, I'd fix the capitalization as Updated WCSLIB to v6.2

@nden
nden force-pushed the wcslib-6.2-update branch from ef96cae to 7c1a914 Compare April 19, 2019 18:56
@nden

nden commented Apr 19, 2019

Copy link
Copy Markdown
Contributor Author

Running the tests one more time to make sure the conflivts were resolved correctly.

@nden
nden merged commit 5f632b9 into astropy:master Apr 19, 2019
@bsipocz

bsipocz commented Apr 19, 2019

Copy link
Copy Markdown
Member

It'll take a while to get this run on 32bit, but nevertheless we shall keep an eye on that build:
https://circleci.com/gh/astropy/astropy/29358

@nden
nden deleted the wcslib-6.2-update branch January 22, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

include wcslib 6.2 in release 3.2

3 participants