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

Astropy updates 2023.07 #381

Merged
merged 2 commits into from
Jul 25, 2023

Conversation

mkelley
Copy link
Member

@mkelley mkelley commented Jul 24, 2023

Currently supported astropy is >=4.3. Remove code branches for astropy < 4. Remove commented out reference to a deprecated astropy method.

@mkelley mkelley requested a review from jianyangli July 24, 2023 17:04
@codecov
Copy link

codecov bot commented Jul 24, 2023

Codecov Report

Merging #381 (3966709) into main (fc90ec0) will increase coverage by 0.03%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##             main     #381      +/-   ##
==========================================
+ Coverage   76.80%   76.84%   +0.03%     
==========================================
  Files          78       78              
  Lines        6984     6974      -10     
==========================================
- Hits         5364     5359       -5     
+ Misses       1620     1615       -5     
Impacted Files Coverage Δ
sbpy/conftest.py 85.71% <50.00%> (+12.03%) ⬆️
sbpy/activity/dust.py 99.15% <100.00%> (+1.57%) ⬆️

@jianyangli
Copy link
Contributor

@mkelley can you give me some context for this PR? I remember seeing a relevant message from someone astropy, but didn't keep track of it. Thanks.

@mkelley
Copy link
Member Author

mkelley commented Jul 25, 2023

This address issue #372, and simplifies the Afrho/Efrho code.

@mkelley
Copy link
Member Author

mkelley commented Jul 25, 2023

And removes some code from the testing setup in conftest.py Since we do not support astropy < 4.3, none of these lines are executed in our tests, which is why the coverage is increased by this PR.

@jianyangli
Copy link
Contributor

Thanks Mike. All looks good to me. I also linked this PR with issue #372 if that's OK with you.

@mkelley
Copy link
Member Author

mkelley commented Jul 25, 2023

Perfect!

@mkelley mkelley merged commit 36285d0 into NASA-Planetary-Science:main Jul 25, 2023
7 of 8 checks passed
@mkelley mkelley deleted the astropy-updates-2023.07 branch July 25, 2023 13:55
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.

Notice: You might be using enable_deprecations_as_exceptions that is removed in astropy v6
2 participants