From 9b26e0d4389b60819dda33964d64ac5beab70301 Mon Sep 17 00:00:00 2001 From: Bradley Sappington Date: Fri, 13 Sep 2024 11:33:46 -0400 Subject: [PATCH 1/2] update versions of webbpsf-data and documentation --- .github/workflows/download_data.yml | 12 ++++++------ docs/release.rst | 6 ++++-- webbpsf/__init__.py | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/download_data.yml b/.github/workflows/download_data.yml index 401b12f1..5392f15d 100644 --- a/.github/workflows/download_data.yml +++ b/.github/workflows/download_data.yml @@ -1,6 +1,6 @@ -# downloads WebbPSF dataset and caches it to GitHub cache, -# making a new cache for a new data version -# the cache key is in the form `webbpsf-data-mini-1.3.0`, +# downloads WebbPSF dataset and caches it to GitHub cache, +# making a new cache for a new data version +# the cache key is in the form `webbpsf-data-mini-1.3.0`, # `webbpsf-data-full-1.2.6`, etc. # # To provide your own test workflow with the WebbPSF dataset, @@ -8,7 +8,7 @@ # and then use `retrieve_cache.yml` to retrieve that cache so you # don't have to download the entire dataset every time. # -# to set up a cache of WebbPSF data in your own repository, +# to set up a cache of WebbPSF data in your own repository, # create a workflow like the following: # # # .github/workflows/download_webbpsf.yml @@ -52,7 +52,7 @@ on: env: DATA_URL: https://stsci.box.com/shared/static/qxpiaxsjwo15ml6m4pkhtk36c9jgj70k.gz - MINIMAL_DATA_URL: https://stsci.box.com/shared/static/gkbnn3jwcootr9riwv0rv1t8rpvxl3vr.gz + MINIMAL_DATA_URL: https://stsci.box.com/shared/static/0dt9z6b927iqgtify2a4cvls9hvapi6k.gz jobs: download: @@ -76,4 +76,4 @@ jobs: version: ${{ steps.version.outputs.version }} cache_path: ${{ steps.cache_path.outputs.cache_path }} cache_key: ${{ steps.cache_key.outputs.cache_key }} - + diff --git a/docs/release.rst b/docs/release.rst index b05b8913..98e048a3 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -17,11 +17,13 @@ Releasing new data packages #. Find webbpsf-data-LATEST.tar.gz, and click on "more options" and "Update Version". Choose the newest version of webbpsf-data-#.#.#.tar.gz #. This will change the name of webbpsf-data-LATEST.tar.gz to be what you just uploaded, rename the file back to "webbpsf-data-LATEST.tar.gz" #. Upload to Box a separate version of webbpsf-data-#.#.#.tar.gz shared data folder for future storage. - #. Upload to Box the minimal-webbpsf-data-#.#.#.tar.gz shared data folder. + #. Find minimal-webbpsf-data-LATEST.tar.gz, and click on "more options" and "Update Version". Choose the newest version of minimal-webbpsf-data-#.#.#.tar.gz + #. This will change the name of minimal-webbpsf-data-LATEST.tar.gz to be what you just uploaded, rename the file back to "minimal-webbpsf-data-LATEST.tar.gz" + #. Upload to Box a separate version of minimal-webbpsf-data-#.#.#.tar.gz shared data folder for future storage. #. Verify the shared link of webbpsf-data-latest.tar.gz is the same that exists in ``docs/installation.rst`` ("copy shared link" then "link settings") #. A shared copy will be automatically configured in STScI Central Store with updated symlink ``/grp/jwst/ote/webbpsf-data`` - #. Update the URL in ``installation.rst`` under :ref:`data_install` + #. Update the URLS in ``installation.rst`` under :ref:`data_install` Details for using `master_data_release.sh`: ------------------------------------------- diff --git a/webbpsf/__init__.py b/webbpsf/__init__.py index 5578d6a7..76358dfe 100644 --- a/webbpsf/__init__.py +++ b/webbpsf/__init__.py @@ -40,7 +40,7 @@ class UnsupportedPythonError(Exception): # required. If changes to the code and data mean WebbPSF won't work # properly with an old data package, increment this version number. # (It's checked against $WEBBPSF_DATA/version.txt) -DATA_VERSION_MIN = (1, 3, 0) +DATA_VERSION_MIN = (1, 4, 0) class Conf(_config.ConfigNamespace): From cbfa5dc601ee6cba2bac8432c42dc2ae4cd1e717 Mon Sep 17 00:00:00 2001 From: Bradley Sappington Date: Fri, 13 Sep 2024 11:46:38 -0400 Subject: [PATCH 2/2] more pre-release upates --- CITATION.cff | 2 +- docs/relnotes.rst | 49 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/CITATION.cff b/CITATION.cff index f3a5a3a6..52d12674 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -56,4 +56,4 @@ abstract: >- including its Wide Field Instrument and a preliminary version of the Coronagraph Instrument. license: BSD-3-Clause -version: 1.3.1 +version: 1.4.0 diff --git a/docs/relnotes.rst b/docs/relnotes.rst index fe483fc7..64433389 100644 --- a/docs/relnotes.rst +++ b/docs/relnotes.rst @@ -23,7 +23,56 @@ See https://github.com/spacetelescope/webbpsf/issues for currently open issues a Version History and Change Log ------------------------------- + +Version 1.4.0 +============= + +*2024 September* + +We are pleased to announce the release of the latest version of WebbPSF version 1.4.0, now available on PyPi and GitHub. This release comes with new features and improvements including but not limited to: + +**What's Changed** +* Improve trending plots, particularly wfe_histogram arrows display by @mperrin in https://github.com/spacetelescope/webbpsf/pull/870 + +* build(deps): bump photutils from 1.12.0 to 1.13.0 by @dependabot in https://github.com/spacetelescope/webbpsf/pull/872 + +* more strict units handling; fixes some issues for astropy 6.0.0 compatibility by @mperrin in https://github.com/spacetelescope/webbpsf/pull/879 + +* add dedicated cache workflow that can be called by other projects by @zacharyburnett in https://github.com/spacetelescope/webbpsf/pull/877 + +* fix syntax error in `.github/workflows/download_data.yml` by @zacharyburnett in https://github.com/spacetelescope/webbpsf/pull/882 + +* use `pathlib` to handle a `WEBBPSF_PATH` with double slashes by @zacharyburnett in https://github.com/spacetelescope/webbpsf/pull/886 + +* Fix #888, typo in NIRSpec disperser list by @mperrin in https://github.com/spacetelescope/webbpsf/pull/889 + +* Use MASK_NRM to match AMI data by @rcooper295 in https://github.com/spacetelescope/webbpsf/pull/893 + +* minor: trending function add cycle 3 routine WFS PIDs by @mperrin in https://github.com/spacetelescope/webbpsf/pull/878 + +* Update NIRSpec aperture PAs by @mperrin in https://github.com/spacetelescope/webbpsf/pull/897 + +* build(deps): bump scipy from 1.13.0 to 1.14.0 by @dependabot in https://github.com/spacetelescope/webbpsf/pull/874 + +* Update citations by @BradleySappington in https://github.com/spacetelescope/webbpsf/pull/898 + +* using z range in requirements.txt by @BradleySappington in https://github.com/spacetelescope/webbpsf/pull/909 + +* Docs improvements, including for matching PSFs to data by @mperrin in https://github.com/spacetelescope/webbpsf/pull/899 + +* Enhance capabilities to simulate PSFs with larger JWST pupil by @obi-wan76 in https://github.com/spacetelescope/webbpsf/pull/908 + +* IFU mode improvements, continued by @mperrin in https://github.com/spacetelescope/webbpsf/pull/890 + +* Roman docs & figures updates by @Skyhawk172 in https://github.com/spacetelescope/webbpsf/pull/910 + +* add CI tests for mast_wss, in test_mast_wss.py by @mperrin in https://github.com/spacetelescope/webbpsf/pull/911 + + +**Full Changelog**: https://github.com/spacetelescope/webbpsf/compare/v1.3.0...v1.4.0 + Version 1.3.0 +============= *2024 May*