ci: gate publish on cross-platform tests; fix GPU + resource scripts (re-target main)#232
Merged
vietanhdev merged 2 commits intomainfrom Apr 25, 2026
Merged
Conversation
…231) - Add tests.yml — 9-cell matrix (Ubuntu/Windows/macOS x py3.11/3.12/3.13) - Gate python-publish-cpu/gpu and release on the matrix via needs: test - Bump dependency floors; add huggingface_hub floor - Bump action versions across all workflows - Add CLAUDE.md (architecture + pre-publish playbook); align .cursorrules - Fix scripts/compile_languages.py and generate_languages.py for PyQt6 (pyrcc dropped in Qt6; switch to pyside6-rcc + pyside6-lrelease) - Fix GPU publish path: sed pyproject.toml so the wheel is anylabeling-gpu (PEP 621 silently rejects setup.py's name override) Closes #227 — and prevents the next #227.
The original tests.yml triggered only on push to master and PRs into master. Pushing this branch and opening PR #232 against main produced 'no checks reported' because the workflow has no matching trigger. Add main to both branches: arrays. Keep master as well so the workflow keeps firing on stale branches that may still receive commits.
vietanhdev
added a commit
that referenced
this pull request
Apr 25, 2026
Re-publishes anylabeling-gpu, which last shipped a working wheel as v0.4.29. v0.4.30 onward had broken metadata (PEP 621 silently dropped the setup.py name override). The workflow change in #232 sed-rewrites pyproject.toml before build, so this is the first tag that should produce a correct anylabeling-gpu-0.4.36-py3-none-any.whl. Also the first tag pushed under the new test gate — publish only proceeds if the 9-cell matrix is green.
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.
Summary
.github/workflows/tests.yml— 9-cell matrix (Ubuntu/Windows/macOS × py3.11/3.12/3.13).python-publish-cpu/gpuandreleaseon the matrix vianeeds: test.pyproject.tomldependency floors; addshuggingface_hub>=0.24.0floor.CLAUDE.md(architecture + 6-step pre-publish playbook); rewrites.cursorrulesto mirror it.scripts/compile_languages.py/generate_languages.pyfor PyQt6 (pyrccwas dropped in Qt6 — switch topyside6-rcc+pyside6-lrelease).setup.py's name override, so a tag push today would buildanylabeling-*.whland PyPI would reject it. The GPU workflow nowsedspyproject.tomldirectly beforepython -m build, with a verify step.Closes #227.
Verified
anylabeling-gpu, notanylabeling.