mosquito / aio-pika

AMQP 0.9 client designed for asyncio and humans.
https://aio-pika.readthedocs.org/
Apache License 2.0
1.18k stars 186 forks source link

"The Poetry configuration is invalid" #532

Open tieugene opened 1 year ago

tieugene commented 1 year ago

Fedora 37:

Handling poetry-core from build-system.requires
Requirement satisfied: poetry-core
   (installed: poetry-core 1.0.8)
Traceback (most recent call last):
 ...
RuntimeError: The Poetry configuration is invalid:
  - Additional properties are not allowed ('group' was unexpected)

Solution:

-[tool.poetry.group.dev.dependencies]
-aiomisc = "^16.2"
-collective-checkdocs = "^0.2"
-coverage = "^6.5.0"
-coveralls = "^3.3.1"
-mypy = "^0.991"
-nox = "^2022.11.21"
-pylama = "^8.4.1"
-pytest = "^7.2.0"
-pytest-cov = "^4.0.0"
-pytest-rst = "^0.0.7"
-shortuuid = "^1.0.11"
-sphinx = "^5.3.0"
-sphinx-autobuild = "^2021.3.14"
-timeout-decorator = "^0.5.0"
-types-setuptools = "^65.6.0.2"
-
-[tool.poetry.group.uvloop.dependencies]
-uvloop = "^0.17.0"
MartinWallgren commented 1 year ago

(installed: poetry-core 1.0.8)

Group was added in Poetry 1.2

mosquito commented 1 year ago

For local development you can update the poetry version in virtualenv for example. If you need to install an already built package, it is available on pypi with a generated setup.py file.