0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-03 18:51:48 +00:00
renovatebot_renovate/lib/modules/manager/poetry/__fixtures__/pyproject.2.toml
Sigurd Spieckermann ff8c63ea04
fix(manager/poetry): fix schema for optional dependencies (#32096)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-10-30 19:19:44 +00:00

31 lines
1,013 B
TOML

[tool.poetry]
name = "example 2"
version = "0.1.0"
description = ""
authors = ["John Doe <john.doe@gmail.com>"]
[tool.poetry.dependencies]
dep1 = { version = "*" }
dep2 = { version = "^0.6.0" }
dep3 = { path = "/some/path/", version = '^0.33.6' }
dep4 = { path = "/some/path/" }
dep5 = {}
extra_dep1 = {version = "^0.8.3", optional = true}
extra_dep2 = {version = "^0.9.4", optional = true}
extra_dep3 = {version = "^0.4.0", optional = true}
[tool.poetry.extras]
extra1 = ["extra_dep1", "extra_dep2"]
extra2 = ["extra_dep3"]
[tool.poetry.dev-dependencies]
required_dev_dep = {version = "^3.0", optional = false}
optional_dev_dep = {version = "^3.0", optional = true} # NOTE: `optional = true` is meaningless here
[tool.poetry.group.group1.dependencies]
required_group_dep = {version = "^3.0", optional = false}
optional_group_dep = {version = "^3.0", optional = true} # NOTE: `optional = true` is meaningless here
[build-system]
requires = ["poetry>=1.0", "wheel"]
build-backend = "poetry.core.masonry.api"