diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index accf2c6b..95a8f4c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13"] os: ["ubuntu-latest", "macos-latest", "windows-latest"] steps: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e1dd39f6..e79db013 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: # https://pre-commit.com/ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -37,7 +37,7 @@ repos: additional_dependencies: ["black==25.1.0"] - id: blackdoc-autoupdate-black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.7 + rev: v0.12.8 hooks: - id: ruff args: [--fix] diff --git a/docs/requirements.txt b/docs/requirements.txt index 65118338..0d80f7d1 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,8 +1,8 @@ -pint>=0.21 -xarray>=2022.06.0 +pint>=0.24 +xarray>=2023.07.0 pooch netCDF4 -cf-xarray>=0.6 +cf-xarray sphinx sphinx_rtd_theme>=1.0 ipython diff --git a/docs/whats-new.rst b/docs/whats-new.rst index 506a9939..73e289e4 100644 --- a/docs/whats-new.rst +++ b/docs/whats-new.rst @@ -4,7 +4,18 @@ What's new ========== 0.6.0 (*unreleased*) -------------------- +- Bump dependency versions (:pull:`313`): + ============ ============== ============== + dependency old minimum new minimum + ============ ============== ============== + python 3.10 3.11 + xarray 2022.06.0 2023.07.0 + numpy 1.23 1.26 + pint 0.21 0.24 + ============ ============== ============== + + By `Justus Magin `_. 0.5.1 (10 Aug 2025) ------------------- diff --git a/pyproject.toml b/pyproject.toml index 9a4da365..7314eb33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,26 +4,24 @@ authors = [ { name = "Tom Nicholas", email = "tomnicholas1@googlemail.com" }, ] description = "Physical units interface to xarray using Pint" -license = { text = "Apache-2" } +license = "Apache-2.0" readme = "README.md" classifiers = [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Science/Research", - "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering", ] -requires-python = ">=3.10" +requires-python = ">=3.11" dependencies = [ - "numpy >= 1.23", - "xarray >= 2022.06.0", - "pint >= 0.21", + "xarray >= 2023.07.0", + "numpy >= 1.26", + "pint >= 0.24", ] dynamic = ["version"] @@ -38,7 +36,7 @@ include = [ ] [build-system] -requires = ["setuptools >= 64", "setuptools_scm >= 7.0"] +requires = ["setuptools >= 77", "setuptools_scm >= 8"] build-backend = "setuptools.build_meta" [tool.setuptools_scm] @@ -48,7 +46,7 @@ fallback_version = "999" junit_family = "xunit2" [tool.ruff] -target-version = "py310" +target-version = "py311" builtins = ["ellipsis"] exclude = [ ".git",