Repository navigation
Release and Packaging
TopoMarket is released by implementation step with semantic tags v0.1.0 ... v0.8.0; release
dates and schedules are not published in repository content.
topomarket release-check
topomarket release-check --json --skip-smokeThe command verifies version consistency (package, pyproject.toml, CHANGELOG.md), repository
hygiene (no tracked private inputs/credentials; .gitignore coverage), packaged JSON resources and
canonical/packaged profile-template parity, the pinned dependency lock, committed synthetic showcase
hashes, deterministic synthetic fixture regeneration and offline public-mode smoke commands
(demo, synthetic, validate, status, app.py fallback).
requirements.lock pins the runtime and development toolchain. Regenerate it in a fresh environment:
python -m venv /tmp/tm-lock
/tmp/tm-lock/bin/pip install --upgrade pip
/tmp/tm-lock/bin/pip install -e ".[dev]"
/tmp/tm-lock/bin/pip freeze --exclude-editable | grep -v '^topomarket' | sort > requirements.lockThe optional [ui] extra (Streamlit) is installed separately for dashboard runs.
python -m pip install build twine
python -m build
python -m twine check dist/*The wheel contains the data, topology and config JSON resources, never private inputs. An
installed wheel resolves the bundled profiles without a source checkout and never writes into
site-packages. Release assets (sdist + wheel) are attached to GitHub releases.
.github/workflows/release.yml runs on pull requests, main pushes and version tags: locked
dependency install, compile/lint/format, public tests with test-report.xml, offline release checks,
sdist/wheel build, twine check, wheel-content/private-input guard, and retained artifacts
(dist/*, test-report.xml, release-check-report.json).
The committed synthetic showcase/ fixture (5,673 sessions with engineered drawdowns, frozen score
file and evaluation report, synthetic manifest) allows a reviewer to launch the dashboard, follow a
replay and inspect an alert without a key:
python -m pip install -e ".[ui]"
streamlit run app.py -- --profile private --data-dir showcaseSee the repository's docs/WALKTHROUGH.md for the 60-90 second script and notes. The fixture is
deterministic and regenerable via scripts/build_showcase.py; its hashes are verified by
release-check. Synthetic data must never be presented as genuine market history, and genuine
data/charts require a review of provider terms in NOTICE.md.
docs/RELEASING.md contains the full checklist: version bump, lock regeneration, hygiene, fixture
determinism, public smoke, artifacts, private rehearsal, protected PR merge, tag, release notes from
CHANGELOG.md, issue/milestone closure and Wiki roadmap update.