Closed
Conversation
- Ship repo-root servers.txt into the wheel via hatch force-include - On push to main, detect servers.txt changes over full github.event.before range - After toolkit PyPI publishes (or skip), bump index minor from PyPI API and publish - Exclude index dir from release-on-version-change matrix (dedicated job only)
Pass github.event.before/sha via DIFF_RANGE_*; use empty tree when before is all-zeros. Matches servers.txt detection and avoids missing version bumps in multi-commit pushes.
Job-level concurrency group avoids duplicate next-version computes when multiple pushes touch servers.txt close together.
…it-index Match wheel layout via hatch sdist.force-include so sdist installs/builds have package data for servers_txt_text().
…x packaging - Add check-servers-txt-changed.sh and compute-index-version.sh; wire release workflow - Dedupe package dirs in check-version-changes.sh (policy locked by tests) - Pytest: tests/ci (servers.txt range, version matrix, PyPI version math, YAML gating) and arcade-starter-toolkit-index/tests (wheel/sdist + isolated venv import) - Add requirements-ci.txt, pytest.ini, unit-tests.yml; document local runs in READMEs Covers the approved starter-tools unit test plan without PyPI or GHA execution.
- Replace requirements-ci.txt with root pyproject [dependency-groups] dev - Add uv.lock; CI runs uv sync --frozen --group dev + uv run pytest - Packaging tests call uv build (drop python -m build / build package dep) - Document uv sync + uv run in READMEs
Adds merge-topology case: bump on feature branch merged into main; before/after refs match pre-merge tip and merge commit.
Collapse whitespace and require exact OR group; reject pypi-publish result cancelled/failure substrings.
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.
This PR introduces the automated publishing of a
arcade-starter-toolkits-indexwhich will contain the list of starter packaged (fromservers.txt) currently available. This will support themonorepoCI process after thisstarter-toolsrepo goes private.