Skip to content

Commit 9c5ba0f

Browse files
committed
Merge local test changes into main
2 parents 752b3f9 + a49039d commit 9c5ba0f

6 files changed

Lines changed: 21 additions & 22 deletions

File tree

.github/workflows/on-push.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ jobs:
2222
pre-commit:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v3
26-
- uses: actions/setup-python@v4
25+
- uses: actions/checkout@v4
26+
- uses: actions/setup-python@v5
2727
with:
2828
python-version: 3.x
29-
- uses: pre-commit/action@v3.0.0
29+
- uses: pre-commit/action@v3.0.1
3030

3131
unit-tests:
32-
name: unit-tests (3.12)
32+
name: unit-tests (3.14)
3333
runs-on: ubuntu-latest
3434

3535
steps:
36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v4
3737
- name: Install Conda environment with Micromamba
3838
uses: mamba-org/setup-micromamba@v1
3939
with:
@@ -42,7 +42,7 @@ jobs:
4242
channels: conda-forge
4343
cache-env: true
4444
create-args: |
45-
python=3.12
45+
python=3.14
4646
- name: Install package
4747
run: |
4848
python -m pip install --no-deps -e .
@@ -55,7 +55,7 @@ jobs:
5555
runs-on: ubuntu-latest
5656

5757
steps:
58-
- uses: actions/checkout@v3
58+
- uses: actions/checkout@v4
5959
- name: Install Conda environment with Micromamba
6060
uses: mamba-org/setup-micromamba@v1
6161
with:
@@ -79,11 +79,11 @@ jobs:
7979
strategy:
8080
matrix:
8181
include:
82-
- python-version: '3.12'
82+
- python-version: '3.14'
8383
extra: -minver
8484

8585
steps:
86-
- uses: actions/checkout@v3
86+
- uses: actions/checkout@v4
8787
- name: Install Conda environment with Micromamba
8888
uses: mamba-org/setup-micromamba@v1
8989
with:
@@ -105,7 +105,7 @@ jobs:
105105
needs: [integration-tests, docs-build]
106106

107107
steps:
108-
- uses: actions/checkout@v3
108+
- uses: actions/checkout@v4
109109
- name: Build distributions
110110
run: |
111111
$CONDA/bin/python -m pip install build

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.3.0
3+
rev: v6.0.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
@@ -11,19 +11,19 @@ repos:
1111
- id: debug-statements
1212
- id: mixed-line-ending
1313
- repo: https://github.com/PyCQA/isort
14-
rev: 5.12.0
14+
rev: 9.0.0a3
1515
hooks:
1616
- id: isort
1717
- repo: https://github.com/psf/black
18-
rev: 24.8.0
18+
rev: 26.5.1
1919
hooks:
2020
- id: black
2121
- repo: https://github.com/PyCQA/flake8
22-
rev: 5.0.4
22+
rev: 7.3.0
2323
hooks:
2424
- id: flake8
2525
- repo: https://github.com/executablebooks/mdformat
26-
rev: 0.7.16
26+
rev: 1.0.0
2727
hooks:
2828
- id: mdformat
2929
exclude: cruft-update-template.md

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Requirements for readthedocs
2-
sphinx
2+
sphinx>=7.0,<9.0
33
ipykernel
44
nbsphinx
55
sphinx_rtd_theme

ibicus/__meta__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"""Container for ibicus metadata."""
1010

1111
__name__ = "ibicus"
12-
__version__ = "1.2.0"
12+
__version__ = "1.3.0"
1313
__author__ = "Fiona Spuler, Jakob Wessel & European Centre for Medium-Range Weather Forecasts (ECMWF)"
1414
__author_email__ = "ibicus.py@gmail.com"
1515
__license__ = "Apache License Version 2.0"

ibicus/utils/_utils.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,10 @@ def check_time_information_and_raise_error(
192192
or cm_hist.size != time_cm_hist.size
193193
or cm_future.size != time_cm_future.size
194194
):
195-
raise ValueError(
196-
"""
195+
raise ValueError("""
197196
Dimensions of time information for one of time_obs, time_cm_hist, time_cm_future do not correspond to the dimensions of obs, cm_hist, cm_future.
198197
Make sure that for each one of obs, cm_hist, cm_future time information is given for each value in the arrays.
199-
"""
200-
)
198+
""")
201199

202200

203201
# ----- Variables ----- #

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ classifiers =
2121
Topic :: Scientific/Engineering :: Physics
2222
License :: OSI Approved :: Apache Software License
2323
Programming Language :: Python :: 3
24-
Programming Language :: Python :: 3.9
2524
Programming Language :: Python :: 3.10
2625
Programming Language :: Python :: 3.11
2726
Programming Language :: Python :: 3.12
27+
Programming Language :: Python :: 3.13
28+
Programming Language :: Python :: 3.14
2829
Operating System :: OS Independent
2930
Development Status :: 5 - Production/Stable
3031

0 commit comments

Comments
 (0)