release: v0.8.1 - #96
Merged
Merged
Conversation
v0.8.0 was tagged and released on GitHub on 28 August but never reached PyPI, and that tag points at code predating the release workflow, the golden tests and the CI fix. Moving a published tag would put different code under a name people may already have fetched, so this releases as 0.8.1 instead. 0.8.0 does not ship to PyPI, which takes it from 0.7.3 to 0.8.1. What this carries over 0.7.3: - Policy evaluation works under CI. CI=true left opa_path as None, so every evaluation raised a TypeError on argv[0], and the path that checks for None returned mock verdicts instead. The tool is offered for "Local or CI", so this was broken wherever it is most advertised to run. - Every advertised framework delivers the verdicts it declares, asserted for all fourteen and enforced at release by a clean-install smoke test. - Three education policies that reached no verdict now do, via the gopal bump. - A tag publishes, through PyPI Trusted Publishing, gated on the tag matching this version, the wheel carrying the policy library, and that wheel producing real verdicts from a clean install. Version references bumped in pyproject.toml, aicertify/__init__.py, CITATION.cff and the beta statement in the five READMEs. The langfair>=0.8.0 pin is a dependency and unchanged; the references to v0.8.0 in the golden tests and the smoke script are historical, describing the defect that release fixed. Verification: the built 0.8.1 wheel carries 198 .rego files and coverage.json, installs into a clean virtualenv, and under CI=true delivers every verdict all eight smoke frameworks declare, education included at 5 of 5.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version bump only. No functional change over the PRs already merged.
Why 0.8.1 and not 0.8.0
v0.8.0was tagged and released on GitHub on 28 August but never reached PyPI, and that tag points ate107a81— code predatingrelease.yaml, the golden tests and the CI fix. Moving a published tag would put different code under a name people may already have fetched, so this releases as 0.8.1.PyPI goes 0.7.3 → 0.8.1. 0.8.0 simply never ships, which is normal.
What 0.8.1 carries over the published 0.7.3
CI=trueleftopa_pathasNone, so every evaluation raised aTypeErroronargv[0], and the path that checks forNonereturned mock verdicts instead. The tool is offered for "Local or CI", so this was broken wherever it is most advertised to run.Scope of the bump
pyproject.toml,aicertify/__init__.py,CITATION.cff, and the beta statement in the five READMEs.Deliberately unchanged: the
langfair>=0.8.0dependency pin, and the references to v0.8.0 in the golden tests and smoke script, which are historical and describe the defect that release fixed.Verification
The built 0.8.1 wheel carries 198
.regofiles andcoverage.json, installs into a clean virtualenv, and underCI=truedelivers every verdict all eight smoke frameworks declare:educationat 5 of 5 is the defect that would otherwise have shipped.On merge, tag
v0.8.1to publish.