Skip to content

Update xxhash to 3.8.1 - #1039

Closed
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-xxhash-2.0.2-to-3.8.1
Closed

Update xxhash to 3.8.1#1039
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-xxhash-2.0.2-to-3.8.1

Conversation

@pyup-bot

Copy link
Copy Markdown
Collaborator

This PR updates xxhash from 2.0.2 to 3.8.1.

Changelog

3.8.0

~~~~~~~~~~~~~~~~~

- Speed up module-level one-shot ``digest()``, ``intdigest()``, and
``hexdigest()`` functions by switching them to ``METH_FASTCALL``.
- Keep one-shot argument handling consistent with hash constructors, including
positional and keyword ``input``/``seed`` arguments, duplicate argument
errors, and oversized seed wrapping.
- Fix error handling in the ``xxh3_128`` integer digest path so allocation
failures are reported cleanly.
- Fix Python 3.8 builds by adding a ``PyModule_AddType`` compatibility
fallback with correct reference counting.
- Correct type stubs for ``xxh64_digest()``, ``xxh64_hexdigest()``, and
``xxh64_intdigest()``, they were incorrectly aliased to xxh3_64 functions.

3.7.1

~~~~~~~~~~~~~~~~~

- Fix memory leak in copy() and new() when memory allocation fails (rare edge case)
- Fix seed/reset state initialization in xxh32 and xxh64 (unlikely to affect normal usage)
- Replace Py_BuildValue with PyLong_FromUnsignedLong/LongLong for performance
- Update README examples to use bytes literals
- Add CodSpeed performance benchmarks and CI workflow
- Build aarch64/armv7l on native Arm runners; test against Python 3.15.0-beta.2

3.7.0

~~~~~~~~~~~~~~~~~

- Drop support for Python 3.7
- Build armv7l manylinux/musllinux wheels
- Build riscv64 manylinux/musllinux wheels
- Build android and ios wheels

3.6.0

~~~~~~~~~~~~~~~~~

- Build wheels for Python 3.14
- Python free-threading support
- Typing: Use Buffer type stubs
- Deprecate xxhash.VERSION_TUPLE, it will be removed in the next major release

3.5.0

~~~~~~~~~~~~~~~~~

- Build wheels for Python 3.13

3.4.1

~~~~~~~~~~~~~~~~~

- Build wheels for Python 3.12
- Remove setuptools_scm

3.4.0

~~~~~~~~~~~~~~~~~

*Yanked* due to wheels building problem.

3.3.0

~~~~~~~~~~~~~~~~~

- Upgrade xxHash to v0.8.2
- Drop support for Python 3.6

3.2.0

~~~~~~~~~~~~~~~~~

This is the last version to support Python 3.6

- Build Python 3.11 wheels.
- Remove setup.py test_suites, call unittest directly

3.1.0

~~~~~~~~~~~~~~~~~

- Type annotations.
- Enabled muslinux wheels building.

3.0.0

~~~~~~~~~~~~~~~~~

- New set `algorithms_available` lists all implemented algorithms in `xxhash`
package.
- Upgrade xxHash to v0.8.1.
- Drop support for EOL Python versions, require python >= 3.6 from now on.
- Migrate to github actions and build arm64 wheels for macOS.
- Always release GIL.
Links

@pyup-bot

Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #1087

@pyup-bot pyup-bot closed this Jul 20, 2026
@fake-name
fake-name deleted the pyup-update-xxhash-2.0.2-to-3.8.1 branch July 20, 2026 15:41
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