pip reports dependency conflict on itself for private package #11802
Labels
C: dependency resolution
About choosing which dependencies to install
S: awaiting response
Waiting for a response/more information
type: bug
A confirmed bug or unintended behavior
Description
I have a private repository with pyproject.toml that sets package version to "0.1.0".
While I specified a dependency on it in requirements.txt of my main project in a form of
git+ssh://git@gitlab.***.com/<package>.git@v0.1.0
, everything was fine.But when I tried to switch to pyproject.toml in my main project, using
"<package> @ git+ssh://git@gitlab.***.com/<package>.git@v0.1.0"
in dependencies section, I got the following error:I've tried to recreate .venv from scratch, but it didn't help.
Expected behavior
Clean install as with requirements.txt.
pip version
22.0.2
Python version
3.10
OS
Xubuntu 22.04
How to Reproduce
As I use private package, it is hard to say how to reproduce.
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: