Skip to content

Declare checkout-only files in source-distribution checks - #3641

Merged
adamtheturtle merged 1 commit into
mainfrom
explicit-source-distribution-policy
Sep 13, 2026
Merged

adamtheturtle merged 1 commit into
mainfrom
explicit-source-distribution-policy

Conversation

@adamtheturtle

@adamtheturtle adamtheturtle commented Sep 13, 2026

Copy link
Copy Markdown
Member

Current main fails check-manifest with setuptools-scm 10.3.0/vcs-versioning 2.4.0 because the clean build no longer relies on the old Git-archive fallback to include every copied file.

Explicitly ignore editor settings, Vale styles, root Sybil configuration and prek/Zizmor configuration. Also ignore docker-bake.hcl, which orchestrates container publication from the checkout and is not an input to the Python package build. These additions follow the existing policy for tests, CI, documentation and Docker tooling. Check-manifest ignores control the completeness check; they do not themselves remove files from release archives.

Validation:

  • All configured pre-commit, pre-push and manual hooks pass without disabling hooks, as does check-manifest.
  • Built an sdist and a wheel from that sdist; verified all 73 tracked package Python files/type markers are present and imported the installed wheel outside the checkout.
  • With the repository's example credentials and the real backend excluded, 1,957 tests pass, including Docker tests; 833 skip. This run reaches 99% coverage, so it does not satisfy the 100% gate.
  • The separately configured skip-configuration pass also passes: 275 passed, 2,515 skipped.

The local full-suite attempt cannot run without Vuforia credentials. Hosted CI is needed for the complete backend/platform coverage gate. Current main already fails real-service query tests with Vuforia's ProjectSuspendedError: https://github.com/VWS-Python/vws-python-mock/actions/runs/34753400746/job/103713620426. No real-service test or coverage requirement is weakened here.

Hosted CI is now terminal at fe74292. Lint, documentation, Docker builds and the 100% aggregate coverage gate pass. The Test workflow fails only in TestSuccess and TestIncludeTargetData against Real Vuforia (both ProjectSuspendedError) and the resulting completion-ci check. The same service error occurs on main. Full result: https://github.com/VWS-Python/vws-python-mock/actions/runs/34774735611.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant