Release 0.2.2, and make the suite test this checkout - #16
Merged
Merged
Conversation
pytest had no pythonpath, so `import plexus` resolved to a copy in site-packages rather than src/. The suite was green against source that was not this checkout. test_release_metadata was unaffected because it reads pyproject.toml and __init__.py as text, but every test that imports the package was exercising the installed copy. pyproject now sets pythonpath = ["src"], matching canon, and the suite imports src/plexus/__init__.py. 0.2.2 carries the OIDC release workflow. The version moves in all three places test_release_metadata checks: pyproject, __init__, and the test's own constant. 116 passed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
The suite was not testing this checkout
pyproject.tomlhad no[tool.pytest.ini_options], so pytest importedplexusfrom
site-packagesrather thansrc/. Every test that imports the package wasexercising the installed copy, not this repo.
test_release_metadatawas unaffected, because it readspyproject.tomland__init__.pyas text rather than importing. That is also why the gap stayedinvisible: the one test most likely to catch a packaging problem was the one
test that could not see it.
pythonpath = ["src"]now matches canon, and the suite importssrc/plexus/__init__.py.Why 0.2.2 rather than re-tagging 0.2.1
v0.2.1already exists and points at a commit behind main. Re-pointing it wouldmake it a moving tag, which the release workflow calls a supply-chain hole in its
own header.
What 0.2.2 ships
The OIDC trusted-publishing release workflow. No runtime behavior changed. The
version moves in all three places
test_release_metadatachecks:pyproject,__init__, and the test's own constant.116 passed.
🤖 Generated with Claude Code