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
ERROR: dummypiplinereturnbug[test] @ git+https://github.com/lrq3000/dummypiplinereturnbug is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).
The egg fragment form works fine, but it has been deprecated and planned for removal in pip v25 in #11617:
ERROR: dummypiplinereturnbug[test] @ git+https://github.com/lrq3000/dummypiplinereturnbug is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).
@lrq3000 editables from PEP 508 URLs are not supported at the moment, and as far as I know no-one is working on it at the moment. So, as you noted, you need to use egg fragments for now.
So let me close this as the deprecation of egg fragments is tracked in #1289.
Description
pip chokes when trying to install from a remote url with extras if
--editable
is specified.Example:
pip install --upgrade --editable "dummypiplinereturnbug[test] @ git+https://github.com/lrq3000/dummypiplinereturnbug" --verbose
Produces the following error:
The egg fragment form works fine, but it has been deprecated and planned for removal in pip v25 in #11617:
pip install --upgrade --editable git+https://github.com/lrq3000/dummypiplinereturnbug.git#egg=dummypiplinereturnbug[test] --verbose
Expected behavior
No response
pip version
23.0.1
Python version
3.10.8
OS
Windows 10
How to Reproduce
Use
pip install
with 3 arguments:--editable
Example:
pip install --upgrade --editable "dummypiplinereturnbug[test] @ git+https://github.com/lrq3000/dummypiplinereturnbug" --verbose
Output
ERROR: dummypiplinereturnbug[test] @ git+https://github.com/lrq3000/dummypiplinereturnbug is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).
Code of Conduct
The text was updated successfully, but these errors were encountered: