Repository navigation
chore: revive project and release 0.1.5 - #1
Merged
Merged
Conversation
- Point project URLs at modelpath-dev/ShieldPrompt (old links 404'd on PyPI) - Add a tests workflow (Python 3.9-3.12) and gate PyPI publish on pytest - Stop tracking vault.json; ignore vault files and .venv - Drop unused span-marker from the ner extra; fix stale install hint and spaCy model name in HybridDetector - Replace deprecated asyncio.get_event_loop() in the async decorator test - Bump version to 0.1.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.
What changed
modelpath-dev/ShieldPrompt. The oldshieldprompt/shieldpromptlinks 404 from the PyPI page.tests.ymlruns pytest on Python 3.9–3.12 for pushes tomainand all PRs.pypi-publish.ymlnow runs pytest before building, so a failing build can't be published.vault.jsonis no longer tracked;vault.json,*.vault.jsonand.venvare ignored so a real vault can't be committed by accident.span-markerfrom[ner](nothing imports it). Fixed theHybridDetectorlog hint that pointed at a nonexistent[presidio]extra, and the docstring's spaCy model name (en_core_web_sm, matching the default).asyncio.get_event_loop()withasyncio.run()in the async decorator test.How it was verified
pytest -q: 41 passed on Python 3.9, 3.10 and 3.12.ruff check: clean.Version: 0.1.5, the new Project-URLs, and[ner]without span-marker.pii "Email alice@example.com, card 4111 1111 1111 1111" --no-ner→Email [EMAIL_ADDRESS_1], card [CREDIT_CARD_1].