diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 26a5459..75d7037 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,4 +63,4 @@ jobs: with: name: python-package-distributions path: dist/ - - uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # release/v1 + - uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 9664461..b5efd38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes follow [Keep a Changelog](https://keepachangelog.com/) and versions follow semantic versioning. +## [0.2.3] - 2026-11-16 + +### Security + +- Update the PyPI publishing action to v1.14.3 (GHSA-5xjx-3w67-w9x9). + Scientific calculations and public APIs are unchanged. + ## [0.2.2] - 2026-08-23 ### Added diff --git a/CITATION.cff b/CITATION.cff index f5129b0..4ca3194 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -2,7 +2,7 @@ cff-version: 1.2.0 message: "If you use ReactorCheck, please cite this software." title: "ReactorCheck" type: software -version: 0.2.2 +version: 0.2.3 date-released: 2026-08-23 license: MIT repository-code: "https://github.com/hdkim99/ReactorCheck" diff --git a/pyproject.toml b/pyproject.toml index 2afba6b..25b3bf6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "reactorcheck" -version = "0.2.2" +version = "0.2.3" description = "Unit-aware catalytic reactor analysis from compositions or measured species flows." readme = "README.md" requires-python = ">=3.10" diff --git a/src/reactorcheck/__init__.py b/src/reactorcheck/__init__.py index 375e6bb..4e4610e 100644 --- a/src/reactorcheck/__init__.py +++ b/src/reactorcheck/__init__.py @@ -18,4 +18,4 @@ "analyze_file", "analyze_frame", ] -__version__ = "0.2.2" +__version__ = "0.2.3" diff --git a/src/reactorcheck/units.py b/src/reactorcheck/units.py index 5f407e4..7f13040 100644 --- a/src/reactorcheck/units.py +++ b/src/reactorcheck/units.py @@ -17,7 +17,7 @@ STANDARD_TEMPERATURE = 273.15 * ureg.kelvin STANDARD_PRESSURE = 1.0 * ureg.atmosphere -GAS_CONSTANT = 8.31446261815324 * ureg.joule / ureg.mole / ureg.kelvin +GAS_CONSTANT: pint.Quantity[Any] = 8.31446261815324 * ureg.joule / ureg.mole / ureg.kelvin class UnitError(ValueError): diff --git a/tests/test_project_metadata.py b/tests/test_project_metadata.py index 3da6737..bc8a4e7 100644 --- a/tests/test_project_metadata.py +++ b/tests/test_project_metadata.py @@ -54,7 +54,7 @@ def test_release_workflow_is_trusted_publishing_only() -> None: assert "/tmp/reactorcheck-release-venv/bin/python -m pip check" in workflow assert "id-token: write" in workflow assert "name: pypi" in workflow - assert "pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33" in workflow + assert "pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086" in workflow assert "PYPI_API_TOKEN" not in workflow assert "secrets." not in workflow publish = workflow.split(" publish:\n", maxsplit=1)[1] diff --git a/tests/test_version.py b/tests/test_version.py index 4c6c57c..25fbf2d 100644 --- a/tests/test_version.py +++ b/tests/test_version.py @@ -18,4 +18,4 @@ def _match(path: Path, pattern: str) -> str: def test_version_surfaces_are_consistent() -> None: pyproject = _match(ROOT / "pyproject.toml", r'^version = "([^"]+)"$') citation = _match(ROOT / "CITATION.cff", r"^version: ([^\s]+)$") - assert __version__ == pyproject == citation == "0.2.2" + assert __version__ == pyproject == citation == "0.2.3"