diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index ffa8378..e49a3bb 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -78,10 +78,10 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: Install build package run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0b32988..5cc4ab2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ ci: autofix_prs: false repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,7 +10,7 @@ repos: - id: check-yaml - id: check-added-large-files - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.0 + rev: v0.14.10 hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/.snyk b/.snyk index aa2f47b..09a7bb9 100644 --- a/.snyk +++ b/.snyk @@ -1,4 +1,4 @@ # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. version: v1.25.0 language-settings: - python: "3.11" + python: "3.12" diff --git a/CHANGELOG.md b/CHANGELOG.md index f1c5d30..9fd8647 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,14 +4,16 @@ HyBIG follows semantic versioning. All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). -## [vX.Y.Z] - Unreleased +## [v2.5.1] - 2026-01-06 ### Changed * GitHub release notes for HyBIG will now include the commit history for that release. -## [v2.5.0] - Unreleased +* Service libraries updated to address vulnerabilities. + +## [v2.5.0] - 2026-12-03 ### Changed @@ -144,6 +146,9 @@ For more information on internal releases prior to NASA open-source approval, see legacy-CHANGELOG.md. [unreleased]: https://github.com/nasa/harmony-browse-image-generator/ +[v2.5.1]: https://github.com/nasa/harmony-browse-image-generator/releases/tag/2.5.1 +[v2.5.0]: https://github.com/nasa/harmony-browse-image-generator/releases/tag/2.5.0 +[v2.4.2]: https://github.com/nasa/harmony-browse-image-generator/releases/tag/2.4.2 [v2.4.1]: https://github.com/nasa/harmony-browse-image-generator/releases/tag/2.4.1 [v2.4.0]: https://github.com/nasa/harmony-browse-image-generator/releases/tag/2.4.0 [v2.3.0]: https://github.com/nasa/harmony-browse-image-generator/releases/tag/2.3.0 diff --git a/README.md b/README.md index 1aea263..660a250 100644 --- a/README.md +++ b/README.md @@ -249,6 +249,7 @@ also with units of degrees. ## Repository structure: ``` +|- .snyk |- 📂 bin |- 📂 docker |- 📂 docs @@ -267,6 +268,12 @@ also with units of degrees. ``` +* `.snyk` - A file used by the Snyk webhook to ensure the correct version of + Python is used when installing the full dependency tree for the project. This + file is duplicated in each directory that contains a requirements + file. (`./docs`, `./tests`) **This file, and all copies, must be updated when + the version of Python is updated in the service Docker image.** + * `bin` - A directory containing utility scripts to build the service and test images. A script to extract the release notes for the most recent version, as contained in `CHANGELOG.md` is also in this directory. @@ -336,7 +343,7 @@ independent of the main Harmony application: ``` -> conda create --name hybig-env python==3.11 +> conda create --name hybig-env python==3.12 > pip install -r pip_requirements.txt -r pip_requirements_skip_snyk.txt > pip install -r dev-requirements.txt diff --git a/docker/service_version.txt b/docker/service_version.txt index 437459c..73462a5 100644 --- a/docker/service_version.txt +++ b/docker/service_version.txt @@ -1 +1 @@ -2.5.0 +2.5.1 diff --git a/docs/.snyk b/docs/.snyk new file mode 100644 index 0000000..09a7bb9 --- /dev/null +++ b/docs/.snyk @@ -0,0 +1,4 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +language-settings: + python: "3.12" diff --git a/docs/requirements.txt b/docs/requirements.txt index 3080d1a..5d220dc 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,2 @@ -notebook==7.2.2 -harmony-py~=0.4.14 +notebook~=7.5.1 +harmony-py~=1.3.3 diff --git a/pip_requirements.txt b/pip_requirements.txt index 736ebe9..d68169b 100644 --- a/pip_requirements.txt +++ b/pip_requirements.txt @@ -1,4 +1,4 @@ -harmony-service-lib~=2.0.0 +harmony-service-lib~=2.11.0 matplotlib==3.9.0 numpy==1.26.4 pillow==10.4.0 diff --git a/tests/.snyk b/tests/.snyk new file mode 100644 index 0000000..09a7bb9 --- /dev/null +++ b/tests/.snyk @@ -0,0 +1,4 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +language-settings: + python: "3.12"