Skip to content

Commit 2175af1

Browse files
authored
bump versions (#313)
* stop testing on python 3.10 * require at least python 3.11 * remove the classifier for python 3.10 * bump the build deps * bump the target version for ruff * autoupdate hooks * use a SPDX identifier for the license * use a correct spdx license name * bump the dependency versions * changelog * update the docs env * changelog * remove the license classifier
1 parent bc1e189 commit 2175af1

File tree

5 files changed

+24
-15
lines changed

5 files changed

+24
-15
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
fail-fast: false
5252
matrix:
53-
python-version: ["3.10", "3.11", "3.12", "3.13"]
53+
python-version: ["3.11", "3.12", "3.13"]
5454
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
5555

5656
steps:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44
# https://pre-commit.com/
55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v5.0.0
7+
rev: v6.0.0
88
hooks:
99
- id: trailing-whitespace
1010
- id: end-of-file-fixer
@@ -37,7 +37,7 @@ repos:
3737
additional_dependencies: ["black==25.1.0"]
3838
- id: blackdoc-autoupdate-black
3939
- repo: https://github.com/astral-sh/ruff-pre-commit
40-
rev: v0.12.7
40+
rev: v0.12.8
4141
hooks:
4242
- id: ruff
4343
args: [--fix]

docs/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
pint>=0.21
2-
xarray>=2022.06.0
1+
pint>=0.24
2+
xarray>=2023.07.0
33
pooch
44
netCDF4
5-
cf-xarray>=0.6
5+
cf-xarray
66
sphinx
77
sphinx_rtd_theme>=1.0
88
ipython

docs/whats-new.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,18 @@ What's new
44
==========
55
0.6.0 (*unreleased*)
66
--------------------
7+
- Bump dependency versions (:pull:`313`):
78

9+
============ ============== ==============
10+
dependency old minimum new minimum
11+
============ ============== ==============
12+
python 3.10 3.11
13+
xarray 2022.06.0 2023.07.0
14+
numpy 1.23 1.26
15+
pint 0.21 0.24
16+
============ ============== ==============
17+
18+
By `Justus Magin <https://github.com/keewis>`_.
819

920
0.5.1 (10 Aug 2025)
1021
-------------------

pyproject.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,24 @@ authors = [
44
{ name = "Tom Nicholas", email = "[email protected]" },
55
]
66
description = "Physical units interface to xarray using Pint"
7-
license = { text = "Apache-2" }
7+
license = "Apache-2.0"
88
readme = "README.md"
99
classifiers = [
1010
"Development Status :: 3 - Alpha",
1111
"Environment :: Console",
1212
"Intended Audience :: Science/Research",
13-
"License :: OSI Approved :: Apache Software License",
1413
"Operating System :: OS Independent",
1514
"Programming Language :: Python",
16-
"Programming Language :: Python :: 3.10",
1715
"Programming Language :: Python :: 3.11",
1816
"Programming Language :: Python :: 3.12",
1917
"Programming Language :: Python :: 3.13",
2018
"Topic :: Scientific/Engineering",
2119
]
22-
requires-python = ">=3.10"
20+
requires-python = ">=3.11"
2321
dependencies = [
24-
"numpy >= 1.23",
25-
"xarray >= 2022.06.0",
26-
"pint >= 0.21",
22+
"xarray >= 2023.07.0",
23+
"numpy >= 1.26",
24+
"pint >= 0.24",
2725
]
2826
dynamic = ["version"]
2927

@@ -38,7 +36,7 @@ include = [
3836
]
3937

4038
[build-system]
41-
requires = ["setuptools >= 64", "setuptools_scm >= 7.0"]
39+
requires = ["setuptools >= 77", "setuptools_scm >= 8"]
4240
build-backend = "setuptools.build_meta"
4341

4442
[tool.setuptools_scm]
@@ -48,7 +46,7 @@ fallback_version = "999"
4846
junit_family = "xunit2"
4947

5048
[tool.ruff]
51-
target-version = "py310"
49+
target-version = "py311"
5250
builtins = ["ellipsis"]
5351
exclude = [
5452
".git",

0 commit comments

Comments
 (0)