-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Using Poetry 1.5.1:
Reading the documentation, items included in extras should only include names, with the versions specified via entries in tool.poetry.dependencies having optional = true set to suppress default installation.
Expected Behavior
I am attempting to successfully install dependencies with Poetry (as a prerequisite to building a PR using poetry2nix).
Current Behavior
$ poetry build
The Poetry configuration is invalid:
- [extras.server.0] 'uvicorn>=0.22.0' does not match '^[a-zA-Z-_.0-9]+$'
- [extras.server.1] 'fastapi>=0.100.0' does not match '^[a-zA-Z-_.0-9]+$'
- [extras.server.2] 'pydantic-settings>=2.0.1' does not match '^[a-zA-Z-_.0-9]+$'
- [extras.server.3] 'sse-starlette>=1.6.1' does not match '^[a-zA-Z-_.0-9]+$'Environment and Context
Poetry 1.5.1, as installed via the current master branch of nixpkgs (see https://nixos.org/). Reproducible both on MacOS (aarch64) and Linux.
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
Run poetry build on a newly checked out source tree.