Skip to content

Commit c4ce10c

Browse files
committed
Getting ready for release 3.0.0-beta.1
1 parent a936f09 commit c4ce10c

File tree

5 files changed

+39
-11
lines changed

5 files changed

+39
-11
lines changed

ANNOUNCE.rst

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
Announcing Python-Blosc2 2.6.2
2-
==============================
1+
Announcing Python-Blosc2 3.0.0-beta.1
2+
=====================================
33

4-
Updated to latest C-Blosc2 2.14.3. This was necessary to fix
5-
several CVEs in the C-Blosc2 library. Also, the new version adds
6-
protection when platforms have just one CPU. This caused the
7-
internal number of threads to be 0, producing a division by zero.
4+
New evaluation engine (based on numexpr) for NDArray instances.
5+
Now, you can evaluate expressions like `a + b + 1` where `a` and `b`
6+
are NDArray instances. This is a powerful feature that allows for
7+
efficient computations on compressed data, and supports advanced features like reductions,
8+
filters, user-defined functions and broadcasting (still in beta). See this
9+
[example](https://github.com/Blosc/python-blosc2/blob/main/examples/ndarray/eval_expr.py).
10+
11+
Also, we have added support for memory mapping in `SChunk` and `NDArray` instances.
12+
This allows to map super-chunks stored in disk and access them as if they were in memory.
13+
14+
Last, but not least, we have added support for NumPy 2.0.0. This means that our wheels
15+
are built against this version of NumPy, so you will need to use NumPy 1.23.0 or later.
816

917
For more info, you can have a look at the release notes in:
1018

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ quite a bit of memory (but it can still be convenient for small outputs).
126126
It is important to note that the `NDArray` object can use memory-mapped files as well, and the
127127
benchmark above is actually using a memory-mapped file as the storage for the operands.
128128
Memory-mapped files are very useful when the operands do not fit in-memory, while keeping good
129-
performance. Thanks to Jan Sellner for his implementation in Blosc2.
129+
performance.
130130

131131
And here it is the performance when the operands do not fit well in-memory:
132132

RELEASE_NOTES.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
11
# Release notes
22

3-
## Changes from 2.6.2 to 2.6.3
3+
## Changes from 2.6.2 to 3.0.0-beta.1
44

5-
XXX version-specific blurb XXX
5+
* New evaluation engine (based on numexpr) for NDArray instances.
6+
Now, you can evaluate expressions like `a + b + 1` where `a` and `b`
7+
are NDArray instances. This is a powerful feature that allows for
8+
efficient computations on compressed data, and supports advanced features like reductions,
9+
filters, user-defined functions and broadcasting (still in beta). See this
10+
[example](https://github.com/Blosc/python-blosc2/blob/main/examples/ndarray/eval_expr.py).
11+
12+
* As a consequence of the above, there are many new functions to operate with, and
13+
evaluate NDArray instances. See the
14+
[function section docs](https://www.blosc.org/python-blosc2/reference/operations_with_arrays.html#functions)
15+
for more information.
16+
17+
* Support for NumPy 2.0.0 is here! Now, the wheels are built with NumPy 2.0.0.
18+
19+
* Support for memory mapping in `SChunk` and `NDArray` instances. This allows to map
20+
super-chunks stored in disk and access them as if they were in memory.
21+
If curious, see
22+
[some benchmarks here](https://github.com/Blosc/python-blosc2/blob/main/examples/ndarray/eval_expr.py).
23+
Thanks to @JanSellner for the excellent implementation, both in the C and the Python libraries.
24+
25+
* Internal C-Blosc2 updated to 2.15.0.
626

727
## Changes from 2.6.1 to 2.6.2
828

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.3.dev0
1+
3.0.0-beta.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires = [
55
"cython>=3",
66
"cmake",
77
"ninja",
8-
"numpy>=2.0.0rc1",
8+
"numpy>=2.0.0",
99
]
1010
build-backend = "setuptools.build_meta"
1111

0 commit comments

Comments
 (0)