Skip to content

Commit 04fd362

Browse files
committed
Getting ready for release 3.2.0
1 parent a6db6ea commit 04fd362

File tree

5 files changed

+33
-20
lines changed

5 files changed

+33
-20
lines changed

ANNOUNCE.rst

+10-17
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,15 @@
1-
Announcing Python-Blosc2 3.1.0 (and 3.1.1)
2-
==========================================
1+
Announcing Python-Blosc2 3.2.0
2+
==============================
33

4-
This is a minor release where we optimized the performance of the
5-
internal compute engine, as well as indexing for NDArrays. We also
6-
added new API:
4+
This is a minor release where we fixed some bugs related with the
5+
maximum type size supported by Blosc2; now, the maximum size is
6+
512 MB (compared to 255 bytes in previous versions). We are also
7+
introducing WASM32 wheels for the first time.
78

8-
* blosc2.evaluate: a drop-in replacement of numexpr.evaluate(). This
9-
allows to evaluate expressions with combinations of NDArrays and NumPy
10-
arrays. In addition, it has the next improvements:
9+
We also added new ``blosc2.matmul()`` function for computing matrix
10+
multiplication on NDArray instances.
1111

12-
- More functionality than numexpr (e.g. reductions).
13-
- Follow casting rules of NumPy more closely.
14-
- Use both NumPy arrays and Blosc2 NDArrays in the same expression.
15-
16-
* blosc2.jit: a decorator to compile a function with a NumPy expression
17-
using the compute engine of Blosc2. Useful to speed up the evaluation
18-
of pure NumPy expressions at runtime.
19-
20-
You can think of Python-Blosc2 3.0 as an extension of NumPy/numexpr that:
12+
You can think of Python-Blosc2 3.x as an extension of NumPy/numexpr that:
2113

2214
- Can deal with ndarrays compressed using first-class codecs & filters.
2315
- Performs many kind of math expressions, including reductions, indexing...
@@ -26,6 +18,7 @@ You can think of Python-Blosc2 3.0 as an extension of NumPy/numexpr that:
2618
- Integrates with Numba and Cython via UDFs (User Defined Functions).
2719
- Adheres to modern NumPy casting rules way better than numexpr.
2820
- Computes expressions only when needed. They can also be stored for later use.
21+
- Supports linear algebra operations (like ``blosc2.matmul()``).
2922

3023
Install it with::
3124

RELEASE_NOTES.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,29 @@
11
# Release notes
22

3-
## Changes from 3.1.1 to 3.1.2
3+
## Changes from 3.1.1 to 3.2.0
44

55
* Structured arrays can be larger than 255 bytes now. This was a limitation
66
in the previous versions, but now it is gone (the new limit is ~512 MB,
77
which I hope will be enough for some time).
88

9+
* New `blosc2.matmul()` function for computing matrix multiplication on NDArray
10+
instances. This allows for efficient computations on compressed data that
11+
can be in-memory, on-disk and in the network. See
12+
[here](https://www.blosc.org/python-blosc2/reference/autofiles/operations_with_arrays/blosc2.matmul.html)
13+
for more information.
14+
15+
* Support for building WASM32 wheels. This is a new feature that allows to
16+
build wheels for WebAssembly 32-bit platforms. This is useful for running
17+
Python code in the browser.
18+
19+
* Tested support for NumPy<2 (at least 1.26 series). Now, the library should
20+
work with NumPy 1.26 and up.
21+
22+
* C-Blosc2 updated to 2.17.0.
23+
24+
* httpx has replaced by requests library for the remote proxy. This has been
25+
done to avoid the need of the `httpx` library, which is not supported by
26+
Pyodide.
927

1028
## Changes from 3.1.0 to 3.1.1
1129

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies = [
4040
"py-cpuinfo; platform_machine != 'wasm32'",
4141
"requests",
4242
]
43-
version = "3.1.2.dev0"
43+
version = "3.2.0"
4444

4545

4646
[project.optional-dependencies]

src/blosc2/core.py

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
import numpy as np
2828
import platformdirs
29+
import requests
2930

3031
import blosc2
3132
from blosc2 import blosc2_ext
@@ -1125,6 +1126,7 @@ def print_versions():
11251126
import numexpr
11261127

11271128
print(f"numexpr version: {numexpr.__version__}")
1129+
print(f"requests version: {requests.__version__}")
11281130
print(f"Python version: {sys.version}")
11291131
(sysname, _nodename, release, version, machine, processor) = platform.uname()
11301132
print(f"Platform: {sysname}-{release}-{machine} ({version})")

src/blosc2/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.1.2.dev0"
1+
__version__ = "3.2.0"

0 commit comments

Comments
 (0)