Repository navigation
release: prepare 0.1.0b1 - #2
Merged
Merged
Conversation
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.
Prepares
0.1.0b1(PEP 440 beta). No changes to thewebdecoy_ai_protectionpackage code since0.1.0a1; this moves the package's maturity label to beta and lets the publish workflow release betas.What changed
pyproject.toml:version = "0.1.0b1".README.md: "Alpha preview" -> "Beta", "this preview" -> "this beta" (two places), install line==0.1.0b1.examples/requirements-ollama.txt: pinwebdecoy-ai-protection==0.1.0b1(this install only works once 0.1.0b1 is on PyPI)..github/workflows/publish.yml:assert 'a' in version(alpha only). It is nowre.fullmatch(r'\d+\.\d+\.\d+(a|b)\d+', version), so it acceptsaNandbNand still rejects final,rcNand.devNversions. Publishing is still pre-release only.versioninput0.1.0a1->0.1.0b1; display name "Publish Python alpha" -> "Publish Python pre-release". The file name (publish.yml) andpypienvironment are unchanged, so the PyPI trusted-publisher config still matches.CHANGELOG.mdwith a 0.1.0b1 entry covering what landed sincev0.1.0a1(docs: runnable and tested Ollama budget example #1: runnable Ollama budget example, its tests against pinnedollama==0.6.3, README section;ollamaadded to thedevextra only) plus this release prep.Test results (local, same steps as
ci.yml)python -m unittest discover -s tests: 64 tests OK on Python 3.11, 3.12, 3.13 and 3.14ruff check src tests examples: all checks passedruff format --check src tests examples: 16 files already formattedpython -m build: builtwebdecoy_ai_protection-0.1.0b1.tar.gzandwebdecoy_ai_protection-0.1.0b1-py3-none-any.whl; wheelMETADATAand sdistPKG-INFOboth sayVersion: 0.1.0b1twine check --strict dist/*: PASSED for both0.1.0b1, still passes for an alpha (0.1.0a2), rejects0.1.0.Publish steps (after approval)
PYPI_TRUSTED_PUBLISHINGistrue(otherwise the publish job is skipped after the build).main:gh workflow run publish.yml -R WebDecoy/ai-protection-python --ref main -f version=0.1.0b1 gh run watch -R WebDecoy/ai-protection-python # pick the "Publish Python pre-release" runtwine check --strict, then publishes to PyPI with trusted publishing in thepypienvironment (approve it there if the environment requires a reviewer).v0.1.0a1:--preor a pin.