Skip to content

tzfpy: add build-tzfpy.yml for riscv64 wheels - #715

Merged
luhenry merged 2 commits into
mainfrom
tzfpy
Aug 28, 2026
Merged

tzfpy: add build-tzfpy.yml for riscv64 wheels#715
luhenry merged 2 commits into
mainfrom
tzfpy

Conversation

@luhenry

@luhenry luhenry commented Aug 28, 2026

Copy link
Copy Markdown
Member

A PyO3 extension over tzf-rs that maps longitude/latitude to a timezone name. Upstream publishes no riscv64 wheel.

Mirrors upstream's CI.yml linux job.

Differs from upstream

  • musllinux dropped - rustup.rs ships no riscv64 musl toolchain.

Matrix: one cp310-abi3 wheel plus cp314t, matching what upstream publishes.

Testing

  • Runs pytest over test_basic.py, test_smock.py and test_exp_index_env.py where upstream's wheel job only runs test_smock.py.
  • test_compatibility.py is skipped: it needs citiespy, which has no riscv64 wheel.

License: OK

Built on cp310 and cp314t; 13 passed each.

Mirrors the linux job of upstream's CI.yml, narrowed to riscv64: one
cp310-abi3 wheel plus a free-threaded cp314t wheel. musllinux is dropped
because rustup.rs ships no riscv64 musl toolchain.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@luhenry

luhenry commented Aug 28, 2026

Copy link
Copy Markdown
Member Author

Depends on citiespy, added to the queue

@luhenry
luhenry marked this pull request as draft August 28, 2026 06:53
@luhenry
luhenry marked this pull request as ready for review August 28, 2026 08:37
@luhenry
luhenry marked this pull request as draft August 28, 2026 08:38
test_compatibility.py was excluded because citiespy publishes no riscv64
wheel; citiespy 0.6.13 is now on pypi.riseproject.dev as cp310-abi3 and
cp314-cp314t, which covers both entries of this matrix. Its other imports --
pytz, tzdata, arrow and whenever -- all resolve as py3-none-any wheels, and
the resolution was checked against the registry for cp310 riscv64 before
enabling it. That is 6 more tests, including the one that walks every city
in citiespy and asserts a timezone is found for it.
@luhenry
luhenry marked this pull request as ready for review August 28, 2026 12:54
@luhenry
luhenry merged commit 2f413d9 into main Aug 28, 2026
6 checks passed
@luhenry
luhenry deleted the tzfpy branch August 28, 2026 13:06
@luhenry luhenry mentioned this pull request Aug 28, 2026
@luhenry luhenry linked an issue Aug 28, 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.

tzfpy riscv64 support

1 participant