question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong return value of a Link.is_artifact for git+user@hostname editable packages

See original GitHub issue

A Link.is_artifact returns True for URLs like git+user@hostname/repo.git which is probably a bug, see: https://github.com/pypa/pip/blob/04f1e70427fd392e1a68c13174816b1b21f48baa/src/pip/_internal/models/link.py#L160-L161

That’s because a Link.scheme returns an empty string for git+user@... url, since there is no the explicit scheme (which is ssh://). It may cause potential bugs. For example: https://github.com/pypa/pip/blob/04f1e70427fd392e1a68c13174816b1b21f48baa/src/pip/_internal/operations/prepare.py#L350-L353

Refs https://github.com/jazzband/pip-tools/issues/738

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
sbidoulcommented, Jan 4, 2020

Closing as we propose to remove the git+git@ form in #7554.

1reaction
sbidoulcommented, Jan 2, 2020

I made the PR to deprecate git+git@: #7543

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm Registry - JFrog - JFrog Documentation
Set the Package Type to npm and the Repository Key value. Specify the URL to the remote registry in the URL field. Click...
Read more >
Error when deploying an artifact in Nexus - Stack Overflow
A couple things I can think of: user credentials are wrong; url to server is wrong; user does not have access to the...
Read more >
schema.go - Sourcegraph
See the AWS CodeCommit documentation on Git credentials for CodeCommit: ... is a URL query string with parameters that filter the list of...
Read more >
Diff - jgit/jgit - Eclipse Git repositories
Merge branch 'stable-5.11' into stable-5.12 * stable-5.11: FS: debug logging only if system config file cannot be found Change-Id: ...
Read more >
Yocto Project Reference Manual
Shortened Git SRCREV Values; 4.4.7. IMAGE_FEATURES; 4.4.8. /run; 4.4.9. Removal of Package Manager Database Within Image Recipes; 4.4.10.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found