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

Update Travis for the Python 3.8/Astropy 4.x combination #640

Merged
merged 14 commits into from Sep 16, 2020

Conversation

geordie666
Copy link
Contributor

This PR updates the online Travis tests to better resemble the desiconda 20.8 release, which addresses #639.

Basically, we switch the .travis.yml file to install Python 3.8, Numpy 1.19.1 and Astropy 4.0.1 for tests. This also facilitates a few more updates, such as using healpy 1.14.0 and pip 20.2.2.

Although the key tests are updated for the Python 3.8/Astropy 4.0.1 combination, the "stable" test (which is an allowed failure) and the sphinx build still use Python 3.6. It didn't seem straightforward to update these tests to use Python 3.8 (yet), and it isn't as critical that these tests align exactly with the environment at NERSC.

This PR also brought along a useful script that can generate the QSO Random Forest probabilities for a target (or sweeps) file for post-facto analysis.

Copy link
Contributor

@sbailey sbailey 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, thanks. For the record, regarding some tests on py3.6 and others on py3.8, I view it as a feature rather than a problem when the Travis tests have somewhat different versions of numpy etc. than NERSC so we get additional coverage since people's laptops may also have significantly newer or older versions than what is current at NERSC. Good to update tests to fitsio/1.x and astropy/4.x though since we no longer support fitsio/0.x and astropy/2.x.

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