feat: daedalus publish - guarded PyPI release (v0.12.0)
- new script python/src/publish/publish.py: guards (clean tree, HEAD exactly tagged v<version>, version not yet on PyPI, build+twine present), then the chained python -m build (the sdist must rebuild the wheel, SPEC 9.2.1) and twine check; --upload sends exactly this version's sdist+wheel, credentials stay with twine (~/.pypirc or prompt, __token__) - spec python/src/publish/spec.md (sections 1-7) first, then tests (13) in python/tests/test_publish.py, then code (SPEC 6.12) - fix release-blocking sdist defect (SPEC 9.2.1): empty powershell/ and batch/ folders now carry README placeholders and MANIFEST.in ships them, so an sdist installs again - release tooling in requirements.txt; registry entry, README row + section, CHANGELOG 0.12.0, version pins Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -34,7 +34,7 @@ def test_app_version_falls_back_to_pyproject(monkeypatch):
|
||||
raise hello.importlib.metadata.PackageNotFoundError(_name)
|
||||
|
||||
monkeypatch.setattr(hello.importlib.metadata, "version", not_found)
|
||||
assert hello.app_version() == "0.11.0"
|
||||
assert hello.app_version() == "0.12.0"
|
||||
|
||||
|
||||
def test_help_exits_zero(capsys):
|
||||
|
||||
Reference in New Issue
Block a user