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
I have a python application with a couple of dependencies managed in a Pipfile. To test and run the application locally, I want to include it as editable installation in dev-packages. One of the application's dependencies shall be downloaded from a different index:
However, this setup causes a dependency conflict since pip now tries to install the package from both indexes (running pipenv lock --verbose):
CRITICAL:pipenv.patched.pip._internal.resolution.resolvelib.factory:Cannot install -r /tmp/pipenv-gyt1u0np-requirements/pipenv-s87osm9z-constraints.txt (line 3) because these package versions have conflicting dependencies.
INFO:pipenv.patched.pip._internal.resolution.resolvelib.factory:
The conflict is caused by:
myapp 3.3.1.dev137+g173fb52b.d20240930 depends on mydep
The user requested (constraint) mydep
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
When I set indexes = true in pyproject, credentials are apparently not passed to pip, so the download from the different index fails:
I have a python application with a couple of dependencies managed in a Pipfile. To test and run the application locally, I want to include it as editable installation in
dev-packages
. One of the application's dependencies shall be downloaded from a different index:However, this setup causes a dependency conflict since pip now tries to install the package from both indexes (running
pipenv lock --verbose
):When I set
indexes = true
in pyproject, credentials are apparently not passed to pip, so the download from the different index fails:(Since the content-type is assumed to be
text/html
I assume that only an error message was downloaded).So, how should I configure setuptools-pipfile to install myapp in editable mode? Is this possible at all?
The text was updated successfully, but these errors were encountered: