Skip to content

Commit a0e325e

Browse files
build: update dependencies as of 2025-07-15 (#232)
* wip * pycodestyle * update dependencies * skl2onnx
1 parent 185e8c7 commit a0e325e

File tree

4 files changed

+78
-86
lines changed

4 files changed

+78
-86
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ __pycache__
1515
env
1616
env-*
1717
.venv
18+
.venv-*
19+
20+
# Lock files
21+
uv.lock
1822

1923
# Private files
2024
.pypirc

pyproject.toml

Lines changed: 73 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,75 @@
1-
[build-system]
2-
requires = [
3-
"setuptools>=42",
4-
"wheel",
1+
[project]
2+
name = "geoengine"
3+
version = "0.8.0"
4+
authors = [{ name = "Geo Engine GmbH", email = "[email protected]" }]
5+
description = "A package for easy access to Geo Engine instances"
6+
classifiers = [
7+
"Programming Language :: Python :: 3",
8+
"Topic :: Database :: Front-Ends",
9+
"Topic :: Scientific/Engineering :: GIS",
10+
"Topic :: Software Development :: Libraries",
11+
"Intended Audience :: Developers",
12+
"Intended Audience :: Science/Research",
13+
"Intended Audience :: Information Technology",
14+
]
15+
readme = { file = "README.md", content-type = "text/markdown" }
16+
license-files = ["LICENSE"]
17+
requires-python = ">=3.10"
18+
dependencies = [
19+
"geoengine-openapi-client == 0.0.25",
20+
"geopandas >=1.0,<2.0",
21+
"matplotlib >=3.5,<3.11",
22+
"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",
27+
"rasterio >=1.3,<2",
28+
"requests >= 2.26,<3",
29+
"rioxarray >=0.9.1, <0.20",
30+
"StrEnum >=0.4.6,<0.5", # TODO: use from stdlib when `python_requires = >=3.11`
31+
"vega >= 3.5,<4.2",
32+
"websockets >= 14.0,<16",
33+
"xarray >=0.19,<2025.8",
34+
"urllib3 >= 2.1, < 2.6",
35+
"pydantic >= 2.10.6, < 2.12",
36+
'skl2onnx >=1.19.1,<1.20',
37+
]
38+
39+
[project.urls]
40+
Homepage = "https://www.geoengine.io"
41+
Repository = "https://github.com/geo-engine/geoengine-python"
42+
43+
[project.optional-dependencies] # TODO: use [dependency-groups] in the future
44+
dev = [
45+
"build >=0.7,<1.3",
46+
"mypy >=1.14,<2.0",
47+
"pdoc3 >=0.10,<0.12",
48+
"pycodestyle >=2.8,<3", # formatter
49+
"pylint >=3.3,<4", # code linter
50+
"setuptools >=62,<81",
51+
"twine >=3.4,<6.2", # PyPI
52+
"types-requests >=2.26,<3", # mypy type hints
53+
"types-setuptools >=71.1,<81", # mypy type hints
54+
"wheel >=0.37,<0.46",
55+
]
56+
test = [
57+
"psycopg >=3.2,<4",
58+
"pytest >=6.3,<9",
59+
"pytest-cov >=6.0,<7",
60+
"requests_mock >=1.9,<2",
61+
"scikit-learn >=1.5,<1.8",
62+
]
63+
examples = [
64+
"cartopy >=0.22,<0.25", # for WMS example
65+
"ipympl >=0.9.4,<0.10", # for ML example
66+
"ipyvuetify >=1.10,<1.12", # for ML app
67+
"ipywidgets >=8.1.5,<9", # for ML example
68+
"nbconvert >=7,<8", # convert notebooks to Python
69+
"scipy >=1.7,<2", # for WMS example
70+
"voila >=0.5,<0.6", # for ML app
571
]
6-
build-backend = "setuptools.build_meta"
772

8-
[tool.pytest.ini_options]
9-
log_cli = true
10-
log_level = "INFO"
73+
[build-system]
74+
requires = ["setuptools>=62"]
75+
build-backend = "setuptools.build_meta"

setup.cfg

Lines changed: 1 addition & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,4 @@
1-
[metadata]
2-
name = geoengine
3-
version = 0.8.0
4-
author = Geo Engine GmbH
5-
author_email = [email protected]
6-
description = A package for easy access to Geo Engine instances
7-
long_description = file: README.md
8-
long_description_content_type = text/markdown
9-
url = https://github.com/geo-engine/geoengine-python
10-
project_urls =
11-
Bug Tracker = https://github.com/geo-engine/geoengine-python
12-
classifiers =
13-
Programming Language :: Python :: 3
14-
Topic :: Database :: Front-Ends
15-
16-
[options]
17-
package_dir =
18-
packages = find:
19-
python_requires = >=3.10
20-
install_requires =
21-
geoengine-openapi-client == 0.0.25
22-
geopandas >=1.0,<2.0
23-
matplotlib >=3.5,<3.11
24-
numpy >=1.21,<2.3
25-
owslib >=0.27,<0.34
26-
pillow >=10.0,<12
27-
pyarrow >=17.0,<21
28-
python-dotenv >=0.19,<1.2
29-
rasterio >=1.3,<2
30-
requests >= 2.26,<3
31-
rioxarray >=0.9.1, <0.20
32-
StrEnum >=0.4.6,<0.5 # TODO: use from stdlib when `python_requires = >=3.11`
33-
vega >= 3.5,<4.2
34-
websockets >= 14.0,<16
35-
xarray >=0.19,<2025.5
36-
urllib3 >= 2.1, < 2.5
37-
pydantic >= 2.10.6, < 2.12
38-
skl2onnx >=1.17,<2 ; python_version<"3.13"
39-
skl2onnx @ git+https://github.com/onnx/sklearn-onnx@1035fdf ; python_version>="3.13" # TODO: remove when skl2onnx 1.19 is released
40-
onnx == 1.17 ; python_version<"3.13" # TODO: remove when skl2onnx 1.19 is released
41-
onnx == 1.18 ; python_version>="3.13" # TODO: remove when skl2onnx 1.19 is released
42-
43-
[[onnx]]
44-
45-
[options.extras_require]
46-
dev =
47-
build >=0.7,<1.3
48-
mypy >=1.14,<2.0
49-
pdoc3 >=0.10,<0.11
50-
pycodestyle >=2.8,<3 # formatter
51-
pylint >=3.3,<4 # code linter
52-
setuptools >=42,<81
53-
twine >=3.4,<6 # PyPI
54-
types-requests >=2.26,<3 # mypy type hints
55-
types-setuptools >=71.1,<81 # mypy type hints
56-
wheel >=0.37,<0.46
57-
test =
58-
psycopg >=3.2,<4
59-
pytest >=6.3,<9
60-
pytest-cov >=6.0,<7
61-
requests_mock >=1.9,<2
62-
scikit-learn >=1.5,<1.7
63-
examples =
64-
cartopy >=0.22,<0.25 # for WMS example
65-
ipympl >=0.9.4,<0.10 # for ML example
66-
ipyvuetify >=1.10,<1.12 # for ML app
67-
ipywidgets >=8.1.5,<9 # for ML example
68-
nbconvert >=7,<8 # convert notebooks to Python
69-
scipy >=1.7,<2 # for WMS example
70-
voila >=0.5,<0.6 # for ML app
71-
72-
73-
[options.packages.find]
74-
where = .
75-
76-
[pycodestyle]
1+
[pycodestyle] # does not support `pyproject.toml`: https://peps.python.org/pep-0518/#sticking-with-setup-cfg
772
max-line-length = 120
783
ignore =
794
# line length is check with pylint

setup.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)