Skip to content

Commit 98d1da0

Browse files
build: update dependencies (#244)
* build: update dependencies * format
1 parent 798243b commit 98d1da0

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

.coverage

52 KB
Binary file not shown.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ source env/bin/activate
2525
# go out of old venv
2626
deactivate
2727
# delete old venv
28-
rm -r env
28+
rm -r .venv
2929
# create new venv
30-
python3 -m venv env
30+
python3 -m venv .venv
3131
# activate new venv
32-
source env/bin/activate
32+
source .venv/bin/activate
3333
```
3434

3535
### Install dependencies

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
plugins = numpy.typing.mypy_plugin, pydantic.mypy
2+
plugins = pydantic.mypy
33

44
[mypy-geopandas.*]
55
ignore_missing_imports = True

pyproject.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ readme = { file = "README.md", content-type = "text/markdown" }
1616
license-files = ["LICENSE"]
1717
requires-python = ">=3.10"
1818
dependencies = [
19-
"geoengine-openapi-client == 0.0.26",
19+
"geoengine-openapi-client == 0.0.27",
2020
"geopandas >=1.0,<2.0",
2121
"matplotlib >=3.5,<3.11",
2222
"numpy >=1.21,<2.4",
23-
"owslib >=0.27,<0.35",
24-
"pillow >=10.0,<12",
25-
"pyarrow >=17.0,<21",
26-
"python-dotenv >=0.19,<1.2",
23+
"owslib >=0.27,<0.36",
24+
"pillow >=10.0,<13",
25+
"pyarrow >=17.0,<23",
26+
"python-dotenv >=0.19,<1.3",
2727
"rasterio >=1.3,<2",
2828
"requests >= 2.26,<3",
29-
"rioxarray >=0.9.1, <0.20",
29+
"rioxarray >=0.9.1, <0.21",
3030
"StrEnum >=0.4.6,<0.5", # TODO: use from stdlib when `python_requires = >=3.11`
3131
"vega >= 3.5,<4.2",
3232
"websockets >= 14.2,<16",
33-
"xarray >=0.19,<2025.8",
33+
"xarray >=0.19,<2025.10",
3434
"urllib3 >= 2.1, < 2.6",
35-
"pydantic >= 2.10.6, < 2.12",
35+
"pydantic >= 2.10.6, < 2.13",
3636
'skl2onnx >=1.19.1,<1.20',
3737
]
3838

@@ -42,25 +42,25 @@ Repository = "https://github.com/geo-engine/geoengine-python"
4242

4343
[project.optional-dependencies] # TODO: use [dependency-groups] in the future
4444
dev = [
45-
"build >=0.7,<1.3",
45+
"build >=0.7,<1.4",
4646
"mypy >=1.14,<2.0",
4747
"pdoc3 >=0.10,<0.12",
4848
"ruff >=0.12.3,<0.13", # formatter & linter
4949
"setuptools >=62,<81",
50-
"twine >=3.4,<6.2", # PyPI
50+
"twine >=3.4,<6.3", # PyPI
5151
"types-requests >=2.26,<3", # mypy type hints
5252
"types-setuptools >=71.1,<81", # mypy type hints
5353
"wheel >=0.37,<0.46",
5454
]
5555
test = [
5656
"psycopg >=3.2,<4",
5757
"pytest >=6.3,<9",
58-
"pytest-cov >=6.0,<7",
58+
"pytest-cov >=6.0,<7.1",
5959
"requests_mock >=1.9,<2",
6060
"scikit-learn >=1.5,<1.8",
6161
]
6262
examples = [
63-
"cartopy >=0.22,<0.25", # for WMS example
63+
"cartopy >=0.22,<0.26", # for WMS example
6464
"ipympl >=0.9.4,<0.10", # for ML example
6565
"ipyvuetify >=1.10,<1.12", # for ML app
6666
"ipywidgets >=8.1.5,<9", # for ML example

tests/test_ml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class MlModelTests(unittest.TestCase):
2727
def setUp(self) -> None:
2828
ge.reset(False)
2929

30-
def test_model_dim_to_tensorshape(self):
30+
def test_model_dim_to_tensorshape(self) -> None:
3131
"""Test model_dim_to_tensorshape"""
3232

3333
dim_1d: list[TSP.Dimension] = [TSP.Dimension(dim_value=7)]

0 commit comments

Comments
 (0)