Skip to content

Commit a492900

Browse files
IgnacioHerediaalvarolopez
authored andcommitted
feat: disable poetry groups (not compatible with Python 3.6)
Poetry groups where introduced in Poetry 1.2. The same version that stopped supporting Python 3.6 ([ref](https://python-poetry.org/blog/announcing-poetry-1.2.0/#dropping-support-for-python-27-35-and-36-as-runtimes)) That raises the following error when installing. ``` RuntimeError: The Poetry configuration is invalid: - Additional properties are not allowed ('group' was unexpected) ``` https://stackoverflow.com/questions/73876790/poetry-configuration-is-invalid-additional-properties-are-not-allowed-group
1 parent c9ca14d commit a492900

File tree

1 file changed

+2
-46
lines changed

1 file changed

+2
-46
lines changed

pyproject.toml

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ deepaas-run = "deepaas.cmd.run:main"
4343
deepaas-predict = "deepaas.cmd.execute:main"
4444
deepaas-cli = "deepaas.cmd.cli:main"
4545

46-
[tool.poetry.plugins] # Optional super table
46+
[tool.poetry.plugins] # Optional super table
4747

48-
[tool.poetry.plugins."oslo.config.opts"]
48+
[tool.poetry.plugins."oslo.config.opts"]
4949
deepaas = "deepaas.opts:list_opts"
5050

5151
[tool.poetry.dependencies]
@@ -59,50 +59,6 @@ Werkzeug = "^2.0.3"
5959
marshmallow = "^3.14.1"
6060
webargs = "<6.0.0"
6161

62-
63-
[tool.poetry.group.dev.dependencies]
64-
tox = "^4.15.1"
65-
66-
67-
[tool.poetry.group.test.dependencies]
68-
pytest = "^8.2.2"
69-
pytest-aiohttp = "^1.0.5"
70-
pytest-cov = "^5.0.0"
71-
fixtures = "^4.1.0"
72-
reno = "^4.1.0"
73-
mock = "^5.1.0"
74-
testtools = "^2.7.1"
75-
setuptools = "^70.0.0"
76-
77-
78-
[tool.poetry.group.test-flake8.dependencies]
79-
flake8 = "^7.0.0"
80-
flake8-bugbear = "^24.4.26"
81-
flake8-typing-imports = "^1.15.0"
82-
flake8-colors = "^0.1.9"
83-
pep8-naming = "^0.14.1"
84-
pydocstyle = "^6.3.0"
85-
86-
87-
[tool.poetry.group.test-black.dependencies]
88-
black = "^24.4.2"
89-
90-
91-
[tool.poetry.group.test-bandit.dependencies]
92-
bandit = "^1.7.8"
93-
94-
95-
[tool.poetry.group.test-mypy.dependencies]
96-
mypy = "^1.10.0"
97-
98-
99-
[tool.poetry.group.test-pypi.dependencies]
100-
twine = "^5.1.0"
101-
102-
103-
[tool.poetry.group.test-pip-missing-reqs.dependencies]
104-
pip-check-reqs = "^2.5.3"
105-
10662
[build-system]
10763
requires = ["poetry-core"]
10864
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)