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.

pipenv lock stopped working if --dev contains -e . on 11.6.2

See original GitHub issue
➤ pipenv lock
Locking [dev-packages] dependencies…
ex_lookup, markers_lookup, project, sources, verbose, clear, pre)
  File "/Users/hynek/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/../pipenv/utils.py", line 284, in actually_resolve_reps
    constraint = req.InstallRequirement.from_editable(dep[len('-e '):])
  File "/Users/hynek/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/../pipenv/vendor/pip9/req/req_install.py", line 144, in from_editable
    editable_req, default_vcs)
  File "/Users/hynek/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/../pipenv/vendor/pip9/req/req_install.py", line 1192, in parse_editable
    raise InstallationError(error_message)
pip9.exceptions.InstallationError: For --editable=. -i https://XXX/root/vrmd/+simple/ only git+URL, hg+URL, svn+URL, bzr+URL is currently supported

It seems most of the bugs I run into are related to either:

  1. private PyPIs
  2. pipenv install --dev -e .

Any ideas what to do prevent these regressions? I guess they’re not part of the test suite?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
kennethreitzcommented, Mar 14, 2018

Test all the things!

0reactions
marksutherlandcommented, Mar 14, 2018

Ah, that is indeed the problem. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What should I do when pipenv lock command is not working?
I'm trying to do a command pipenv lock 'cause heroku said my Pipfile.lock ... pipenv lock --pre --clear Locking [dev-packages] dependencies.
Read more >
Common Pipenv Errors and How to Solve Them: Why Won't it ...
Here, you'll learn how to troubleshoot Pipenv installation and locking issues. ... Pipenv looks for the package you specify, whether it exists or...
Read more >
pipenv Changelog - PyUp.io
Solving issue where ``pipenv check`` command has been broken in the published ... Use ``packages`` as contraints when locking ``dev-packages`` in Pipfile.
Read more >
Frequently Encountered Pipenv Problems - Read the Docs
Here are some common questions people have using Pipenv. ... If this does not work, try manually deleting the whole cache directory.
Read more >
pipenv · PyPI
The problems that Pipenv seeks to solve are multi-faceted: ... pipenv install --dev Create a lockfile containing pre-releases: $ pipenv lock --pre Show...
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