Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .coverage
Binary file not shown.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ source env/bin/activate
# go out of old venv
deactivate
# delete old venv
rm -r env
rm -r .venv
# create new venv
python3 -m venv env
python3 -m venv .venv
# activate new venv
source env/bin/activate
source .venv/bin/activate
```

### Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
plugins = numpy.typing.mypy_plugin, pydantic.mypy
plugins = pydantic.mypy

[mypy-geopandas.*]
ignore_missing_imports = True
Expand Down
24 changes: 12 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@ readme = { file = "README.md", content-type = "text/markdown" }
license-files = ["LICENSE"]
requires-python = ">=3.10"
dependencies = [
"geoengine-openapi-client == 0.0.26",
"geoengine-openapi-client == 0.0.27",
"geopandas >=1.0,<2.0",
"matplotlib >=3.5,<3.11",
"numpy >=1.21,<2.4",
"owslib >=0.27,<0.35",
"pillow >=10.0,<12",
"pyarrow >=17.0,<21",
"python-dotenv >=0.19,<1.2",
"owslib >=0.27,<0.36",
"pillow >=10.0,<13",
"pyarrow >=17.0,<23",
"python-dotenv >=0.19,<1.3",
"rasterio >=1.3,<2",
"requests >= 2.26,<3",
"rioxarray >=0.9.1, <0.20",
"rioxarray >=0.9.1, <0.21",
"StrEnum >=0.4.6,<0.5", # TODO: use from stdlib when `python_requires = >=3.11`
"vega >= 3.5,<4.2",
"websockets >= 14.2,<16",
"xarray >=0.19,<2025.8",
"xarray >=0.19,<2025.10",
"urllib3 >= 2.1, < 2.6",
"pydantic >= 2.10.6, < 2.12",
"pydantic >= 2.10.6, < 2.13",
'skl2onnx >=1.19.1,<1.20',
]

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

[project.optional-dependencies] # TODO: use [dependency-groups] in the future
dev = [
"build >=0.7,<1.3",
"build >=0.7,<1.4",
"mypy >=1.14,<2.0",
"pdoc3 >=0.10,<0.12",
"ruff >=0.12.3,<0.13", # formatter & linter
"setuptools >=62,<81",
"twine >=3.4,<6.2", # PyPI
"twine >=3.4,<6.3", # PyPI
"types-requests >=2.26,<3", # mypy type hints
"types-setuptools >=71.1,<81", # mypy type hints
"wheel >=0.37,<0.46",
]
test = [
"psycopg >=3.2,<4",
"pytest >=6.3,<9",
"pytest-cov >=6.0,<7",
"pytest-cov >=6.0,<7.1",
"requests_mock >=1.9,<2",
"scikit-learn >=1.5,<1.8",
]
examples = [
"cartopy >=0.22,<0.25", # for WMS example
"cartopy >=0.22,<0.26", # for WMS example
"ipympl >=0.9.4,<0.10", # for ML example
"ipyvuetify >=1.10,<1.12", # for ML app
"ipywidgets >=8.1.5,<9", # for ML example
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ml.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class MlModelTests(unittest.TestCase):
def setUp(self) -> None:
ge.reset(False)

def test_model_dim_to_tensorshape(self):
def test_model_dim_to_tensorshape(self) -> None:
"""Test model_dim_to_tensorshape"""

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