Skip to content

Commit

Permalink
Merge branch 'releases/v3.9.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
ivilata committed Nov 27, 2023
2 parents a0124f5 + f580b56 commit ae689fd
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 7 deletions.
7 changes: 6 additions & 1 deletion ANNOUNCE.txt.in
Expand Up @@ -8,7 +8,12 @@ We are happy to announce PyTables @VERSION@.
What's new
==========

XXX version-specific blurb XXX
This release of PyTables fixes some cases of Blosc2 NDim optimized slice
reading which resulted in wrong data being returned. Users of this
feature are strongly recommended to upgrade.

Also, wheels are now built with thread-safe HDF5 support, which should
simplify the concurrent reading of files.

In case you want to know more in detail what has changed in this
version, please refer to: http://www.pytables.org/release_notes.html
Expand Down
48 changes: 43 additions & 5 deletions RELEASE_NOTES.rst
Expand Up @@ -11,16 +11,54 @@
Changes from 3.9.1 to 3.9.2
===========================

XXX version-specific blurb XXX

- Require python-blosc2 >= 2.3.0 or c-blosc2 >= 2.11.0 (support for the
`b2nd_copy_buffer` function).
Bugfixes
--------

- Fix the assembly of returned slice data in Blosc2 NDim optimized slice reads
by using Blosc2's `b2nd_copy_buffer` (:PR:`1078`). The bug only showed up
when the chunk did not fully cover the innermost dimension. Add unit tests
to ckeck for regressions, along with foreign-generated files, and enable and
fix Blosc2 NDim tests which were not being run. Thanks to Ivan Vilata.

Improvements
------------

- PyTables wheels now use a threadsafe installation of the hdf5 library.
- PyTables wheels now use a threadsafe build of the HDF5 library
(:issue:`1075` and :PR:`1077`). Concurrent reads should be possible with no
need for additional locking or monkey-patching of the file open function.
Thanks to Kiet Pham.
- Partial support for the future NumPy 2, with some tests still failing
(:PR:`1068`). Thanks to Thomas Grainger.
- Relax the reading of Blosc2 NDim to cope with datasets stored with other
tools (:PR:`1072`), e.g. missing chunk rank/shape in filter values, having
HDF5 chunks where the Blosc2 super-chunk contains more than one inner chunk,
or chunks with data not padded to the full chunk size (example script and
tests included). Also enhance checks, comments and logged messages. Thanks
to Ivan Vilata.

Other changes
-------------

- Drop compatibility with the obsolete HDF5 1.8 API. PyTables now requires at
least the 1.10 API (:PR:`1080`). Thanks to Antonio Valentino.
- Require python-blosc2 >= 2.3.0 or c-blosc2 >= 2.11.0 (which adds support for
the `b2nd_copy_buffer` function).
- Use the main Conda Forge channel for Python 3.12 (:PR:`1066`). Thanks to
Thomas Grainger.
- Assorted fixes to the b2nd slicing benchmark. Thanks to Ivan Vilata.
- Assorted fixes to b2nd slicing optimization tips (:PR:`1069`). Thanks to
Ivan Vilata.

Thanks
------

In alphabetical order:

- Antonio Valentino
- Ivan Vilata
- Kiet Pham
- Thomas Grainger


Changes from 3.9.0 to 3.9.1
===========================
Expand Down
1 change: 1 addition & 0 deletions doc/source/release_notes.rst
Expand Up @@ -66,6 +66,7 @@ Release timeline
----------------

=============== =========== ==========
PyTables 3.9.2 2023-11-27
PyTables 3.9.1 2023-10-06
PyTables 3.9.0 2023-10-05
PyTables 3.8.0 2022-12-23
Expand Down
2 changes: 1 addition & 1 deletion tables/_version.py
@@ -1,2 +1,2 @@
__version__ = "3.9.2.dev0"
__version__ = "3.9.2"
"""The PyTables version number."""

0 comments on commit ae689fd

Please sign in to comment.