Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (55 loc) · 1.53 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (55 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[tool.poetry]
name = "geoservercloud"
version = "0.0.0"
description = "Lightweight Python client to interact with GeoServer Cloud REST API, GeoServer ACL and OGC services"
authors = ["Camptocamp <info@camptocamp.com>"]
license = "BSD-2-Clause"
readme = "README.md"
packages = [
{ include = "geoservercloud" },
{ include = "geoserver_acceptance_tests" },
]
[tool.poetry.dependencies]
python = ">=3.12,<4.0"
requests = "2.34.2"
OWSLib = "0.36.0"
xmltodict = "1.0.4"
psycopg2-binary = "^2.9.9"
sqlalchemy = "2.1.1"
pytest = "9.1.1"
urllib3 = ">=2.8.0"
[tool.poetry.group.dev.dependencies]
responses = "0.26.3"
coverage = "7.16.2"
sphinx = "<8.2.4"
sphinx-rtd-theme = "3.1.0"
types-requests = "2.33.0.20260906"
types-xmltodict = "1.0.1.20260518"
pytest-mock = "^3.14.0"
[build-system]
requires = [
"poetry-core>=1.0.0",
"poetry-dynamic-versioning[plugin]",
"poetry-plugin-tweak-dependencies-version",
]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
copy-workspace = "geoservercloud.geoservercloudsync:main"
copy-test-data = "geoserver_acceptance_tests.cli:copy_test_data"
extract-test-data = "geoserver_acceptance_tests.cli:extract_test_data"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
pattern = "^(?P<base>\\d+(\\.\\d+)*)"
format-jinja = """
{%- if distance == 0 -%}
{{serialize_pep440(base)}}
{%- else -%}
{{serialize_pep440(bump_version(base), dev=distance)}}
{%- endif -%}
"""
fix-shallow-repository = true
[tool.poetry-plugin-tweak-dependencies-version]
default = "present"
[tool.bandit]
exclude_dirs = ["tests"]