Skip to content

Commit 17d61d0

Browse files
committed
Getting ready for release 3.8.0
1 parent cef7af5 commit 17d61d0

File tree

6 files changed

+40
-12
lines changed

6 files changed

+40
-12
lines changed

ANNOUNCE.rst

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
1-
Announcing Python-Blosc2 3.7.2
1+
Announcing Python-Blosc2 3.8.0
22
==============================
33

4-
This is a maintenance release where:
4+
This is a minor version release where we have aimed to make the first steps
5+
towards complying fully with the array-api standard:
56

6-
✅ We have updated the Blosc2 C library to 2.21.1, which fixes a regression
7-
in the build system detected in Fedora and Gentoo.
8-
✅ We reverted signature of ``TreeStore.__init__(()`` for making benchmarks
9-
to get back to normal performance.
7+
✅ C-Blosc2 internal library updated to latest 2.21.2.
108

11-
Check our new blog post about ``TreeStore`` usage and performance at:
12-
https://www.blosc.org/posts/new-treestore-blosc2
9+
✅ numexpr version requirement pushed to 2.12.1 to incorporate
10+
``isnan``, ``isfinite``, ``isinf`` functions.
11+
12+
✅ Indexing is now supported extensively and reasonably optimally for slices
13+
with negative steps, general boolean arrays and fancy indices, with both get/setitem having
14+
equal functionality. In PR #459 we extended the 1D fast path to general N-D,
15+
with consequent speedups. In PR #461 we allowed fancy indexing and general slicing
16+
with negative steps for set and getitem, with a memory-optimised path for setitem.
17+
18+
✅ Various attributes and methods for the ``NDArray`` class, as well as functions, have
19+
been added to increase compliance with the array-api standard. In addition,
20+
linspace and arange functions have been made more numerically stable and now strictly
21+
comply even with difficult floating-point edge cases.
1322

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

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ else()
5050
include(FetchContent)
5151
FetchContent_Declare(blosc2
5252
GIT_REPOSITORY https://github.com/Blosc/c-blosc2
53-
GIT_TAG 96bce728dcdbf41fd86f142ebef9e513f87a7afb # v2.21.1
53+
GIT_TAG 82a85f9d285d7ae6d141c73e84c7574bfc24a134 # v2.21.2
5454
)
5555
FetchContent_MakeAvailable(blosc2)
5656
include_directories("${blosc2_SOURCE_DIR}/include")

RELEASE_NOTES.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,27 @@
11
# Release notes
22

3-
## Changes from 3.7.2 to 3.7.3
3+
## Changes from 3.8.0 to 3.8.1
44

55
XXX version-specific blurb XXX
66

7+
## Changes from 3.7.2 to 3.8.0
8+
9+
* C-Blosc2 internal library updated to latest 2.21.2.
10+
11+
* numexpr version requirement pushed to 2.12.1 to incorporate
12+
``isnan``, ``isfinite``, ``isinf`` functions.
13+
14+
* Indexing is now supported extensively and reasonably optimally for slices
15+
with negative steps and general boolean arrays, with both get/setitem having
16+
equal functionality. In PR #459 we extended the 1D fast path to general N-D,
17+
with consequent speedups. In PR # we allowed fancy indexing and general slicing
18+
with negative steps for set and getitem, with a memory-optimised path for setitem.
19+
20+
* Various attributes and methods for the ``NDArray`` class, as well as functions, have
21+
been added to increase compliance with the array-api standard. In addition,
22+
linspace and arange functions have been made more numerically stable and now strictly
23+
comply even with difficult floating-point edge cases.
24+
725
## Changes from 3.7.1 to 3.7.2
826

927
* C-Blosc2 internal library updated to latest 2.21.1.

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.7.3.dev0"
44+
version = "3.8.0"
4545
[project.entry-points."array_api"]
4646
blosc2 = "blosc2"
4747

src/blosc2/blosc2_ext.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2612,6 +2612,7 @@ cdef class NDArray:
26122612
mask_[i] = mask[i]
26132613
_check_rc(b2nd_squeeze_index(self.array, mask_), "Error while squeezing array")
26142614

2615+
#this squeezes even if not asked for by mask - may have to use in future though
26152616
#if self.array.shape[0] == 1 and self.ndim == 1:
26162617
# self.array.ndim = 0
26172618

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.7.3.dev0"
1+
__version__ = "3.8.0"
22
__array_api_version__ = "2024.12"

0 commit comments

Comments
 (0)