Skip to content

release: prepare cChardet 2.4.0 - #178

Merged
PyYoshi merged 1 commit into
masterfrom
release/2.4.0
Oct 11, 2026
Merged

PyYoshi merged 1 commit into
masterfrom
release/2.4.0

Conversation

@PyYoshi

@PyYoshi PyYoshi commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Summary

Prepare cChardet 2.4.0 for release.

  • set the public package version to 2.4.0
  • finalize the 2.4.0 changelog with the 2026-10-11 release date

Highlights

  • support Python 3.15, including the free-threaded CPython 3.15 build, with wheels built against the final CPython 3.15.0 release
  • publish Windows ARM64 wheels for the first time
  • build Linux aarch64 wheels on native arm64 runners instead of under QEMU emulation
  • test every supported Python version, including the free-threaded builds, on x86-64 and arm64 Linux and Windows and on Apple silicon macOS

Wheels for this release cover CPython 3.11–3.15 plus free-threaded 3.14t/3.15t on manylinux x86_64/aarch64, Windows x86/AMD64/ARM64, and macOS x86_64/arm64. That is 49 wheels plus the sdist.

Local validation

All checks below ran with CPython 3.15.0 final:

  • make check
    • Ruff 0.17.0 passed
    • strict mypy passed
    • 29 pytest tests passed
  • uv lock --check passed
  • uv build produced cchardet-2.4.0.tar.gz and a 2.4.0 wheel
  • twine check passed for both distributions
  • the wheel installed into a clean CPython 3.15.0 environment, where these all passed:
    • cchardet.__version__ == "2.4.0" and cchardet.version == (2, 4, 0)
    • detect(), detect_all(), incremental UniversalDetector, and the cchardetect CLI (plain and --json) on Shift_JIS input
  • cibuildwheel 4.3.1 built cp315 and cp315t manylinux wheels with CPython 3.15.0, and both passed the wheel smoke test (validated on chore: build against the final CPython 3.15.0 release #177)

After merge, create and push a signed v2.4.0 tag. The tag workflow builds the sdist and all platform wheels, verifies that the tag matches the package version, waits for approval at the protected pypi environment, and publishes through Trusted Publishing with attestations.

@PyYoshi
PyYoshi merged commit 0c5cb59 into master Oct 11, 2026
44 checks passed
@PyYoshi
PyYoshi deleted the release/2.4.0 branch October 11, 2026 00:59
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