This project is published on PyPI as icm-workspace-template.
The recommended path is PyPI Trusted Publishing, which uses GitHub Actions OpenID Connect instead of a long-lived PyPI API token. See the official PyPI docs for Trusted Publishers and publishing with a Trusted Publisher.
Current package metadata:
icm-workspace-templateicm>=3.10NOTICEBefore any future publish, confirm the README renders cleanly and the release version has not already been uploaded.
Run these before publishing:
python -m pytest
python tools/check_packaged_assets.py
python tools/check_docs_site.py
python tools/check_release_readiness.py
rm -rf dist build *.egg-info
python -m build
python -m twine check dist/*
Then install the wheel into a clean environment:
python -m venv .tmp/install-venv
.tmp/install-venv/bin/python -m pip install dist/*.whl
.tmp/install-venv/bin/icm --version
The Trusted Publisher should match:
stickwithfiddle-sysinterpretable-context-methodology-templatepublish.ymlpypiFor TestPyPI, use the same repository and workflow with the testpypi environment.
v0.19.0.Publish Python Package.testpypi first.icm new.pypi.icm new.Do not publish from an untagged branch. The workflow intentionally fails unless it is run from a tag.