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.
Fix CI workflow failures in release.yaml
Several issues are causing CI failures in the release workflow:
1. sdist job fails with "twine: error: invalid choice: 'check'"
Cause: conda-forge may install twine 1.11.0, which lacks the
checksubcommand (added in 1.12.0).Fix: Change
twinetotwine>=1.12in.github/workflows/release.yaml:2. sdist job uses undefined
matrix.proj-versionCause: The
make_sdistjob references${{ matrix.proj-version }}but has no matrix defined, causingproj=(empty version) to be passed to micromamba.Fix: Change to
${{ env.PROJ_VERSION }}to use the workflow-level environment variable.3. Windows 32-bit build fails with "Found GNU link.exe instead of MSVC link.exe"
Cause: Git's
link.exeatC:\Program Files\Git\usr\bin\is found before MSVC'slink.exeduring meson configuration.Fix: Add
CIBW_BEFORE_BUILD_WINDOWSto rename Git's link.exe before building:4. macOS builds take 1.5+ hours due to single-threaded PROJ compilation
Cause:
ci/proj-compile-wheels.shusesnprocwhich doesn't exist on macOS, causing cmake to default to single-threaded build.Fix: Add cross-platform CPU detection in
ci/proj-compile-wheels.sh:5. Free-threaded Python (3.13t/3.14t) builds segfault during tests
Cause: Cython extension crashes with segfault in
__repr__methods on free-threaded Python. This affects both Linux aarch64 and macOS x86_64.Fix: Skip free-threaded builds with
CIBW_SKIPuntil Cython's free-threading support matures:✅ Closes #1570