Skip to content

eflips-schedule-rust: Add version 3.0.2 - #3402

Draft
luhenry wants to merge 1 commit into
mainfrom
eflips-schedule-rust
Draft

luhenry wants to merge 1 commit into
mainfrom
eflips-schedule-rust

Conversation

@luhenry

@luhenry luhenry commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Compiles a pure-Rust PyO3 extension that solves the vehicle scheduling problem for electric bus/transit fleets (part of the eFLIPS/simBA transit-planning toolchain). Upstream publishes no riscv64 wheel.

Mirrors upstream's maturin-generated CI.yml linux job, narrowed to the riscv64 image.

Differs from upstream

  • No x86/armv7/s390x/ppc64le/musllinux/Windows/macOS legs - riscv64 image only.
  • Installs the Rust toolchain in-container via rustup - upstream's own workflow carries no [tool.cibuildwheel], so nothing to narrow there.

Matrix: cp312/cp313/cp314 - no abi3, no gil_used(false), so cp314t is dropped (same call as py-rust-stemmers).

Testing: same as upstream (unittest discover), plus networkx as a test dependency like upstream's own.

License: the real PyPI wheel ships no licence file at all - AGPLv3.md doesn't match maturin's default glob. The patch adds an explicit license-files entry so it is bundled.

Patches

  • 0001-Ship-AGPLv3.md-in-wheel-metadata.patch - To upstream. Fixes the missing licence file; reproduces on any arch, not riscv64-specific.

Built locally (x86_64): patch applies cleanly to a fresh v3.0.2 checkout; no cibuildwheel run (no docker/riscv64 available in this sandbox).

…wheels

Adds a maturin/cibuildwheel riscv64 build for eflips-schedule-rust
3.0.2, mirroring the linux job of upstream's own maturin-generated
CI.yml. Pure-Rust PyO3 extension (petgraph/rayon/pathfinding, no -sys
crates or git dependencies) solving the vehicle scheduling problem for
electric bus/transit fleets. Includes a licensing patch: the project's
AGPLv3.md does not match maturin's default license-files glob, so the
real PyPI wheel ships no licence file at all; the patch adds an
explicit license-files entry.

Signed-off-by: Ludovic Henry <git@ludovic.dev>
@luhenry
luhenry marked this pull request as draft October 16, 2026 00:02

This branch has not been deployed

No deployments
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