Skip to content

chore: revive project and release 0.1.5 - #1

Merged
modelpath-dev merged 1 commit into
mainfrom
chore/revive-0.1.5
Oct 15, 2026
Merged

modelpath-dev merged 1 commit into
mainfrom
chore/revive-0.1.5

Conversation

@modelpath-dev

Copy link
Copy Markdown
Owner

What changed

  • Project URLs now point at modelpath-dev/ShieldPrompt. The old shieldprompt/shieldprompt links 404 from the PyPI page.
  • CI: new tests.yml runs pytest on Python 3.9–3.12 for pushes to main and all PRs. pypi-publish.yml now runs pytest before building, so a failing build can't be published.
  • vault.json is no longer tracked; vault.json, *.vault.json and .venv are ignored so a real vault can't be committed by accident.
  • NER extras: removed span-marker from [ner] (nothing imports it). Fixed the HybridDetector log hint that pointed at a nonexistent [presidio] extra, and the docstring's spaCy model name (en_core_web_sm, matching the default).
  • Tests: replaced deprecated asyncio.get_event_loop() with asyncio.run() in the async decorator test.
  • Version bumped to 0.1.5.

How it was verified

  • pytest -q: 41 passed on Python 3.9, 3.10 and 3.12.
  • ruff check: clean.
  • Built the wheel; METADATA shows 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].

- 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
@modelpath-dev
modelpath-dev merged commit 25f87fd into main Oct 15, 2026
4 checks passed
@modelpath-dev
modelpath-dev deleted the chore/revive-0.1.5 branch October 15, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant