Skip to content

Refresh dependencies, wheel CI, and performance validation - #59

Open
code-inflation wants to merge 4 commits into
masterfrom
chore/maintenance-refresh
Open

code-inflation wants to merge 4 commits into
masterfrom
chore/maintenance-refresh

Conversation

@code-inflation

@code-inflation code-inflation commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

The last release was 0.3.0, and CI still pointed at an Intel macOS runner that GitHub retired. This updates PyO3, crc32fast, and the build tools, and gets 0.4.0 ready for CPython 3.11–3.15. The checksum API is unchanged. Users of older Python or the previous PyPy wheels can stay on 0.3.0; the glibc wheel for ARMv7 now needs glibc 2.31.

CI now installs the actual wheel before running the tests, so it can't accidentally pick up the source tree or a copy from PyPI. The old combine() test never called combine(); the new tests check it directly and compare the results with zlib.

Verification

The native Linux benchmarks compare the PR with master on the same runners. None of the measured cases got slower. A 32 MiB checksum went from 1.53 ms to 1.16 ms on x86-64 and from 8.87 ms to 1.41 ms on ARM64. The README also has a fresh side-by-side comparison with zlib and fastcrc: pycrc32 is much faster than before on the ARM64 VM, although current fastcrc is quicker on that 32 MiB input. It switched to a SIMD backend in 0.4.

See the PR checks for the wheel and sdist results.

@code-inflation
code-inflation marked this pull request as ready for review November 29, 2026 12:24
@code-inflation
code-inflation added this pull request to stack #61 November 29, 2026 13:08
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