pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-tables



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Mar 11 13:56:16 UTC 2026

Modified Files:
        pkgsrc/math/py-tables: Makefile PLIST distinfo
        pkgsrc/math/py-tables/patches: patch-setup.py

Log Message:
py-tables: updated to 3.11.1

Changes from 3.11.0 to 3.11.1

* Fix blosc2 loading (:issue:`1305`, :issue:`1306`).

Changes from 3.10.2 to 3.11.0

* Add support for Python 3.14.
* Set Cython "freethreading_compatible" directive.
  Please refer to https://www.pytables.org/cookbook/threading.html
  for details about threading support.
* Python wheel packages are now generated exploiting limited API and
  stable ABI (`abi3`).


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/math/py-tables/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/py-tables/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/math/py-tables/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/py-tables/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-tables/Makefile
diff -u pkgsrc/math/py-tables/Makefile:1.25 pkgsrc/math/py-tables/Makefile:1.26
--- pkgsrc/math/py-tables/Makefile:1.25 Thu Oct  9 07:57:49 2025
+++ pkgsrc/math/py-tables/Makefile      Wed Mar 11 13:56:15 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2025/10/09 07:57:49 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2026/03/11 13:56:15 adam Exp $
 
-DISTNAME=      tables-3.10.2
+DISTNAME=      tables-3.11.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tables/}
 
@@ -39,7 +38,6 @@ do-test:
 
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../archivers/lzo/buildlink3.mk"
-.include "../../devel/blosc/buildlink3.mk"
 .include "../../devel/blosc2/buildlink3.mk"
 .include "../../devel/hdf5/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"

Index: pkgsrc/math/py-tables/PLIST
diff -u pkgsrc/math/py-tables/PLIST:1.7 pkgsrc/math/py-tables/PLIST:1.8
--- pkgsrc/math/py-tables/PLIST:1.7     Tue Apr 15 16:31:40 2025
+++ pkgsrc/math/py-tables/PLIST Wed Mar 11 13:56:15 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2025/04/15 16:31:40 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2026/03/11 13:56:15 adam Exp $
 bin/pt2to3-${PYVERSSUFFIX}
 bin/ptdump-${PYVERSSUFFIX}
 bin/ptrepack-${PYVERSSUFFIX}
@@ -12,10 +12,10 @@ ${PYSITELIB}/${WHEEL_INFODIR}/top_level.
 ${PYSITELIB}/tables/__init__.py
 ${PYSITELIB}/tables/__init__.pyc
 ${PYSITELIB}/tables/__init__.pyo
+${PYSITELIB}/tables/_comp_bzip2.abi3.so
 ${PYSITELIB}/tables/_comp_bzip2.pyx
-${PYSITELIB}/tables/_comp_bzip2.so
+${PYSITELIB}/tables/_comp_lzo.abi3.so
 ${PYSITELIB}/tables/_comp_lzo.pyx
-${PYSITELIB}/tables/_comp_lzo.so
 ${PYSITELIB}/tables/_version.py
 ${PYSITELIB}/tables/_version.pyc
 ${PYSITELIB}/tables/_version.pyo
@@ -59,9 +59,9 @@ ${PYSITELIB}/tables/flavor.pyo
 ${PYSITELIB}/tables/group.py
 ${PYSITELIB}/tables/group.pyc
 ${PYSITELIB}/tables/group.pyo
+${PYSITELIB}/tables/hdf5extension.abi3.so
 ${PYSITELIB}/tables/hdf5extension.pxd
 ${PYSITELIB}/tables/hdf5extension.pyx
-${PYSITELIB}/tables/hdf5extension.so
 ${PYSITELIB}/tables/idxutils.py
 ${PYSITELIB}/tables/idxutils.pyc
 ${PYSITELIB}/tables/idxutils.pyo
@@ -71,19 +71,19 @@ ${PYSITELIB}/tables/index.pyo
 ${PYSITELIB}/tables/indexes.py
 ${PYSITELIB}/tables/indexes.pyc
 ${PYSITELIB}/tables/indexes.pyo
+${PYSITELIB}/tables/indexesextension.abi3.so
 ${PYSITELIB}/tables/indexesextension.pyx
