Installing cloudevents with poetry does not raise an error.
Actual Behavior
$ poetry lock
Updating dependencies
Resolving dependencies... (0.1s)Invalid constraint (pydantic (>=1.0.0<1.9.0) ; (python_version <= "3.6") and extra == 'pydantic') found in cloudevents-1.7.0 dependencies, skipping
Invalid constraint (pydantic (>=1.0.0<2.0) ; (python_version > "3.6") and extra == 'pydantic') found in cloudevents-1.7.0 dependencies, skipping
Resolving dependencies... (0.2s)
Writing lock file
Note that this only recently popped up when I upgraded from Poetry 1.1.15 to 1.2.2. However they reported that this package is faulty since they only changed the behavior to show this error: https://github.com/python-poetry/poetry/issues/7065
Steps to Reproduce the Problem
Use the following pyproject.toml:
[tool.poetry]
name = "showcase"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
readme = "README.md"
Expected Behavior
Installing
cloudevents
with poetry does not raise an error.Actual Behavior
Note that this only recently popped up when I upgraded from Poetry
1.1.15
to1.2.2
. However they reported that this package is faulty since they only changed the behavior to show this error: https://github.com/python-poetry/poetry/issues/7065Steps to Reproduce the Problem
pyproject.toml
:[tool.poetry.dependencies] python = "^3.10" cloudevents = "^1.7.0"
[build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"