Skip to content

Commit 2988f66

Browse files
Migrate fields from tool.poetry to project
1 parent e080d16 commit 2988f66

1 file changed

Lines changed: 24 additions & 17 deletions

File tree

pyproject.toml

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "videoipath-automation-tool"
33
version = "0.2.1"
44
description = "A Python package for automating VideoIPath configuration workflows."
55
license = { text = "AGPL-3.0-only" }
6+
license-files = ["LICENSE"]
67
readme = "README.md"
78
requires-python = "^3.11"
89
authors = [
@@ -13,6 +14,25 @@ maintainers = [
1314
{ name = "Josia Hildebrandt", email = "manuel_josia.hildebrandt@swr.de" },
1415
]
1516
keywords = ["videoipath", "automation", "nevion", "media-over-ip", "st2110", "orchestration"]
17+
dependencies = [
18+
"requests (>=2.31.0,<3.0.0)",
19+
"pydantic (>=2.6.4,<3.0.0)",
20+
"pydantic-extra-types (>=2.6.0,<3.0.0)",
21+
"pydantic-settings (>=2.2.1,<3.0.0)",
22+
"urllib3 (>=2.2.3,<3.0.0)",
23+
"deepdiff (>=8.1.1,<9.0.0)"
24+
]
25+
26+
[project.optional-dependencies]
27+
dev = [
28+
"ruff (>=0.8.1,<0.12.0)",
29+
"pre-commit (>=4.0.1,<5.0.0)"
30+
]
31+
test = [
32+
"pytest (>=8.3.4,<9.0.0)",
33+
"pytest-cov (>=6.0.0,<7.0.0)",
34+
"pytest-dotenv (>=0.5.2,<1.0.0)"
35+
]
1636

1737
[project.urls]
1838
Homepage = "https://github.com/SWR-MoIP/VideoIPath-Automation-Tool"
@@ -24,28 +44,13 @@ Documentation = "https://github.com/SWR-MoIP/VideoIPath-Automation-Tool#document
2444
[tool.poetry]
2545
packages = [{ include = "videoipath_automation_tool", from = "src" }]
2646

27-
[tool.poetry.dependencies]
28-
python = "^3.11"
29-
requests = "^2.31.0"
30-
pydantic = "^2.6.4"
31-
pydantic-extra-types = "^2.6.0"
32-
pydantic-settings = "^2.2.1"
33-
typing-extensions = "^4.11.0"
34-
urllib3 = "^2.2.3"
35-
deepdiff = "^8.1.1"
36-
37-
[tool.poetry.group.dev.dependencies]
38-
ruff = ">=0.8.1,<0.12.0"
39-
pre-commit = "^4.0.1"
40-
pytest = "^8.3.4"
41-
pytest-cov = "^6.0.0"
42-
pytest-dotenv = "^0.5.2"
4347

4448
[tool.pytest.ini_options]
4549
addopts = "-x -p no:warnings --cov-report=term --cov-report=term-missing --no-cov-on-fail --cov=src --ignore=__intern"
4650
env_override_existing_values = 0
4751
env_files = ["tests/.env.test"]
4852

53+
4954
[virtualenvs]
5055
in-project = true
5156

@@ -56,10 +61,12 @@ include = ["pyproject.toml", "src/**/*.py", "tests/**/*.py"]
5661
# Formatter config
5762
line-length = 120
5863

64+
5965
[tool.ruff.lint]
6066
# Linter config
6167
ignore = ["F403", "F405", "E722"]
6268

69+
6370
[build-system]
6471
requires = ["poetry-core"]
65-
build-backend = "poetry.core.masonry.api"
72+
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)