Skip to content

Commit d8f70b4

Browse files
Merge main
2 parents 9fc8add + 3438e16 commit d8f70b4

File tree

17 files changed

+511
-536
lines changed

17 files changed

+511
-536
lines changed

.github/workflows/wheel.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
submodules: true
2828

29-
- uses: pypa/cibuildwheel@v2.22.0
29+
- uses: pypa/cibuildwheel@v2.23.2
3030

3131
- uses: actions/upload-artifact@v4
3232
with:

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
- id: debug-statements
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.9.4
17+
rev: v0.11.4
1818
hooks:
1919
- id: ruff
2020
args: ["--fix", "--show-fixes"]
@@ -26,8 +26,8 @@ repos:
2626
- id: sp-repo-review
2727

2828
- repo: https://github.com/pre-commit/mirrors-mypy
29-
rev: v1.14.1
29+
rev: v1.15.0
3030
hooks:
3131
- id: mypy
3232
args: [--config-file, pyproject.toml]
33-
additional_dependencies: [numpy, pytest, crc32c, zfpy, 'zarr>=3.0.0rc1']
33+
additional_dependencies: [numpy, pytest, crc32c, zfpy, 'zarr>=3']

docs/release.rst

Lines changed: 67 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,73 @@ Enhancements
2424
existed upstream/in-tree in Pyodide, and are now tested here more extensively.
2525
By :user:`Agriya Khetarpal <agriyakhetarpal>`.
2626

27-
* Add support for the Linux AArch64 architecture, and bump the minimum
28-
macOS deployment target for x86_64 to 10.13.
27+
Improvements
28+
~~~~~~~~~~~~
29+
30+
* In ``vlen``, define and use ``const`` ``HEADER_LENGTH``.
31+
By :user:`John Kirkham <jakirkham>`, :issue:`723`
32+
33+
Fixes
34+
~~~~~
35+
36+
* Fix ``const`` discard warnings in ``fletcher32``.
37+
By :user:`John Kirkham <jakirkham>`, :issue:`728`
38+
39+
* Update ``license*`` metadata and include third-party licenses.
40+
By :user:`John Kirkham <jakirkham>`, :issue:`729`
41+
42+
* Add ``#ifndef`` guard around ``PyBytes_RESIZE``.
43+
By :user:`John Kirkham <jakirkham>`, :issue:`732`
44+
45+
Maintenance
46+
~~~~~~~~~~~
47+
48+
49+
0.16.0
50+
------
51+
52+
Enhancements
53+
~~~~~~~~~~~~
54+
55+
* Add ``typesize`` argument to ``Blosc`` to allow for buffers that are passed to ``encode``
56+
use that information. zarr v3 currently has its Blosc codec as bytes-to-bytes but does retain
57+
the size information so using it here allows for massive compression ratio gains.
58+
By :user:`Ilan Gold <ilan-gold>`
59+
* Add support for the Linux aarch64 architecture,
2960
By :user:`Agriya Khetarpal <agriyakhetarpal>`, :issue:`288`.
61+
* Preallocate output buffers and resize directly as needed.
62+
By :user:`John Kirkham <jakirkham>`, :issue:`656`
63+
* ``Checksum32`` is now an abstract base clase, with ``checksum()`` as an abstract method.
64+
This helps ensure that any subclasses implement the ``checksum()`` method.
65+
:issue:`711`
66+
67+
Removals
68+
~~~~~~~~
69+
70+
The following ``blosc`` funcitons are removed, with no replacement.
71+
This is because they were not intended to be public API.
72+
73+
- ``numcodecs.blosc.init``
74+
- ``numcodecs.blosc.destroy``
75+
- ``numcodecs.blosc.compname_to_compcode``
76+
- ``numcodecs.blosc.cbuffer_sizes``
77+
- ``numcodecs.blosc.cbuffer_metainfo``
78+
79+
In addition, ``numcodecs.blosc.decompress_partial`` is removed as
80+
has always been experimental and there is no equivalent in the official
81+
blsoc Python package.
82+
By :user:`David Stansby <dstansby>`, :issue:`712`
83+
84+
Maintenance
85+
~~~~~~~~~~~
86+
* Replace internal ``Buffer`` usage with ``memoryview``\ s.
87+
By :user:`John Kirkham <jakirkham>`, :issue:`656`
88+
* Bump the minimum macOS deployment target for x86_64 to 10.13.
89+
By :user:`Agriya Khetarpal <agriyakhetarpal>`, :issue:`288`.
90+
91+
92+
0.15.1
93+
------
3094

3195
Improvements
3296
~~~~~~~~~~~~
@@ -63,7 +127,7 @@ This is because they are not intended to be public API.
63127
In addition, ``numcodecs.blosc.decompress_partial`` is deprecated as
64128
has always been experimental and there is no equivalent in the official
65129
blsoc Python package.
66-
By :user:`David Stansby <dstansby>`, :issue`619`
130+
By :user:`David Stansby <dstansby>`, :issue:`619`
67131

68132
Fixes
69133
~~~~~

numcodecs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
ncores = 1
5252
blosc._init()
5353
blosc.set_nthreads(min(8, ncores))
54-
atexit.register(blosc.destroy)
54+
atexit.register(blosc._destroy)
5555

5656
from numcodecs import zstd as zstd
5757
from numcodecs.zstd import Zstd

0 commit comments

Comments
 (0)