Skip to content

Commit 32211fe

Browse files
committed
Getting ready for release 3.12.0
1 parent 6f06333 commit 32211fe

File tree

5 files changed

+26
-22
lines changed

5 files changed

+26
-22
lines changed

ANNOUNCE.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
Announcing Python-Blosc2 3.11.1
1+
Announcing Python-Blosc2 3.12.0
22
===============================
33

4-
This is a patch release where we have aimed to tidy up the code, introduce optimisations, and fix some small bugs/:
4+
This is a minor release where we have aimed to tidy up the code and fix some small bugs:
55

6-
Change the ``NDArray.size`` to return the number of elements in array, instead of the size of the array in bytes
7-
Bug fixes for lazy expressions to allow a wider range of functionality
8-
Small bug fix for slice indexing with step larger than chunksize
9-
Tweak automatic chunk sizing of results for certain (e.g. linalg) operations to enhance performance
10-
Various cosmetic fixes and streamlining (thanks to the indefatigable @DimitriPapadopoulos)
6+
``LazyUDF`` objects can now be saved to disk
7+
Calls to ``__matmul__`` NumPy ufunc now passed to ``blosc2.matmul``
8+
Streamlined ``LazyUDF.compute`` is now much more robust and functional
9+
The ``get_chunk`` method for ``LazyExpr`` is more efficient and enabled for general ``LazyArray`` objects
10+
``LazyExpr`` calculation can now be done even with expressions with pure scalar operands, e.g ``10 * 3 +1.``.
1111

1212
You can think of Python-Blosc2 3.x as an extension of NumPy/numexpr that:
1313

RELEASE_NOTES.md

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

3-
## Changes from 3.11.1 to 3.11.2
3+
## Changes from 3.11.1 to 3.12.0
44

5-
XXX version-specific blurb XXX
5+
* `LazyUDF` objects can now be saved to disk
6+
* Calls to ``__matmul__`` NumPy ufunc now passed to ``blosc2.matmul``
7+
* Streamlined ``LazyUDF.compute`` is now much more robust and functional
8+
* The ``get_chunk`` method for ``LazyExpr`` is more efficient and enabled for general ``LazyArray`` objects
9+
* ``LazyExpr`` calculation can now be done even with expressions with pure scalar operands, e.g ``10 * 3 +1.``.
610

711
## Changes from 3.11.0 to 3.11.1
812

doc/getting_started/tutorials/03.lazyarray-udf.ipynb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
{
1313
"cell_type": "code",
14-
"execution_count": 1,
14+
"execution_count": 18,
1515
"metadata": {
1616
"ExecuteTime": {
1717
"end_time": "2025-08-04T11:51:00.645630Z",
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"cell_type": "code",
42-
"execution_count": 2,
42+
"execution_count": 19,
4343
"metadata": {
4444
"ExecuteTime": {
4545
"end_time": "2025-08-04T11:51:01.004841Z",
@@ -65,7 +65,7 @@
6565
},
6666
{
6767
"cell_type": "code",
68-
"execution_count": 3,
68+
"execution_count": 20,
6969
"metadata": {
7070
"ExecuteTime": {
7171
"end_time": "2025-08-04T11:51:01.101741Z",
@@ -90,7 +90,7 @@
9090
},
9191
{
9292
"cell_type": "code",
93-
"execution_count": 4,
93+
"execution_count": 21,
9494
"metadata": {
9595
"ExecuteTime": {
9696
"end_time": "2025-08-04T11:51:01.154177Z",
@@ -120,7 +120,7 @@
120120
},
121121
{
122122
"cell_type": "code",
123-
"execution_count": 5,
123+
"execution_count": 22,
124124
"metadata": {
125125
"ExecuteTime": {
126126
"end_time": "2025-08-04T11:51:01.393097Z",
@@ -154,7 +154,7 @@
154154
},
155155
{
156156
"cell_type": "code",
157-
"execution_count": 6,
157+
"execution_count": 23,
158158
"metadata": {
159159
"ExecuteTime": {
160160
"end_time": "2025-08-04T11:51:01.603539Z",
@@ -202,7 +202,7 @@
202202
},
203203
{
204204
"cell_type": "code",
205-
"execution_count": 9,
205+
"execution_count": 24,
206206
"metadata": {},
207207
"outputs": [
208208
{
@@ -240,7 +240,7 @@
240240
},
241241
{
242242
"cell_type": "code",
243-
"execution_count": 7,
243+
"execution_count": 25,
244244
"metadata": {
245245
"ExecuteTime": {
246246
"end_time": "2025-08-04T11:51:01.684087Z",
@@ -267,7 +267,7 @@
267267
},
268268
{
269269
"cell_type": "code",
270-
"execution_count": 8,
270+
"execution_count": 26,
271271
"metadata": {
272272
"ExecuteTime": {
273273
"end_time": "2025-08-04T11:51:06.808378Z",
@@ -279,7 +279,7 @@
279279
"name": "stdout",
280280
"output_type": "stream",
281281
"text": [
282-
"Numba: 4.825 seconds, pure Python: 0.280 seconds\n"
282+
"Numba: 0.241 seconds, pure Python: 0.060 seconds\n"
283283
]
284284
}
285285
],
@@ -307,7 +307,7 @@
307307
},
308308
{
309309
"cell_type": "code",
310-
"execution_count": null,
310+
"execution_count": 27,
311311
"metadata": {},
312312
"outputs": [],
313313
"source": [

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies = [
4141
"py-cpuinfo; platform_machine != 'wasm32'",
4242
"requests",
4343
]
44-
version = "3.11.2.dev0"
44+
version = "3.12.0"
4545
[project.entry-points."array_api"]
4646
blosc2 = "blosc2"
4747

src/blosc2/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "3.11.2.dev0"
1+
__version__ = "3.12.0"
22
__array_api_version__ = "2024.12"

0 commit comments

Comments
 (0)