Installation of azure-iot-hub with poetry fails due to possibly malformed version specifier.
$ poetry --version
Poetry (version 1.2.2)
$ poetry -v add azure-iot-hub
Using virtualenv: /path/to/home/.venv
Using version ^2.6.0 for azure-iot-hub
Updating dependencies
Resolving dependencies... (0.0s)
ParseConstraintError
Could not parse version constraint: !=3.3*
at ~/.local/lib/python3.8/site-packages/poetry/core/constraints/version/parser.py:147 in parse_single_constraint
143│ return version
144│
145│ from poetry.core.constraints.version.exceptions import ParseConstraintError
146│
→ 147│ raise ParseConstraintError(f"Could not parse version constraint: {constraint}")
148│
Installation of azure-iot-hub with poetry fails due to possibly malformed version specifier.
According to PEP 440,
3.3*
should be3.3.*
.cf. https://github.com/Azure/azure-iot-hub-python/blob/e08d1bb60be2955dffc78f055a22448903fea0bd/setup.py#L83