From dd7feb9e0d25cc20c06f88229c8a8e99f3eb5d9e Mon Sep 17 00:00:00 2001 From: Andrey Aristov Date: Sun, 28 Dec 2025 01:06:17 +0100 Subject: [PATCH 1/5] use latest zarr v2 --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index c617484..45fe96a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,7 +29,8 @@ install_requires = dask fire nd2 - zarr + zarr==2.18.7 + python_requires = >=3.8 include_package_data = True From da640a9bc3de8f1a7edc9e0be2b4f5439122f997 Mon Sep 17 00:00:00 2001 From: Andrey Aristov Date: Sun, 28 Dec 2025 01:08:01 +0100 Subject: [PATCH 2/5] 2.18.3 --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 45fe96a..3108542 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,7 +29,7 @@ install_requires = dask fire nd2 - zarr==2.18.7 + zarr==2.18.3 python_requires = >=3.8 From 3c54c5bee1024302f6c7305001d195e68bb5ddf7 Mon Sep 17 00:00:00 2001 From: Andrey Aristov Date: Sun, 28 Dec 2025 01:12:45 +0100 Subject: [PATCH 3/5] <3 --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 3108542..7c49637 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,7 +29,7 @@ install_requires = dask fire nd2 - zarr==2.18.3 + zarr>=2.4,<3 python_requires = >=3.8 From a79aedfe449f0e92d858b6ae5695230667c241d2 Mon Sep 17 00:00:00 2001 From: Andrey Aristov Date: Sun, 28 Dec 2025 01:32:19 +0100 Subject: [PATCH 4/5] update pre-commit --- .pre-commit-config.yaml | 14 +++++++------- setup.cfg | 16 +++++----------- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3f1a4c6..e71127c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,36 +1,36 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v6.0.0 hooks: - id: check-docstring-first - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.2.0 + rev: v3.2.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.3.0 hooks: - id: flake8 additional_dependencies: [flake8-typing-imports>=1.9.0] args: ["--count", "--select=E9,F63,F7,F82", "--show-source", "--statistics"] - repo: https://github.com/myint/autoflake - rev: v2.0.1 + rev: v2.3.1 hooks: - id: autoflake args: ["--in-place", "--remove-all-unused-imports"] - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 7.0.0 hooks: - id: isort - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 25.12.0 hooks: - id: black - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.21.2 hooks: - id: pyupgrade args: [--py38-plus, --keep-runtime-typing] diff --git a/setup.cfg b/setup.cfg index 7c49637..a40e89c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,6 @@ [metadata] -name = zarr-tools +name = zarr_tools +version = attr: zarr_tools.__version__ description = Convert nd2 to zarr long_description = file: README.md long_description_content_type = text/markdown @@ -7,18 +8,15 @@ url = https://github.com/BaroudLab/zarr-tools author = Andrey Aristov author_email = aaristov@pasteur.fr license = BSD-3-Clause -license_file = LICENSE +license_files = LICENSE classifiers = Development Status :: 2 - Pre-Alpha Intended Audience :: Developers - License :: OSI Approved :: BSD License Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 + Programming Language :: Python :: Implementation :: CPython Topic :: Software Development :: Testing project_urls = Bug Tracker = https://gitlab.pasteur.fr/aaristov/zarr-tools/issues @@ -30,9 +28,7 @@ install_requires = fire nd2 zarr>=2.4,<3 - - -python_requires = >=3.8 +python_requires = >=3.10 include_package_data = True package_dir = =src @@ -41,5 +37,3 @@ setup_requires = [options.packages.find] where = src - - From f7cbbd4038a216b4d742bd7b5ab0ae392daa63fd Mon Sep 17 00:00:00 2001 From: Andrey Aristov Date: Sun, 28 Dec 2025 01:50:28 +0100 Subject: [PATCH 5/5] update python version for testing actions --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 231fe62..095774d 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: platform: [ubuntu-latest, windows-latest, macos-latest] - python-version: [3.8, 3.9, '3.10'] + python-version: ['3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2