-${PYSITELIB}/tables/indexesextension.so
 ${PYSITELIB}/tables/leaf.py
 ${PYSITELIB}/tables/leaf.pyc
 ${PYSITELIB}/tables/leaf.pyo
 ${PYSITELIB}/tables/link.py
 ${PYSITELIB}/tables/link.pyc
 ${PYSITELIB}/tables/link.pyo
+${PYSITELIB}/tables/linkextension.abi3.so
 ${PYSITELIB}/tables/linkextension.pyx
-${PYSITELIB}/tables/linkextension.so
+${PYSITELIB}/tables/lrucacheextension.abi3.so
 ${PYSITELIB}/tables/lrucacheextension.pxd
 ${PYSITELIB}/tables/lrucacheextension.pyx
-${PYSITELIB}/tables/lrucacheextension.so
 ${PYSITELIB}/tables/misc/__init__.py
 ${PYSITELIB}/tables/misc/__init__.pyc
 ${PYSITELIB}/tables/misc/__init__.pyo
@@ -141,8 +141,8 @@ ${PYSITELIB}/tables/scripts/pttree.pyo
 ${PYSITELIB}/tables/table.py
 ${PYSITELIB}/tables/table.pyc
 ${PYSITELIB}/tables/table.pyo
+${PYSITELIB}/tables/tableextension.abi3.so
 ${PYSITELIB}/tables/tableextension.pyx
-${PYSITELIB}/tables/tableextension.so
 ${PYSITELIB}/tables/tests/Table2_1_lzo_nrv2e_shuffle.h5
 ${PYSITELIB}/tables/tests/Tables_lzo1.h5
 ${PYSITELIB}/tables/tests/Tables_lzo1_shuffle.h5
@@ -183,6 +183,9 @@ ${PYSITELIB}/tables/tests/oldflavor_nume
 ${PYSITELIB}/tables/tests/out_of_order_types.h5
 ${PYSITELIB}/tables/tests/python2.h5
 ${PYSITELIB}/tables/tests/python3.h5
+${PYSITELIB}/tables/tests/run_ft.py
+${PYSITELIB}/tables/tests/run_ft.pyc
+${PYSITELIB}/tables/tests/run_ft.pyo
 ${PYSITELIB}/tables/tests/scalar.h5
 ${PYSITELIB}/tables/tests/slink.h5
 ${PYSITELIB}/tables/tests/smpl_SDSextendible.h5
@@ -312,9 +315,9 @@ ${PYSITELIB}/tables/unimplemented.pyo
 ${PYSITELIB}/tables/utils.py
 ${PYSITELIB}/tables/utils.pyc
 ${PYSITELIB}/tables/utils.pyo
+${PYSITELIB}/tables/utilsextension.abi3.so
 ${PYSITELIB}/tables/utilsextension.pxd
 ${PYSITELIB}/tables/utilsextension.pyx
-${PYSITELIB}/tables/utilsextension.so
 ${PYSITELIB}/tables/vlarray.py
 ${PYSITELIB}/tables/vlarray.pyc
 ${PYSITELIB}/tables/vlarray.pyo

Index: pkgsrc/math/py-tables/distinfo
diff -u pkgsrc/math/py-tables/distinfo:1.11 pkgsrc/math/py-tables/distinfo:1.12
--- pkgsrc/math/py-tables/distinfo:1.11 Tue Jan  7 20:01:35 2025
+++ pkgsrc/math/py-tables/distinfo      Wed Mar 11 13:56:15 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2025/01/07 20:01:35 adam Exp $
+$NetBSD: distinfo,v 1.12 2026/03/11 13:56:15 adam Exp $
 
-BLAKE2s (tables-3.10.2.tar.gz) = d2fe13a016ea15db4cce3c03c77913e30054609566b14d324c0f45c4b133e893
-SHA512 (tables-3.10.2.tar.gz) = c2a1781113d31b35a75a2ce34fe0e922824340efd3077df419913ec6bdb4b0a59ee0601736423c34baf9d61aa0a7122f0b0440e4000cfe61a6dde5f369574450
-Size (tables-3.10.2.tar.gz) = 4779722 bytes
-SHA1 (patch-setup.py) = 5f93282073c1e96f8406293fc6d096f5548b80b3
+BLAKE2s (tables-3.11.1.tar.gz) = d52e9c64f83b2ea34045efaaa313a570e8f8def7eaed1aff7f5949fe0a1e9888
+SHA512 (tables-3.11.1.tar.gz) = 4e398a2b481e199a9d9dc0e46787f87fa1b8e01ad0e742c748b7bec814cad610a3cabb9a8ef6ab115596d7240e03f28775bdba724fe03b235531ab3b2f6578d9
+Size (tables-3.11.1.tar.gz) = 4790533 bytes
+SHA1 (patch-setup.py) = 2b6c11296ece751b69b18294d78fe35e69514622

