Skip to content

cartopy: add build-cartopy.yml for riscv64 wheels - #1732

Merged
luhenry merged 3 commits into
mainfrom
cartopy
Sep 11, 2026
Merged

cartopy: add build-cartopy.yml for riscv64 wheels#1732
luhenry merged 3 commits into
mainfrom
cartopy

Conversation

@luhenry

@luhenry luhenry commented Sep 10, 2026

Copy link
Copy Markdown
Member

Compiles cartopy.trace, a single Cython/C++ extension that combines shapely and pyproj (pure Python calls, no direct GEOS/PROJ linking) to project geometries. Upstream publishes no riscv64 wheel.

Mirrors the build_wheels job of upstream's release.yml.

Differs from upstream

  • No GEOS/PROJ build step - the extension only calls shapely/pyproj at the Python level.
  • Test command replaced with upstream's own no-network job (ci-testing.yml) - hermetic subset.

Testing

  • Same marker filter as upstream's own no-network CI job (-m "not natural_earth and not network"), without --mpl image comparison - matches that job too, and avoids font-rendering-sensitive baseline diffs.
  • Tests copied out of the checkout since the wheel excludes cartopy.tests.

License: OK.

Built locally (macOS, cp312) against pyproj 3.7.2 (matches the registry's riscv64 build): 661 passed, 11 skipped, 2 xfailed.

luhenry added a commit that referenced this pull request Sep 10, 2026
@luhenry
luhenry merged commit 5cb7dad into main Sep 11, 2026
9 checks passed
@luhenry
luhenry deleted the cartopy branch September 11, 2026 09:00
@luhenry luhenry linked an issue Sep 11, 2026 that may be closed by this pull request
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.

cartopy riscv64 support

1 participant