You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The build failed for a project which contains dependencies installed from VCS. To Reproduce
Steps to reproduce the behavior:
Go to 'tests/data/lock'
Run pdm sync
Add "pdm-build-locked" into requires = ["pdm-backend", "pdm-build-locked"]
Run pdm build succeed
Add a VCS style dependence failed, e.g., pdm add git+https://github.com/psf/black.git@24.4.2
See error pdm.backend._vendor.pyproject_metadata.ConfigurationError: Field "project.optional-dependencies.locked" contains an invalid PEP 508 requirement string "black==24.4.2 @ git+https://github.com/psf/black.git@3702ba224ecffbcec30af640c149f231d90aebdb" ("Expected end or semicolon (after version specifier) black==24.4.2 @ git+https://github.com/psf/black.git@3702ba224ecffbcec30af640c149f231d90aebdb ~~~~~~~~~^")
Desired behavior pdm-build-locked shall work well with VCS dependencies.
The text was updated successfully, but these errors were encountered:
Describe the bug
The build failed for a project which contains dependencies installed from VCS.
To Reproduce
Steps to reproduce the behavior:
pdm sync
requires = ["pdm-backend", "pdm-build-locked"]
pdm build
succeedpdm add git+https://github.com/psf/black.git@24.4.2
pdm.backend._vendor.pyproject_metadata.ConfigurationError: Field "project.optional-dependencies.locked" contains an invalid PEP 508 requirement string "black==24.4.2 @ git+https://github.com/psf/black.git@3702ba224ecffbcec30af640c149f231d90aebdb" ("Expected end or semicolon (after version specifier) black==24.4.2 @ git+https://github.com/psf/black.git@3702ba224ecffbcec30af640c149f231d90aebdb ~~~~~~~~~^")
Desired behavior
pdm-build-locked
shall work well with VCS dependencies.The text was updated successfully, but these errors were encountered: