From 9917a3b636b5345add1f6ed4a1ec86ee7fec3f28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20de=20Menten?= Date: Mon, 1 Dec 2025 11:22:44 +0100 Subject: [PATCH 1/3] MAINT: added support for Python 3.13 (and dropped support for 3.8) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e0adf99c..befafb63 100644 --- a/setup.py +++ b/setup.py @@ -35,11 +35,11 @@ def readlocal(fname): 'Intended Audience :: Developers', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Topic :: Scientific/Engineering', 'Topic :: Software Development :: Libraries', ] From 800da4f62aa0d3b404d10758c5663600d43336ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20de=20Menten?= Date: Wed, 3 Dec 2025 13:26:50 +0100 Subject: [PATCH 2/3] MAINT: added support for Python 3.14 --- .github/workflows/ci.yml | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac9fa43b..7b71829d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: fail-fast: false matrix: # os: ["ubuntu-latest", "macos-latest", "windows-latest"] - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] defaults: run: diff --git a/setup.py b/setup.py index befafb63..69c8eb90 100644 --- a/setup.py +++ b/setup.py @@ -40,6 +40,7 @@ def readlocal(fname): 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Topic :: Scientific/Engineering', 'Topic :: Software Development :: Libraries', ] From 8f09ea64eae9c11281660b29e5b93fc610285105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20de=20Menten?= Date: Wed, 3 Dec 2025 13:35:48 +0100 Subject: [PATCH 3/3] CLN: fix lint issues --- larray_editor/comparator.py | 5 ++++- larray_editor/tests/test_api_larray.py | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/larray_editor/comparator.py b/larray_editor/comparator.py index 4e00c1aa..d12d8ac4 100644 --- a/larray_editor/comparator.py +++ b/larray_editor/comparator.py @@ -160,7 +160,10 @@ def _update_from_combined_array(self): atol, rtol = self._get_atol_rtol() try: - self._diff_below_tolerance = self._combined_array.eq(self._array0, rtol=rtol, atol=atol, nans_equal=self.nans_equal) + self._diff_below_tolerance = ( + self._combined_array.eq(self._array0, + rtol=rtol, atol=atol, + nans_equal=self.nans_equal)) except TypeError: self._diff_below_tolerance = self._combined_array == self._array0 diff --git a/larray_editor/tests/test_api_larray.py b/larray_editor/tests/test_api_larray.py index 13b5b442..17718e2f 100644 --- a/larray_editor/tests/test_api_larray.py +++ b/larray_editor/tests/test_api_larray.py @@ -7,7 +7,8 @@ import larray as la # from larray_editor.api import edit -from larray_editor.api import view, edit, debug, compare +# from larray_editor.api import view, edit, debug, compare +from larray_editor.api import edit, compare from larray_editor.utils import logger import qtpy