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
Conversation
… pip for photutils)
There was a problem hiding this 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.
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 installPython 3.8
,Numpy 1.19.1
andAstropy 4.0.1
for tests. This also facilitates a few more updates, such as usinghealpy 1.14.0
andpip 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 usePython 3.6
. It didn't seem straightforward to update these tests to usePython 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.