Skip to content

Conversation

@BradleySappington
Copy link
Collaborator

release preparation for v2.0.0

@BradleySappington BradleySappington self-assigned this Feb 14, 2025
@BradleySappington
Copy link
Collaborator Author

awaiting feedback from folks looking at the testpypi install:
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ legacy-webbpsf

@BradleySappington BradleySappington marked this pull request as draft February 14, 2025 19:06
@BradleySappington BradleySappington marked this pull request as ready for review February 18, 2025 16:01
Copy link
Collaborator

@marcio-melendez marcio-melendez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested the alias on a clean environment and installation. I imported webbpsf and it loaded the alias with the deprecation warning as expected:
DeprecationWarning: "
This message is for information only and WebbPSF will continue to function as normal.
The WebbPSF library has been moved/renamed to STPSF.
Please see https://stpsf.readthedocs.io/en/stable/ for more information.
WebbPSF is now an alias of STPSF and is running code from the STPSF library.

I was able to run webbpsf as expected. The alias uses STPSF_DATA path but if the users set WEBBPSF_DATA then it gets copied to STPSF_DATA .
Overall, a webbpsf user is transparent to STPSF running behind as an alias, i.e., a user can install webbpsf, download the latest webbpsf-data files and run webbpsf with no problems despite the fact that STPSF is the functional code.

@BradleySappington BradleySappington merged commit 5a9ff63 into spacetelescope:develop Feb 18, 2025
3 checks passed
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