Skip to content

Commit 99b8bee

Browse files
Merge pull request #51 from borgbackup/rel020
release 0.2.0
2 parents f390cc3 + 5010ea6 commit 99b8bee

3 files changed

Lines changed: 20 additions & 10 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,24 @@ jobs:
3131
fail-fast: true
3232
matrix:
3333
include:
34-
- os: ubuntu-22.04
35-
python-version: '3.10'
36-
toxenv: py310
34+
- os: ubuntu-24.04
35+
python-version: '3.11'
36+
toxenv: py311
3737
- os: ubuntu-24.04
3838
python-version: '3.14'
3939
toxenv: py314
40+
- os: ubuntu-latest
41+
python-version: '3.15-dev'
42+
toxenv: py315
43+
# 3.15 is not released yet, so do not fail the whole matrix if it
44+
# (or Cython not supporting it yet) breaks.
45+
allow-failure: true
4046

4147
env:
4248
TOXENV: ${{ matrix.toxenv }}
4349

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

4653
steps:
4754
- uses: actions/checkout@v4

‎CHANGES.rst‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
Changelog
22
=========
33

4-
Version 0.2.0 (unreleased)
4+
Version 0.2.0 (2026-08-11)
55
--------------------------
66

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

1417
Version 0.1.1 (2026-02-09)
1518
--------------------------

‎pyproject.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ maintainers = [
66
{name="Thomas Waldmann", email="tw@waldmann-edv.de"},
77
]
88
description = "Memory-efficient hash table (implemented in Cython)"
9-
requires-python = ">=3.10"
9+
requires-python = ">=3.11"
1010
keywords = ["hashtable", "memory", "efficient", "dense"]
1111
classifiers = [
1212
"Development Status :: 4 - Beta",
1313
"Intended Audience :: Developers",
1414
"Programming Language :: Python",
1515
"Programming Language :: Python :: 3",
16-
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
1918
"Programming Language :: Python :: 3.13",
2019
"Programming Language :: Python :: 3.14",
20+
"Programming Language :: Python :: 3.15",
2121
"Topic :: Software Development :: Libraries",
2222
"Topic :: Software Development :: Libraries :: Python Modules",
2323
]
@@ -43,7 +43,7 @@ markers = []
4343

4444

4545
[tool.tox]
46-
env_list = ["py310", "py311", "py312", "py313", "py314"]
46+
env_list = ["py311", "py312", "py313", "py314", "py315"]
4747

4848
[tool.tox.env]
4949

0 commit comments

Comments
 (0)