Skip to content

ciso8601 riscv64 support #631

Open

Description

@luhenry

Package name (on PyPI)

ciso8601

Source repository

https://github.com/closeio/ciso8601

Version(s) requested

No response

Why is this needed?

riscv64 wheel build added in #625

Additional context

No response

Activity

  1. github-actions commented on Nov 19, 2026

    @github-actions
    Contributor

    Upstreaming investigation result

    ciso8601 (closeio) is a pure C extension built with setuptools and cibuildwheel; latest PyPI 2.4.1 ships no riscv64 wheel. Open issue #181 requests it and its prerequisite (fork bump to cibuildwheel 3.4.1) is done. Maintainers accept native-runner arch rows quickly. Recommendation: develop a small CI/config PR.

    Proposed direction

    • Decision: develop
    • Rationale: ciso8601 is a pure C extension with no native third-party libraries and no arch-specific code. Latest PyPI release 2.4.1 has no riscv64 wheel. Upstream uses cibuildwheel with a per-arch matrix; the fork closeio/cibuildwheel v4.3.5 supports riscv64, resolving the prerequisite in rignore: deprecate our wheel #181. Maintainers have merged analogous native-runner additions (workflows: build-numpy: don't use GPL sources logic #178, Upgrade pillow to v12.3.0 #151) and now test every wheel in CI (Upgrade matplotlib to v3.11.1 #192). ALT Linux builds 2.4.1 on riscv64. A bounded change adds a ubuntu-24.04-riscv matrix row and riscv64 to linux archs, with CHANGELOG note. Risks: the RISE runner must be enabled on the closeio org (maintainer action); runner label may leave jobs queued upstream; pending PR websockets: deprecate our wheel #176 may conflict in pyproject.toml; cp38/pp riscv64 builds may be empty (CIBW_ALLOW_EMPTY set); manylinux_2_39 riscv64 image defaults must be validated; tests (unittest+pytz) must pass natively.
    • Admission class: configuration_integration
    • Allowed paths: .github/workflows/build-wheels.yml; pyproject.toml; CHANGELOG.md; tox.ini
    • Release coverage: PyPI 2.4.1 (2026-11-09): macOS arm64/x86_64/universal2, manylinux1 x86_64 + manylinux2014 aarch64, musllinux x86_64/aarch64, win_amd64 and win_arm64 (cp311+), CPython 3.8-3.15, PyPy 3.8-3.12; no riscv64.
    • Build backend and native dependencies: setuptools (setup.py Extension from module.c, timezone.c, isocalendar.c); no third-party native libs; python_requires>=3.8; tests need pytz.
    • Release graph: build-wheels.yml (workflow_call/workflow_dispatch/pull_request) -> test -> build_wheels, build_sdist; release.yml dispatch calls it with upload:true; manual PyPI upload.
    • Architecture precedent: aarch64 row: ubuntu-24.04-arm / cibw_archs aarch64; Windows ARM64 row: windows-11-arm / ARM64 (workflows: build-numpy: don't use GPL sources logic #178). Fork guards: none.
    • Contribution rules: CONTRIBUTING.md and PR template; no CLA/DCO; add CHANGELOG entry; avoid arch-specific hand-written code.
    • Existing riscv64 work: Open issue rignore: deprecate our wheel #181 only; no PRs. Downstream RISE wheels exist for 2.3.3 cp312-cp314.
    • Target matrix: ubuntu-24.04-riscv, CIBW_ARCHS riscv64, manylinux_2_39 default image, cp39-cp315 (+cp38 via legacy step if empty tolerated) and PyPy where manylinux riscv64 images exist; test with python -m unittest.

    Dependency and ecosystem evidence

    Graph data (Debian-only) agrees with checkout: setup.py/pyproject has no runtime dependencies and no build requirements beyond setuptools; only libc and the Python interpreter are needed. Test-only dependency pytz is not in the graph. The graph shows a riscv64 Debian build already exists, supporting that the C code is portable. The graph is Debian-based and reflects version 2.3.3, not 2.4.1, and has no PyPI reverse dependencies; no edges were invented.

    No matching ecosystem report was available; the dossier records the search evidence.

    Research coverage

    Relevant prior work

    • open: Open riscv64 wheel request from eshattow; unanswered; prerequisite cibuildwheel fork bump has since landed.
    • accepted: Windows ARM64 wheels via native runner merged; sets precedent for native-runner matrix rows.
    • accepted: Linux aarch64 wheels merged after long delay.
    • superseded: Duplicate aarch64 PR closed in favour of Upgrade pillow to v12.3.0 #151.
    • accepted: Every wheel is now built and tested in CI; found an aarch64 segfault fixed in the same PR.
    • accepted: aarch64 request closed once wheels shipped in 2.3.0.
    • accepted: Windows ARM64 request answered by 2.4.1 wheels.

    Verified native Result: work 97f58b194d0ff34910cf1d2eda6549293e3cda2484363da31a2548e10be19bd5, claim c_e8399632cc35cf999e86e72f3f9bba4f8ad54a7c4901a2624ace06897087a128_1, artifact 14549489574.
    This is investigation evidence, not an upstream approval or publication decision.

  2. riseproject-dev commented on Nov 20, 2026

    @riseproject-dev
    Contributor

    Upstreaming r9 · handoff/waiting_human — Activity. Workflow run

    Possible next commands
    /upstreaming pause revision=9 reason="..."
    /upstreaming park revision=9 reason="..."
    /upstreaming abandon revision=9 reason="..."
    /upstreaming approve-handoff revision=9 head=9339ec54ae594458b0b9c6039bb55e9b2b13eff7
    
  3. riseproject-dev commented on Nov 22, 2026

    @riseproject-dev
    Contributor

    Upstreaming r10 · handoff/waiting_human — Head changed. Workflow run

    Possible next commands
    /upstreaming pause revision=10 reason="..."
    /upstreaming park revision=10 reason="..."
    /upstreaming abandon revision=10 reason="..."
    /upstreaming refresh revision=10 reason="..."
    /upstreaming approve-handoff revision=10 head=9339ec54ae594458b0b9c6039bb55e9b2b13eff7
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions