Commit 39d1783
authored
aiokafka: add build-aiokafka.yml for riscv64 wheels (#858)
* **Package**: `aiokafka`
* **Version**: `0.14.0`
* **Source**: https://github.com/aio-libs/aiokafka
* **Docs**: http://aiokafka.readthedocs.org
Compiles the Cython `_crecords` extension (Kafka record batch encode/decode); the rest of the asyncio Kafka client is pure Python. Upstream publishes no riscv64 wheel.
Mirrors the `package-wheel` job of [upstream's `publish.yml`](https://github.com/aio-libs/aiokafka/blob/v0.14.0/.github/workflows/publish.yml).
**Differs from upstream**
- Test dep versions pinned to `requirements-ci.txt` - newer pytest fails `test_requests.py` under this project's `filterwarnings = ["error"]`.
- `gssapi` dropped from test deps - needs krb5 headers and is only reached by the docker-backed SASL tests, which are skipped anyway (see Testing).
**Testing**
- No `--docker-image`, same as upstream's own wheel-test jobs (none run a Kafka broker either); tests needing one skip via upstream's own `kafka_image` fixture.
- `CIBW_TEST_SOURCES` stages `tests` + `pyproject.toml` so the repo-root `aiokafka/` can't shadow the installed wheel; upstream's own CI does the equivalent by `rm -rf aiokafka` before testing.
- `cramjam` (snappy/lz4/zstd codec backend) is on the registry for riscv64, so those tests run instead of being skipped.
**License**: OK
Built on cp312; 749 passed, 332 skipped.1 parent 7f7e6b8 commit 39d1783
1 file changed
Lines changed: 98 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 | + | |
0 commit comments