From 307eba7bf05ddcf568ead4b5ddbf6b84aeafc8d5 Mon Sep 17 00:00:00 2001 From: Peter Kim <270075428+hdkim99@users.noreply.github.com> Date: Mon, 16 Nov 2026 06:18:39 +0900 Subject: [PATCH 1/8] Update .github/workflows/release.yml for patched PyPI publishing --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 31b75308b081020b46c6a605417f9f89cc648f86 Mon Sep 17 00:00:00 2001 From: Peter Kim <270075428+hdkim99@users.noreply.github.com> Date: Mon, 16 Nov 2026 06:18:49 +0900 Subject: [PATCH 2/8] Update CHANGELOG.md for patched PyPI publishing --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) 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 From 429d3af230b83b430c6be541fbecde5882dc9ac4 Mon Sep 17 00:00:00 2001 From: Peter Kim <270075428+hdkim99@users.noreply.github.com> Date: Mon, 16 Nov 2026 06:18:59 +0900 Subject: [PATCH 3/8] Update CITATION.cff for patched PyPI publishing --- CITATION.cff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From 45e190640584e8f8399e0d68317a4ac23b716e52 Mon Sep 17 00:00:00 2001 From: Peter Kim <270075428+hdkim99@users.noreply.github.com> Date: Mon, 16 Nov 2026 06:19:07 +0900 Subject: [PATCH 4/8] Update pyproject.toml for patched PyPI publishing --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From 178b64372139f68847c970fcb3cc8464d90eb85f Mon Sep 17 00:00:00 2001 From: Peter Kim <270075428+hdkim99@users.noreply.github.com> Date: Mon, 16 Nov 2026 06:19:10 +0900 Subject: [PATCH 5/8] Update src/reactorcheck/__init__.py for patched PyPI publishing --- src/reactorcheck/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From ca35fe1e22329524997a90a1f7809ee7ffa20850 Mon Sep 17 00:00:00 2001 From: Peter Kim <270075428+hdkim99@users.noreply.github.com> Date: Mon, 16 Nov 2026 06:19:17 +0900 Subject: [PATCH 6/8] Update tests/test_project_metadata.py for patched PyPI publishing --- tests/test_project_metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] From b2ee3ca8c1fd9e57b7cfdb698d7d7b46caf86d1d Mon Sep 17 00:00:00 2001 From: Peter Kim <270075428+hdkim99@users.noreply.github.com> Date: Mon, 16 Nov 2026 06:19:21 +0900 Subject: [PATCH 7/8] Update tests/test_version.py for patched PyPI publishing --- tests/test_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From 98259b419c0a5deffea587cc2dfa1297a1849afc Mon Sep 17 00:00:00 2001 From: Peter Kim <270075428+hdkim99@users.noreply.github.com> Date: Mon, 16 Nov 2026 06:24:38 +0900 Subject: [PATCH 8/8] Annotate gas constant quantity for current mypy --- src/reactorcheck/units.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):