Skip to content

Commit

Permalink
Merge pull request #48 from mattpitkin/erfa
Browse files Browse the repository at this point in the history
Get rid of astropy.erfa deprecation warning
  • Loading branch information
vallis authored Oct 17, 2023
2 parents 7c3bb1c + 6d9fc4a commit ba5c332
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions libstempo/libstempo.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ try:
from astropy.units import Quantity
from astropy.time import Time
import astropy.constants
try:
import astropy.erfa as erfa
except ImportError:
import astropy._erfa as erfa
import erfa

# missing several parameters; units are discussed in tempo2/initialize.C

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Cython>=0.22
numpy>=1.15.0
scipy>=1.2.0
matplotlib>=3.3.2
astropy>=4.1
ephem>=3.7.7.1
astropy>=4.2
ephem>=3.7.7.1

0 comments on commit ba5c332

Please sign in to comment.