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 am issuing the following pipenv requirements | uv pip compile --generate-hashes -o requirements.txt - which fails with:
error: There are conflicting URLs for package `common`:
- git+ssh://git@github.com/cerebrotech/platform-python-common.git@565787e8abc8a81b18ea49770f98df09453987e6
- git+ssh://git@github.com/cerebrotech/platform-python-common.git@v3.0.1
git shows the following for the v3.0.1 tag: commit 565787e8abc8a81b18ea49770f98df09453987e6 (HEAD -> develop, tag: v3.0.1, origin/develop, origin/HEAD)
The current package has the following in its requirements.txt common@ git+ssh://git@github.com/cerebrotech/platform-python-common.git@565787e8abc8a81b18ea49770f98df09453987e6
However there is a dependency on another package platform-python-catalog which has in its pyproject.toml, "common @ git+ssh://git@github.com/cerebrotech/platform-python-common.git@v3.0.1"
According to the debug, the failure occurs when resolving DEBUG Searching for a compatible version of catalog @ git+ssh://git@github.com/cerebrotech/platform-python-catalog.git@11866ba07919d174c77b8a161c0f10b0073003c8 (*)
The text was updated successfully, but these errors were encountered:
The common way to support this is to add git+ssh://git@github.com/cerebrotech/platform-python-common.git@v3.0.1 as a constraint. (I'm not certain whether we'll support it in general without the constraint.)
## Summary
This PR leverages our lookahead direct URL resolution to significantly
improve the range of Git URLs that we can accept (e.g., if a user
provides the same requirement, once as a direct dependency, and once as
a tag). We did some of this in #2285, but the solution here is more
general and works for arbitrary transitive URLs.
Closes#2614.
I am issuing the following
pipenv requirements | uv pip compile --generate-hashes -o requirements.txt -
which fails with:git shows the following for the v3.0.1 tag:
commit 565787e8abc8a81b18ea49770f98df09453987e6 (HEAD -> develop, tag: v3.0.1, origin/develop, origin/HEAD)
The current package has the following in its requirements.txt
common@ git+ssh://git@github.com/cerebrotech/platform-python-common.git@565787e8abc8a81b18ea49770f98df09453987e6
However there is a dependency on another package
platform-python-catalog
which has in its pyproject.toml,"common @ git+ssh://git@github.com/cerebrotech/platform-python-common.git@v3.0.1"
According to the debug, the failure occurs when resolving
DEBUG Searching for a compatible version of catalog @ git+ssh://git@github.com/cerebrotech/platform-python-catalog.git@11866ba07919d174c77b8a161c0f10b0073003c8 (*)
The text was updated successfully, but these errors were encountered: