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 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 c617484..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 @@ -29,9 +27,8 @@ install_requires = dask fire nd2 - zarr - -python_requires = >=3.8 + zarr>=2.4,<3 +python_requires = >=3.10 include_package_data = True package_dir = =src @@ -40,5 +37,3 @@ setup_requires = [options.packages.find] where = src - -