Skip to content

astropy 5.2#6

Merged
christinahedges merged 5 commits intoSSDataLab:mainfrom
jorgemarpa:astropy-5.2
Dec 13, 2022
Merged

astropy 5.2#6
christinahedges merged 5 commits intoSSDataLab:mainfrom
jorgemarpa:astropy-5.2

Conversation

@jorgemarpa
Copy link
Contributor

@jorgemarpa jorgemarpa commented Dec 12, 2022

Updating to use Astropy v5.2.

This is needed because the new Numpy v1.23 deprecated an attribute (np.asscalar) used by the units module in Astropy v4. Astropy v5.2 fixed this.

Astropy v5 uses python > 3.8. This means no support for python 3.7 in kbackground.

I checked that the modules we use from Astropy (io.fits and stats.sigma_clip) don't change behavior and return the same results as before.

The same updates are also needed in psfmachine. But because of dependency, we need to do them first here.

@christinahedges
Copy link
Contributor

Looks great to me, this fixes the tests, thanks @jorgemarpa !!!

@christinahedges christinahedges merged commit 398c51d into SSDataLab:main Dec 13, 2022
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.

2 participants