Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: chardet/chardet
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7.4.2
Choose a base ref
...
head repository: chardet/chardet
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7.4.3
Choose a head ref
  • 8 commits
  • 8 files changed
  • 2 contributors

Commits on Apr 13, 2026

  1. ci: use native runners for aarch64/riscv64 instead of QEMU

    Replace QEMU emulation with native runners for Linux cross-arch builds:
    - x86_64 on ubuntu-latest (unchanged)
    - aarch64 on ubuntu-24.04-arm (free GitHub-hosted ARM runner)
    - riscv64 on ubuntu-24.04-riscv (free RISE RISC-V runner)
    
    All three arches now build natively in parallel instead of sequentially
    under QEMU. The 7.4.2 release Linux build took ~47 minutes under QEMU;
    this should bring it down to ~5-10 minutes.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    dan-blanchard and claude committed Apr 13, 2026
    Configuration menu
    Copy the full SHA
    78c1d20 View commit details
    Browse the repository at this point in the history
  2. ci: invoke cibuildwheel manually on riscv64 runner

    The pypa/cibuildwheel action internally calls actions/setup-python,
    which has no prebuilt Python binaries for riscv64. On the native RISE
    riscv64 runner, invoke cibuildwheel directly with the system Python.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    dan-blanchard and claude committed Apr 13, 2026
    Configuration menu
    Copy the full SHA
    204623d View commit details
    Browse the repository at this point in the history
  3. ci: use python3 -m pip on riscv64 runner

    The RISE riscv64 runner doesn't have pip/cibuildwheel on PATH. Use
    python3 -m pip and python3 -m cibuildwheel instead.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    dan-blanchard and claude committed Apr 13, 2026
    Configuration menu
    Copy the full SHA
    2f6e1e9 View commit details
    Browse the repository at this point in the history
  4. ci: parallelize riscv64 builds across 5 RISE runners

    Split riscv64 into one job per Python version (cp310-cp314) so each
    gets its own RISE runner. Should drop riscv64 wall-clock from ~15 min
    (sequential) to ~3 min (parallel).
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    dan-blanchard and claude committed Apr 13, 2026
    Configuration menu
    Copy the full SHA
    08e4ebc View commit details
    Browse the repository at this point in the history
  5. Fix ValueError crash on null bytes in charset declarations (#369)

    codecs.lookup() raises ValueError (not LookupError) when the encoding
    name contains an embedded null byte. Catch ValueError alongside
    LookupError in lookup_encoding() and defensively in _validate_bytes()
    and _to_utf8().
    
    Closes #369
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    dan-blanchard and claude committed Apr 13, 2026
    Configuration menu
    Copy the full SHA
    0af01d6 View commit details
    Browse the repository at this point in the history
  6. docs: changelog for 7.4.3

    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    dan-blanchard and claude committed Apr 13, 2026
    Configuration menu
    Copy the full SHA
    a1fc986 View commit details
    Browse the repository at this point in the history
  7. docs: fix changelog attribution for #369

    David R. MacIver reported the issue, but the fix was ours.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    dan-blanchard and claude committed Apr 13, 2026
    Configuration menu
    Copy the full SHA
    7a6667f View commit details
    Browse the repository at this point in the history
  8. docs: set 7.4.3 release date to 2026-04-13

    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    dan-blanchard and claude committed Apr 13, 2026
    Configuration menu
    Copy the full SHA
    8f404a5 View commit details
    Browse the repository at this point in the history
Loading