Skip to content

Allow URL requirements in editable installs#1614

Merged
charliermarsh merged 1 commit intomainfrom
charlie/editable
Feb 17, 2024
Merged

Allow URL requirements in editable installs#1614
charliermarsh merged 1 commit intomainfrom
charlie/editable

Conversation

@charliermarsh
Copy link
Copy Markdown
Member

Summary

If an editable package declares a direct URL requirement, we currently error since it's not considered an "allowed" requirement. We need to add those URLs to the allow-list.

Closes #1603.

@charliermarsh charliermarsh added the bug Something isn't working label Feb 17, 2024
@zanieb
Copy link
Copy Markdown
Member

zanieb commented Feb 17, 2024

Oh thanks I was affected by this similarly in #1050 (although slightly different since it's a git dependency — I do editable packse installs locally too though)

@charliermarsh charliermarsh merged commit 5c4ceca into main Feb 17, 2024
@charliermarsh charliermarsh deleted the charlie/editable branch February 17, 2024 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot install local dependency via pyproject.toml: "URL dependencies must be expressed as direct requirements or constraints."

2 participants