Index: pkgsrc/math/py-tables/patches/patch-setup.py
diff -u pkgsrc/math/py-tables/patches/patch-setup.py:1.2 pkgsrc/math/py-tables/patches/patch-setup.py:1.3
--- pkgsrc/math/py-tables/patches/patch-setup.py:1.2    Tue Jan  7 20:01:35 2025
+++ pkgsrc/math/py-tables/patches/patch-setup.py        Wed Mar 11 13:56:16 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-setup.py,v 1.2 2025/01/07 20:01:35 adam Exp $
+$NetBSD: patch-setup.py,v 1.3 2026/03/11 13:56:16 adam Exp $
 
 Hack to fix PLIST on macOS.
 
---- setup.py.orig      2025-01-04 16:39:22.000000000 +0000
+--- setup.py.orig      2026-02-21 20:04:00.000000000 +0000
 +++ setup.py
-@@ -473,6 +473,10 @@ class BasePackage:
+@@ -495,6 +495,10 @@ class BasePackage:
  
          hook_dirs = hook() if hook is not None else [None, None, None]
  
@@ -15,7 +15,7 @@ Hack to fix PLIST on macOS.
          directories = [None, None, None]  # headers, libraries, runtime
          for idx, (name, find_path, default_dirs) in enumerate(dirdata):
              use_locations = (
-@@ -481,6 +485,7 @@ class BasePackage:
+@@ -503,6 +507,7 @@ class BasePackage:
                  or hook_dirs[idx]
                  or default_dirs
              )
@@ -23,7 +23,7 @@ Hack to fix PLIST on macOS.
              # pkgconfig does not list bin/ as the runtime dir
              if (
                  name == "blosc"  # blosc
-@@ -493,8 +498,12 @@ class BasePackage:
+@@ -515,8 +520,12 @@ class BasePackage:
                  use_locations = list(use_locations)
                  use_locations[0] = use_locations[0].parent / "bin"
                  print(f"Patching runtime dir: {str(use_locations[0])}")
@@ -36,23 +36,25 @@ Hack to fix PLIST on macOS.
                  if path is True:
                      directories[idx] = True
                      continue
-@@ -514,6 +523,19 @@ class BasePackage:
+@@ -536,8 +545,19 @@ class BasePackage:
                      directories[idx] = Path(path[: path.rfind(name)])
                  else:
                      directories[idx] = Path(path).parent
+-            # else:
+-            #    print("Warning: path is not set.")
 +            else:
-+                print("path is not set!!  This is a problem.")
-+                if name == "blosc" or name == "blosc2":
-+                    print("directories = ", directories)
-+                    print("rundir (should be 'True') = ", directories[2])
-+                    # FIXME: tables-3.10.1 hack
-+                    # Forcing rundir to True for macOS.  This is a
-+                    # hack, but it's the value it should have, since the
-+                    # headers and libs are found.  When rundir is None,
-+                    # setup.py copyies libblosc into the py-tables
-+                    # installation, breaking PLIST.
-+                    if directories[0] and directories[1]:
-+                        directories[2] = True
-             #else:
-             #    print("Warning: path is not set.")
++               print("Warning: path is not set.")
++               if name == "blosc" or name == "blosc2":
++                   print("directories = ", directories)
++                   print("rundir (should be 'True') = ", directories[2])
++                   # FIXME: tables-3.10.1 hack
++                   # Forcing rundir to True for macOS.  This is a
++                   # hack, but it's the value it should have, since the
++                   # headers and libs are found.  When rundir is None,
++                   # setup.py copyies libblosc into the py-tables
++                   # installation, breaking PLIST.
++                   if directories[0] and directories[1]:
++                       directories[2] = True
          return tuple(directories)
+ 
+ 



Home | Main Index | Thread Index | Old Index