Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,24 @@ jobs:
fail-fast: true
matrix:
include:
- os: ubuntu-22.04
python-version: '3.10'
toxenv: py310
- os: ubuntu-24.04
python-version: '3.11'
toxenv: py311
- os: ubuntu-24.04
python-version: '3.14'
toxenv: py314
- os: ubuntu-latest
python-version: '3.15-dev'
toxenv: py315
# 3.15 is not released yet, so do not fail the whole matrix if it
# (or Cython not supporting it yet) breaks.
allow-failure: true

env:
TOXENV: ${{ matrix.toxenv }}

runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.allow-failure || false }}

steps:
- uses: actions/checkout@v4
Expand Down
11 changes: 7 additions & 4 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
Changelog
=========

Version 0.2.0 (unreleased)
Version 0.2.0 (2026-08-11)
--------------------------

- ``HashTable.items()`` / ``HashTableNT.items()``: add optional ``prefix_bits`` /
``prefix`` arguments to iterate only over the items whose key starts with the
``prefix`` arguments to iterate over only the items whose keys start with the
given bit prefix. As the keys are random bytes, this partitions the items into
``2 ** prefix_bits`` roughly equally sized, disjoint sets, e.g. to process a
huge hash table in batches with a small memory footprint, #49.
``2 ** prefix_bits`` roughly equally sized, disjoint sets, so a huge hash table
can be processed in batches with a small memory footprint, #49.
- Require ``key_size >= 4`` to avoid out-of-bounds reads in ``_get_index``, #42.
- Add support for Python 3.15, remove 3.10.
- Cythonize with the latest Cython release.


Version 0.1.1 (2026-02-09)
--------------------------
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ maintainers = [
{name="Thomas Waldmann", email="tw@waldmann-edv.de"},
]
description = "Memory-efficient hash table (implemented in Cython)"
requires-python = ">=3.10"
requires-python = ">=3.11"
keywords = ["hashtable", "memory", "efficient", "dense"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
Expand All @@ -43,7 +43,7 @@ markers = []


[tool.tox]
env_list = ["py310", "py311", "py312", "py313", "py314"]
env_list = ["py311", "py312", "py313", "py314", "py315"]

[tool.tox.env]

Expand Down
Loading