Cannot install project with pyproject.toml
having dependency from local git repository (git+file://
)
#11709
Closed
1 task done
Labels
type: bug
A confirmed bug or unintended behavior
Description
Running
pip install "git+file:///home/user/repository/.git#subdirectory=library"
works.But having similiar dependency in
pyproject.toml
doesn't work. Runningpip install .
while having following toml file in the same folder gives following error.Error message
Expected behavior
I'd expect to see successfull installation:
pip version
pip 22.0.2
Python version
3.11
OS
Ubuntu 22.04.1 LTS
How to Reproduce
git clone [email protected]:JoakimJoensuu/pyproject.toml-example.git
application/pyproject.toml
change"library @ git+file:///absolute/path/to/this/repo/.git#subdirectory=library"
to point wherever you cloned the repo.application
-folderpython3.11 -m venv .venv
source .venv/bin/activate
pip install .
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: