Files
Palash Debnath 409c893449 fix(setup): ship wheels for source-only deps so setup never compiles (#4253) (#4268)
* fix(setup): ship wheels for source-only deps so first-run setup never compiles (#4253)

* docs(changelog): add fragment for #4268

* fix(setup): make vendored wheels verifiable and shipped by every consumer (#4253)

* chore(vendor): ship the ANTLR BSD notice with the vendored runtime wheel

BSD-3 requires the copyright notice to accompany binary redistribution; the antlr4-python3-runtime sdist ships none, so keep the project notice beside the wheel and package it.

* test(install): accept vendored wheel paths in the frozen export

uv export emits the vendored wheels (#4253) as ./vendor/wheels/*.whl paths, which packaging.Requirement rejects.

* test(lock): check per-target wheel tags and extras; ship the ANTLR notice in Nix

The wheel-only guard now follows extra-activated dependencies and requires a wheel whose tags match each tested platform and Python, not just any wheel. sphn 0.2.1 has no Linux ARM64 wheel upstream and is allowlisted for that source-only target. The Nix output now installs the ANTLR licence beside the vendored wheel.

* ci(dagger): copy the vendored wheels before the dependency sync

[tool.uv.sources] points docopt, antlr4-python3-runtime and dora-search at vendor/wheels (#4253); the manifest-only layer copied pyproject.toml and uv.lock without them, so dagger python-tests and check could not install.

* ci(install): run the install smoke when the vendored wheels change

The installer ships vendor/wheels (#4253), so tests/test_install_smoke_workflow.py requires it among the install-smoke triggers.
2026-11-20 11:39:13 +05:30

33 lines
1.6 KiB
Plaintext

# Hash-pinned legal texts (tests/test_cla_workflow.py): identical bytes on every OS.
.github/CLA-*.md text eol=lf
.github/CCLA-*.md text eol=lf
mobile/ios/VoiceStudio/Resources/NativeLicences/*.txt text eol=lf
mobile/android/app/src/main/assets/licenses/*.txt text eol=lf
# Hash- and byte-compared mobile contracts (tests/test_mobile_contract.py): the
# bundled model asset is verified by SHA-256 over its raw bytes, and the generated
# catalogue, token and design artifacts are compared byte-for-byte. Git's Windows
# default (core.autocrlf=true) rewrites an unpinned text file to CRLF on checkout,
# so identical content looks stale and the bundled asset fails its pin there only.
mobile/contract/tts/* text eol=lf
mobile/contract/openapi.json text eol=lf
mobile/contract/models.json text eol=lf
mobile/contract/design.json text eol=lf
mobile/contract/tokens.json text eol=lf
mobile/ios/VoiceStudioKit/Sources/VoiceStudioKit/Theme/Tokens.generated.swift text eol=lf
mobile/android/core/designsystem/src/main/kotlin/com/voicestudio/mobile/designsystem/Tokens.generated.kt text eol=lf
# Windows batch files break goto/labels with LF endings.
*.bat text eol=crlf
# Repository-only moderation tests contain copied scam commands. Keep them in
# Git checkouts/CI, but do not distribute attack examples in source archives.
/tests/test_scam_guard.py export-ignore
# Pinned upstream MP3 encoder; provenance and checksums are reviewed separately.
mobile/ios/VoiceStudioKit/Sources/VSNative/Lame/** text eol=lf linguist-vendored
mobile/native/ios/patches/*.patch text eol=lf
# Vendored wheels are hash-pinned in uv.lock: never rewrite line endings.
*.whl binary