Skip to content

Commit d41fdef

Browse files
Test against Python 3.14 (#175)
1 parent 5cb26f1 commit d41fdef

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

.github/workflows/cicd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
fail-fast: false
4444
matrix:
4545
os: [ubuntu-latest, macos-latest, windows-latest]
46-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
46+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
4747
with:
4848
os: ${{ matrix.os }}
4949
python-version: ${{ matrix.python-version }}
@@ -67,7 +67,7 @@ jobs:
6767
fail-fast: false
6868
matrix:
6969
os: [ubuntu-latest, windows-latest]
70-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
70+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
7171
with:
7272
os: ${{ matrix.os }}
7373
python-version: ${{ matrix.python-version }}

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
repos:
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.11.13
10+
rev: v0.14.4
1111
hooks:
1212
- id: ruff
1313
args:
@@ -30,11 +30,11 @@ repos:
3030
- id: codespell
3131
additional_dependencies: [tomli]
3232
- repo: https://github.com/gitleaks/gitleaks
33-
rev: v8.21.2
33+
rev: v8.29.0
3434
hooks:
3535
- id: gitleaks
3636
- repo: https://github.com/pre-commit/pre-commit-hooks
37-
rev: v5.0.0
37+
rev: v6.0.0
3838
hooks:
3939
# all available hooks can be found here: https://github.com/pre-commit/pre-commit-hooks/blob/main/.pre-commit-hooks.yaml
4040
- id: check-yaml
@@ -72,12 +72,12 @@ repos:
7272
- id: rst-directive-colons
7373
- id: text-unicode-replacement-char
7474
- repo: https://github.com/PyCQA/isort # TODO: remove as soon as ruff is stable
75-
rev: 6.0.1
75+
rev: 7.0.0
7676
hooks:
7777
- id: isort
7878
args: [--profile=black]
7979
- repo: https://github.com/PyCQA/bandit
80-
rev: 1.8.3
80+
rev: 1.8.6
8181
hooks:
8282
- id: bandit
8383
exclude: "^tests/.*|examples/.*"
@@ -90,7 +90,7 @@ repos:
9090
- --max-modules=B
9191
- --max-absolute=C
9292
- repo: https://github.com/rbubley/mirrors-prettier
93-
rev: v3.3.3
93+
rev: v3.6.2
9494
hooks:
9595
- id: prettier
9696
exclude: '\.nc$|^tests/fixture/|\.ipynb$'

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ https://python-cmethods.readthedocs.io/en/stable/
115115
- Except for the variance scaling, all methods can be applied on stochastic and
116116
non-stochastic climate variables. Variance scaling can only be applied on
117117
non-stochastic climate variables.
118-
119118
- Non-stochastic climate variables are those that can be predicted with
120119
relative certainty based on factors such as location, elevation, and season.
121120
Examples of non-stochastic climate variables include air temperature, air

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ classifiers = [
5151
"Programming Language :: Python :: 3.11",
5252
"Programming Language :: Python :: 3.12",
5353
"Programming Language :: Python :: 3.13",
54+
"Programming Language :: Python :: 3.14",
5455
"Topic :: Software Development :: Libraries :: Python Modules",
5556
"Topic :: Utilities",
5657
"Topic :: Scientific/Engineering",
@@ -82,14 +83,12 @@ local_scheme = "no-local-version"
8283
[tool.pytest]
8384
junit_family = "xunit2"
8485
testpaths = ["tests"]
85-
86-
[tool.pytest.ini_options]
8786
cache_dir = ".cache/pytest"
8887
markers = [
8988
"wip: Used to run a specific test by hand.",
9089
"flaky: Use to retry flaky tests",
9190
]
92-
addopts = "--maxfail=1"
91+
addopts = ["--maxfail=1"]
9392

9493
[tool.coverage.run]
9594
source = ["cmethods"]

0 commit comments

Comments
 (0)