Repository navigation
Commit 2aa8d50
authored
cityseer: Add version 5.8.0 (#3057)
* Port cityseer 5.8.0 to riscv64
Pure-Rust PyO3/maturin extension (geo, ndarray, petgraph, rayon, rstar, wkt,
exmex; no -sys crates, no SIMD/arch-specific code, no GPL build-time linkage
beyond glibc), so the manylinux_riscv64 image builds it like any other
maturin port. Not abi3, matching upstream's own per-interpreter release
matrix; cp314 is dropped because statsmodels (a runtime dependency) has no
riscv64 wheel for it yet, leaving cp312/cp313. AGPL-3.0: maturin bundles
LICENSE.txt into the wheel automatically, satisfying the licence-compliance
check.
* cityseer: fix riscv64 test failures (missing pyarrow, inert addopts ignore)
Both cp312 and cp313 manylinux_riscv64 test runs failed identically with 5
failures:
- 4 ImportErrors: CityNetwork.save() calls geopandas.to_parquet(), which
needs the optional pyarrow dependency. Upstream's own CI only gets it
transitively (overturemaps, a dev-group dependency, requires pyarrow), so
it was never declared explicitly; CIBW_TEST_REQUIRES only installed
pytest. pyarrow already has a riscv64 wheel on pypi.riseproject.dev, so
add it to CIBW_TEST_REQUIRES.
- 1 timing assertion in tests/test_performance.py::test_local_centrality_time
(func_time < 1, observed ~2.9-3.2s): upstream's own pyproject.toml already
excludes this file via `addopts = "--ignore=tests/test_performance.py"`,
but that path is resolved relative to pytest's invocation directory, not
its rootdir. cibuildwheel's default empty test_cwd made the two differ, so
the ignore silently did nothing and the file was collected and run for
real. `cd {package}` before invoking pytest makes cwd match rootdir, so
the ignore applies as upstream intends (same pattern as build-lapx.yml).1 parent 5aafc92 commit 2aa8d50
2 files changed
Lines changed: 122 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments