Open wtreach opened 2 hours ago
Welcome to sbpy 👋 and thank you for your first issue!
A project member will respond to you as soon as possible; in the meantime, please double-check the (Astropy) guidelines for submitting issues and make sure you've provided the requested details.
GitHub issues in the sbpy repository are used to track bug reports and feature requests; If your issue poses a question about how to use sbpy, please instead raise your question in sbpy Discussions and close this issue.
High-level problem description A warning is issued when importing sbpy, indicating that an astropy call used by sbpy will be deprecated soon. This could make a problem with using sbpy after two minor releases of astropy.
What did you do? A one-line test program: from sbpy.data import Ephem Then I get the message: WARNING: AstropyDeprecationWarning: Importing ErfaWarning from astropy.utils.exceptions was deprecated in version 6.1 and will stop working in a future version. Instead, please use from erfa import ErfaWarning [astropy.utils.exceptions]
What did you expect? No warning message.
What did really happen? The code works fine; this is only an issue for future protability.
Provide information on your environment: operating system and version: MacOS 14.6.1 sbpy @ git+https://github.com/NASA-Planetary-Science/sbpy.git@88ae68b5c4bc7a6d58f848fb40c0d572533c0a6d astropy version: 6.1.4 numpy version: 1.24.4