Skip to content

Commit cc40d27

Browse files
committed
Block releases until SPSS engine is public
1 parent 232c583 commit cc40d27

2 files changed

Lines changed: 15 additions & 5 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
with:
3333
python-version: "3.13"
3434
- run: python -m pip install --upgrade pip build
35+
- name: Verify required SPSS engine is publicly installable
36+
run: >-
37+
python -m pip download --only-binary=:all: --no-deps
38+
--dest /tmp/openstatspec-engine-release
39+
openstatspec-pyspssio==0.5.1.post2
3540
- run: python -m pip install ./openstatspec-pyspssio
3641
- run: python -m pip install -e ".[dev]"
3742
- run: python -m pytest -m "not services"

‎docs/release-readiness.md‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,19 @@ machine-readable loss report with the export result.
4646

4747
## Maintainer checks before tagging
4848

49-
1. Run `python -m pytest`.
50-
2. Confirm the GitHub Actions matrix is green for PostgreSQL 17/18, MySQL
49+
1. Publish the pinned `openstatspec-pyspssio==0.5.1.post2` engine distribution
50+
first and confirm that a clean environment can download it from PyPI. The
51+
main package has no fallback SPSS engine.
52+
2. Run `python -m pytest`.
53+
3. Confirm the GitHub Actions matrix is green for PostgreSQL 17/18, MySQL
5154
8.4/9.7, and MariaDB 11.4/11.8/12.3.
52-
3. Build with `python -m build` and install the generated wheel in a clean
55+
4. Build with `python -m build` and install the generated wheel in a clean
5356
environment.
54-
4. Confirm `openstatspec capabilities` reflects the intended support boundary.
55-
5. Review this document, the README, and CHANGELOG for accurate scope.
57+
5. Confirm `openstatspec capabilities` reflects the intended support boundary.
58+
6. Review this document, the README, and CHANGELOG for accurate scope.
5659

5760
The tag-triggered release workflow repeats the non-service test suite, builds
5861
the distributions, and installs the wheel with the exact required SPSS engine
5962
in a clean environment before it can reach the protected `pypi` environment.
63+
It fails closed if that exact engine version is not already downloadable from
64+
PyPI, preventing publication of an uninstallable OpenStatSpec release.

0 commit comments

Comments
 (0)