-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
C: direct urlDirect URL references (PEP 440, PEP 508, PEP 610)Direct URL references (PEP 440, PEP 508, PEP 610)resolution: duplicateDuplicate of an existing issue/PRDuplicate of an existing issue/PRtype: supportUser SupportUser Support
Description
What did you want to do?
New Resolver is unable to handle cases where private Git Dependencies are shared but do not match "version" (i.e. Branch, Tag, Commit). This not only makes repo management much more tedious but also makes feature testing in repos much harder or impossible.
For example if we have:
- a repo with common shared code called common
- a repo with logic to operate a particular service called service
- a repo for a app called app
Requirements.txt in service calls:
commoncode @ git+git://github.com/repoOrg/[email protected]
While requirements.txt in app calls:
commoncode @ git+git://github.com/repoOrg/[email protected]
service @ git+git://github.com/repoOrg/[email protected]
Output
ERROR: Cannot install -r requirements.txt (line 70), -r requirements.txt (line 71) and common 1.0.1 (from git+git://github.com/repoOrg/[email protected]) because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested common 1.0.1 (from git+git://github.com/repoOrg/[email protected])
service 2.1.0 depends on common 1.0.0 (from git+git://github.com/repoOrg/[email protected])
Additional information
I have spent a considerable amount of time reading though available documentation and have not been able to identify a solution for this use case (such as version ranging). Am I missing something? Ideally there would be some way to specify compatible range in service, with concrete versions specified in app.
Metadata
Metadata
Assignees
Labels
C: direct urlDirect URL references (PEP 440, PEP 508, PEP 610)Direct URL references (PEP 440, PEP 508, PEP 610)resolution: duplicateDuplicate of an existing issue/PRDuplicate of an existing issue/PRtype: supportUser SupportUser Support