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.

Master incorrectly installs VCS dependency as editable

See original GitHub issue

This only happens in master, not latest stable.

Lock file (partial):

{
    "default": {
        "mypackage": {
            "git": "https://github.com/me/mypackage.git",
            "ref": "5e0042953dc91d5121f2e6960a4b063ac02b9a2c"
        }
    }
}

With v2018.11.26:

$ pipenv install
Installing dependencies from Pipfile.lock (a69852)…
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

$ ls -d .venv/lib/*/site-packages/mypackage*
.venv/lib/python3.7/site-packages/mypackage
.venv/lib/python3.7/site-packages/mypackage-0.1.0.dist-info

But with master:

$ pipenv sync
Installing dependencies from Pipfile.lock (a69852)…
Writing requirement line to temporary file: '-e file:///var/folders/sg/5486g341789bflp89sn_3qcc0000gn/T/requirementslib8k0h6371/fatek#egg=fatek'
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

$ ls -d .venv/lib/*/site-packages/mypackage*
.venv/lib/python3.7/site-packages/mypackage.egg-link

$ cat .venv/lib/python3.7/site-packages/mypackage.egg-link
/private/var/folders/sg/5486g341789bflp89sn_3qcc0000gn/T/requirementslibzdcz6kx8/mypackage/src
../

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
petrprikrylcommented, May 30, 2019

It looks like that this is not fixed in the latest master. Reported scenario is still same.

1reaction
petrprikrylcommented, Jul 3, 2019

There is new issue for that #3809.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pip egg name for editable dependency changes
When I try to use another name then the name specified in the package's setup.py I get a Warning like this when pip...
Read more >
Poetry has officially fixed / permanently included pip install -e
The project you are working on is install as editable by default on a poetry install . Any path dependency (regardless whether this...
Read more >
Dependency Scanning - GitLab Docs
The Dependency Scanning feature can automatically find security vulnerabilities in your software dependencies while you're developing and testing your ...
Read more >
Go Modules Reference - The Go Programming Language
Introduction. Modules are how Go manages dependencies. This document is a detailed reference manual for Go's module system. For an introduction to creating ......
Read more >
Packaging Guide — Spack 0.20.0.dev0 documentation
You can edit a package file by name with the spack edit command: ... Spack can fetch packages from VCS repositories. ... However,...
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