Skip to content

Commit dbcd331

Browse files
Merge branch 'v4-dev' into implementing_field_interpolation_api
2 parents fe9844d + e5a1f7c commit dbcd331

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
include:
3434
- os: ubuntu
3535
pixi-environment: "test-py311"
36+
- os: ubuntu
37+
pixi-environment: "test-py313"
3638
- os: ubuntu
3739
pixi-environment: "test-minimum"
3840
steps:

pixi.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"]
2121
test-latest = { features = ["test"], solve-group = "test" }
2222
test-minimum = { features = ["test", "minimum"], solve-group = "test" }
2323
test-py311 = { features = ["test", "py311"] }
24-
test-py312 = { features = ["test", "py312"] }
24+
test-py313 = { features = ["test", "py313"] }
2525
test-notebooks = { features = ["test", "notebooks"], solve-group = "test" }
2626
docs = { features = ["docs"], solve-group = "docs" }
2727
typing = { features = ["typing"], solve-group = "typing" }
2828
pre-commit = { features = ["pre-commit"], no-default-feature = true }
2929

3030
[dependencies] # keep section in sync with pyproject.toml dependencies
31-
python = ">=3.11,<3.13"
31+
python = ">=3.11"
3232
# parcels = { path = "." }
3333
netcdf4 = ">=1.7.2"
3434
numpy = ">=2.1.0"
@@ -62,8 +62,8 @@ pooch = "==1.8.0"
6262
[feature.py311.dependencies]
6363
python = "3.11.*"
6464

65-
[feature.py312.dependencies]
66-
python = "3.12.*"
65+
[feature.py313.dependencies]
66+
python = "3.13.*"
6767

6868
[feature.test.dependencies]
6969
nbval = "*"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description = "Framework for Lagrangian tracking of virtual ocean particles in t
88
readme = "README.md"
99
dynamic = ["version"]
1010
authors = [{ name = "Parcels team" }]
11-
requires-python = ">=3.11,<3.13"
11+
requires-python = ">=3.11"
1212
license = { file = "LICENSE.md" }
1313
classifiers = [
1414
"License :: OSI Approved :: MIT License",

tests/test_particleset_execute.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
from parcels._datasets.unstructured.generic import datasets as datasets_unstructured
2525
from parcels.interpolators import UXPiecewiseConstantFace, UXPiecewiseLinearNode
2626
from parcels.kernels import AdvectionEE, AdvectionRK4, AdvectionRK4_3D
27-
from tests import utils
2827
from tests.common_kernels import DoNothing
2928

3029

@@ -475,8 +474,8 @@ def test_uxstommelgyre_pset_execute():
475474
runtime=np.timedelta64(10, "m"),
476475
dt=np.timedelta64(60, "s"),
477476
)
478-
assert utils.round_and_hash_float_array([p.lon for p in pset]) == 1165396086
479-
assert utils.round_and_hash_float_array([p.lat for p in pset]) == 1142124776
477+
np.testing.assert_allclose(pset[0].lon, 29.997648, atol=1e-3)
478+
np.testing.assert_allclose(pset[0].lat, 4.998691, atol=1e-3)
480479

481480

482481
def test_uxstommelgyre_multiparticle_pset_execute():

0 commit comments

Comments
 (0)