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
It's important, that it doesn't require concrete version of cq.py-utils. I don't want to upgrade every library which depends on cq.py-utils when its verion is upgraded.
Than I want to install both libraries with versions, fixed by tags. I place this to requirements:
120.7 The conflict is caused by:
120.7 The user requested cq-py-utils 1.10.0 (from git+ssh://****@github.com/carrotquest/[email protected])
120.7 cq-api-tools 2.12.6 depends on cq-py-utils 1.10.0 (from git+ssh://****@github.com/carrotquest/cq.py-utils.git)
From in this issue and its results I understood, that the problem is that URLs are not matching. But the only way to fix version for git repos are tags/commits. And I don't want to fix versions in libraries as it would lead to big amount of unnecessary requirements updates.
Is there a way to resolve this problem?
Expected behavior
From my point of view, directly set commit/tag in GIT-based dependency should be prior to the one where it is not set directly.
pip version
24.2
Python version
3.11.10
OS
Ubuntu 20.04
How to Reproduce
Create first GIT repo with library1 with no dependencies.
Create second GIT repo with library2 and install_requires=["git://library1.git"] in setup.py file
Create project installing some commits/tags of library1 and library2 and try to pip install -U
Description
Hi.
I want to continue the problem, mensioned in this issue, as I can not understand how to deal with it correctly in my case.
I have a list of private libraries in git repositories. Some of them depend on each other:
cq.py_utils
library have only pypi dependencies.cq.api_tools
library depends oncq.py_utils
and has this line in requirements:It's important, that it doesn't require concrete version of
cq.py-utils
. I don't want to upgrade every library which depends oncq.py-utils
when its verion is upgraded.Than I want to install both libraries with versions, fixed by tags. I place this to requirements:
On pip >= 20.2 I get the following error:
From in this issue and its results I understood, that the problem is that URLs are not matching. But the only way to fix version for git repos are tags/commits. And I don't want to fix versions in libraries as it would lead to big amount of unnecessary requirements updates.
Is there a way to resolve this problem?
Expected behavior
From my point of view, directly set commit/tag in GIT-based dependency should be prior to the one where it is not set directly.
pip version
24.2
Python version
3.11.10
OS
Ubuntu 20.04
How to Reproduce
install_requires=["git://library1.git"]
in setup.py filepip install -U
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: