Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipenv lock fails when Pipfile points to setup.py with VCS dependency #3576

Closed
dmder opened this issue Mar 4, 2019 · 4 comments
Closed

pipenv lock fails when Pipfile points to setup.py with VCS dependency #3576

dmder opened this issue Mar 4, 2019 · 4 comments
Assignees
Labels
Category: VCS Relates to version control system dependencies. Type: Bug 🐛 This issue is a bug. Type: Duplicate This issue is a duplicate of an already-existing issue.

Comments

@dmder
Copy link

dmder commented Mar 4, 2019

Issue description

pipenv lock fails when Pipfile contains {editable = true, path = "."} and setup.py contains VCS dependency. pipenv install --skip-lock completes without any issues. I've tried pipenv lock --clear and removed pip local cache with no luck, the same error occurs.

At the same time when I push package1 into the git repo and then add it into a new Pipfile in a fresh pipenv environment, pipenv install succeeds even without --skip-lock. So I suspect pipenv doesn't play well together with setup.py and VCS dependencies for some reason.

If I remember correctly, I've had some similar issues before and solved them by using PIP_PROCESS_DEPENDENCY_LINKS=1 env variable, but newer versions of pip do not support this anymore.

Project setup:

  • Pipfile:
[packages]
package1 = {editable = true, path = "."}
  • setup.py:
setup(name='package1',
      ...
      install_requires=[
          ...
          'package2 @ git+ssh://git@gitlab.com/.../package2.git@v0.0.2#egg=package2'
      ]
      )

Expected result

Pipfile.lock is generated.

Actual result

I'm getting the following error:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/pipenv/resolver.py", line 126, in <module>
    main()
  File "/usr/local/lib/python3.6/site-packages/pipenv/resolver.py", line 119, in main
    parsed.requirements_dir, parsed.packages)
  File "/usr/local/lib/python3.6/site-packages/pipenv/resolver.py", line 85, in _main
    requirements_dir=requirements_dir,
  File "/usr/local/lib/python3.6/site-packages/pipenv/resolver.py", line 69, in resolve
    req_dir=requirements_dir
  File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 726, in resolve_deps
    req_dir=req_dir,
  File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
    resolved_tree = resolver.resolve()
  File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 395, in resolve
    raise ResolutionFailure(message=str(e))
pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches package2@ git+ssh://git@gitlab.com/.../package2.git@v0.0.2#egg=package2 from git+ssh://git@gitlab.com/.../package2.git@v0.0.2#egg=package2
No versions found
Was https://pypi.org/simple reachable?

Steps to replicate

Not sure whether it's common issue with VCS dependencies or just this case.


$ pipenv --support

Pipenv version: '2018.11.26'

Pipenv location: '/usr/local/lib/python3.6/site-packages/pipenv'

Python location: '/usr/local/opt/python/bin/python3.6'

Python installations found:

  • 3.6.5: /usr/local/bin/python3
  • 3.6.5: /usr/local/bin/python3.6m
  • 2.7.15: /usr/local/bin/python
  • 2.7.15: /usr/local/bin/pythonw
  • 2.7.10: /usr/bin/python
  • 2.7.10: /usr/bin/pythonw
  • 2.7.10: /usr/bin/python2.7

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.6.5',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '17.7.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT '
                     '2018; root:xnu-4570.71.2~1/RELEASE_X86_64',
 'python_full_version': '3.6.5',
 'python_version': '3.6',
 'sys_platform': 'darwin'}

System environment variables:

  • Apple_PubSub_Socket_Render
  • HOME
  • LANG
  • LC_ALL
  • LC_CTYPE
  • LOGNAME
  • NPM_CONFIG_PREFIX
  • PATH
  • PWD
  • SECURITYSESSIONID
  • SHELL
  • SHLVL
  • SSH_AUTH_SOCK
  • TERM
  • TERM_PROGRAM
  • TERM_PROGRAM_VERSION
  • TERM_SESSION_ID
  • TMPDIR
  • USER
  • XPC_FLAGS
  • XPC_SERVICE_NAME
  • __CF_USER_TEXT_ENCODING
  • PIP_DISABLE_PIP_VERSION_CHECK
  • PYTHONDONTWRITEBYTECODE
  • PIP_SHIMS_BASE_MODULE
  • PIP_PYTHON_PATH
  • PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

Debug–specific environment variables:

  • PATH: /Users/dmitryd/.poetry/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/dmitryd/.npm-global/bin:/Users/dmitryd/Library/Python/3.6/bin:/usr/local/bin:/usr/local/sbin
  • SHELL: /usr/local/bin/fish
  • LANG: en_GB.UTF-8
  • PWD: /.../python-packages/package1

Contents of Pipfile ('/.../package1/Pipfile'):

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
package1 = {editable = true, path = "."}

[dev-packages]
pytest = "*"
pytest-env = "*"
pytest-cov = "*"
pytest-mock = "*"
pylint = "*"
moto = ">=1.3.6, !=1.3.7"

[requires]
python_version = "3.6"
@techalchemy
Copy link
Member

This is a duplicate of #3148 and is resolved by #3298 which will be merged today -- this is specifically related to direct-url dependencies specified in setup.py files which required a substantial rework across a number of libraries and was only recently actually supported by pip

@techalchemy techalchemy added Type: Bug 🐛 This issue is a bug. Type: Duplicate This issue is a duplicate of an already-existing issue. Category: VCS Relates to version control system dependencies. labels Mar 5, 2019
@techalchemy techalchemy added this to the March Release milestone Mar 5, 2019
@techalchemy techalchemy self-assigned this Mar 5, 2019
@techalchemy
Copy link
Member

This is resolved as of #3298

In addition, with PEP508 I don't believe it's valid to use #egg=name style fragments anymore if you are specifying the name with the name@ url style syntax.

@pmlk
Copy link

pmlk commented Mar 27, 2019

Found this before opening a new issue.

I am experiencing a similar, if not same, issue with current pipenv release: pipenv, version 2018.11.26. After coming across this issue I installed current master (ffd5784) hoping it would fix the issue. To me it appears it has not -- at least not completely, or I am doing something wrong.

I've set an alias pipenv-dev to point to the installation/binary of the current master with $ pipenv-dev --version: pipenv, version 2018.11.27.dev0. This way, I can run both, the current release (pipenv) and the current master (pipenv-dev).

In the past, I had created two reference projects to demonstrate how dependencies to private repos work or need to be setup. These may help with reproducing the issue:

In the past, using PIP_PROCESS_DEPENDENCY_LINKS=1 pipenv install -e . worked just fine. Both projects have been adjusted (where necessary) to try (!) to get it to work, since the --process-dependency-links flag has been completely removed.

Issue description

Unable to properly install the dependency (pipenv-dependency) and create a Pipfile.lock.
Both versions (release pipenv and current master pipenv-dev) cause different issues:

  • Scenario 1:
    • pipenv seems to properly install the dependency, but fails to create the Pipfile.lock
  • Scenario 2:
    • pipenv-dev creates a Pipfile.lock, but seems to mess up the installation of the dependency

However, using both helps get the desired environment setup (Workaround).

Scenario 1 - pipenv, version 2018.11.26

$ git clone https://github.com/pmlk/pipenv-app.git
$ cd pipenv-app
$ pipenv install -e .

Expected result

No errors, Pipfile.lock successfully created.

Actual result

$ pipenv install -e . output (error)
$ pipenv install -e .
Creating a virtualenv for this project…
Pipfile: /Users/patrick/SoftwareDevelopment/pipenv-app/Pipfile
Using /usr/local/Cellar/pipenv/2018.11.26_2/libexec/bin/python3.7 (3.7.2) to create virtualenv…
⠴ Creating virtual environment...Already using interpreter /usr/local/Cellar/pipenv/2018.11.26_2/libexec/bin/python3.7
Using real prefix '/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7'
New python executable in /Users/patrick/.local/share/virtualenvs/pipenv-app-vN89ij2s/bin/python3.7
Also creating executable in /Users/patrick/.local/share/virtualenvs/pipenv-app-vN89ij2s/bin/python
Installing setuptools, pip, wheel...
done.

✔ Successfully created virtual environment!
Virtualenv location: /Users/patrick/.local/share/virtualenvs/pipenv-app-vN89ij2s
Creating a Pipfile for this project…
Installing -e .…
Adding pipenvapp to Pipfile's [packages]…
✔ Installation Succeeded
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
✘ Locking Failed!
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/resolver.py", line 69, in resolve
[pipenv.exceptions.ResolutionFailure]:       req_dir=requirements_dir
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/utils.py", line 726, in resolve_deps
[pipenv.exceptions.ResolutionFailure]:       req_dir=req_dir,
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
[pipenv.exceptions.ResolutionFailure]:       resolved_tree = resolver.resolve()
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/utils.py", line 395, in resolve
[pipenv.exceptions.ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]:       pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches pipenvdependency@ git+https://github.com/pmlk/pipenv-dependency.git@master from git+https://github.com/pmlk/pipenv-dependency.git@master
[pipenv.exceptions.ResolutionFailure]:       No versions found
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
 Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: ERROR: Could not find a version that matches pipenvdependency@ git+https://github.com/pmlk/pipenv-dependency.git@master from git+https://github.com/pmlk/pipenv-dependency.git@master
No versions found
Was https://pypi.org/simple reachable?
[pipenv.exceptions.ResolutionFailure]:       req_dir=requirements_dir
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/utils.py", line 726, in resolve_deps
[pipenv.exceptions.ResolutionFailure]:       req_dir=req_dir,
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
[pipenv.exceptions.ResolutionFailure]:       resolved_tree = resolver.resolve()
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/utils.py", line 395, in resolve
[pipenv.exceptions.ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]:       pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches pipenvdependency@ git+https://github.com/pmlk/pipenv-dependency.git@master from git+https://github.com/pmlk/pipenv-dependency.git@master
[pipenv.exceptions.ResolutionFailure]:       No versions found
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
 Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: ERROR: Could not find a version that matches pipenvdependency@ git+https://github.com/pmlk/pipenv-dependency.git@master from git+https://github.com/pmlk/pipenv-dependency.git@master
No versions found
Was https://pypi.org/simple reachable?

Despite the error and no Pipfile.lock, the dependency seemed to have been properly installed:

$ pipenv graph
pipenvapp==0.0.0
  - pipenvdependency [required: Any, installed: 0.0.0]
    - numpy [required: Any, installed: 1.16.2]

Also, I am able to run (printing a dummy numpy array):

$ pipenv shell
(pipenv-app) $ python -m pipenvdependency
[[ 1  2]
 [11 22]]

Scenario 2 - pipenv-dev, version 2018.11.27.dev0

$ git clone https://github.com/pmlk/pipenv-app.git
$ cd pipenv-app
# pipenv-dev is aliased to current master version of pipenv
$ pipenv-dev install -e .
$ pipenv-dev install -e . output
$ pipenv-dev install -e .
Creating a virtualenv for this project…
Pipfile: /Users/patrick/SoftwareDevelopment/pipenv-app/Pipfile
Using /usr/local/bin/python3 (3.7.2) to create virtualenv…
⠼ Creating virtual environment...Using base prefix '/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7'
New python executable in /Users/patrick/.local/share/virtualenvs/pipenv-app-vN89ij2s/bin/python3.7
Also creating executable in /Users/patrick/.local/share/virtualenvs/pipenv-app-vN89ij2s/bin/python
Installing setuptools, pip, wheel...
done.
Running virtualenv with interpreter /usr/local/bin/python3

✔ Successfully created virtual environment!
Virtualenv location: /Users/patrick/.local/share/virtualenvs/pipenv-app-vN89ij2s
Creating a Pipfile for this project…
Installing -e .…
Adding pipenvapp to Pipfile's [packages]…
✔ Installation Succeeded
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Building requirements...
Resolving dependencies...
✔ Success!
Updated Pipfile.lock (afb294)!
Installing dependencies from Pipfile.lock (afb294)…
Writing requirement line to temporary file: '-e file:///var/folders/yh/g0f0pr855t9dp2q81mgbf2f80000gn/T/requirementslibpne0qsyb/pipenvdependency#egg=pipenvdependency'
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 3/3 — 00:00:02
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

Expected result

No errors, Pipfile.lock successfully created.
The following output:

$ pipenv-dev graph
pipenvapp==0.0.0
  - pipenvdependency [required: Any, installed: 0.0.0]
    - numpy [required: Any, installed: 1.16.2]

Ability to run: $ python -m pipenvdependency

Actual result

No errors, Pipfile.lock successfully created. ✔️

# pipenv or pipenv-dev both print the same
$ pipenv[-dev] graph
numpy==1.16.2
pipenvapp==0.0.0
  - pipenvdependency [required: Any, installed: ?]
(pipenv-app) $ python -m pipenvdependency
/Users/patrick/.local/share/virtualenvs/pipenv-app-vN89ij2s/bin/python: No module named pipenvdependency

Workaround

$ git clone https://github.com/pmlk/pipenv-app.git
$ cd pipenv-app
$ pipenv install -e .
... # see error above in Scenario 1
$ pipenv-dev lock
...
$ pipenv shell
(pipenv-app) $ python -m pipenvdependency
[[ 1  2]
 [11 22]]

Steps to replicate

I think the two scenarios and the workaround document well the steps necessary to reproduce the issue. This is how I setup the pipenv-dev alias:

$ git clone https://github.com/pypa/pipenv.git
$ cd pipenv
$ pipenv install -e .
$ pipenv shell
(pipenv) $ which pipenv
/path/to/.local/share/virtualenvs/pipenv-hash/bin/pipenv
$ exit
$ which pipenv
/usr/local/bin/pipenv
$ alias pipen-dev=/path/to/.local/share/virtualenvs/pipenv-hash/bin/pipenv
$ pipenv --version
pipenv, version 2018.11.26
$ pipenv-dev --version
pipenv, version 2018.11.27.dev0

$ pipenv --support (after Scenario 1)

Pipenv version: '2018.11.26'

Pipenv location: '/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv'

Python location: '/usr/local/Cellar/pipenv/2018.11.26_2/libexec/bin/python3.7'

Python installations found:

  • 3.7.2: /usr/local/bin/python3
  • 3.7.2: /usr/local/bin/python3.7m
  • 3.6.4: /Users/patrick/.pyenv/versions/3.6.4/bin/python3
  • 3.6.4: /Users/patrick/.pyenv/versions/3.6.4/bin/python3.6m
  • 2.7.16: /usr/local/bin/python
  • 2.7.16: /usr/local/bin/pythonw
  • 2.7.10: /usr/bin/python
  • 2.7.10: /usr/bin/pythonw
  • 2.7.10: /usr/bin/python2.7

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.7.2',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '18.2.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST '
                     '2018; root:xnu-4903.241.1~1/RELEASE_X86_64',
 'python_full_version': '3.7.2',
 'python_version': '3.7',
 'sys_platform': 'darwin'}

System environment variables:

  • PATH
  • TERM_PROGRAM
  • PYENV_ROOT
  • TERM
  • SHELL
  • TMPDIR
  • Apple_PubSub_Socket_Render
  • TERM_PROGRAM_VERSION
  • TERM_SESSION_ID
  • ZSH
  • LC_ALL
  • USER
  • SSH_AUTH_SOCK
  • __CF_USER_TEXT_ENCODING
  • PAGER
  • LSCOLORS
  • _
  • PWD
  • LANG
  • ITERM_PROFILE
  • XPC_FLAGS
  • XPC_SERVICE_NAME
  • SHLVL
  • HOME
  • COLORFGBG
  • ITERM_SESSION_ID
  • LESS
  • LOGNAME
  • LC_CTYPE
  • DISPLAY
  • SQLITE_EXEMPT_PATH_FROM_VNODE_GUARDS
  • COLORTERM
  • PIP_DISABLE_PIP_VERSION_CHECK
  • PYTHONDONTWRITEBYTECODE
  • PIP_SHIMS_BASE_MODULE
  • PIP_PYTHON_PATH
  • PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

Debug–specific environment variables:

  • PATH: /usr/local/Cellar/pipenv/2018.11.26_2/libexec/tools:/Users/patrick/bin:/usr/local/opt/tcl-tk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Users/patrick/.pyenv/bin
  • SHELL: /bin/zsh
  • LANG: en_US.UTF-8
  • PWD: /Users/patrick/SDev/pipenv-app

Contents of Pipfile ('/Users/patrick/SoftwareDevelopment/pipenv-app/Pipfile'):

[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
pipenvapp = {editable = true,path = "."}

[requires]
python_version = "3.7"
$ pipenv-dev --support (after Scenario 2)

Pipenv version: '2018.11.27.dev0'

Pipenv location: '/Users/patrick/SoftwareDevelopment/tmp/pipenv-master/pipenv/pipenv'

Python location: '/Users/patrick/.local/share/virtualenvs/pipenv-ijAFokjJ/bin/python3.7'

Python installations found:

  • 3.7.2: /usr/local/bin/python3
  • 3.7.2: /usr/local/bin/python3.7m
  • 3.6.4: /Users/patrick/.pyenv/versions/3.6.4/bin/python3
  • 2.7.16: /usr/local/bin/python2
  • 2.7.16: /usr/local/bin/pythonw
  • 2.7.10: /usr/bin/pythonw
  • 2.7.10: /usr/bin/python2.7

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.7.2',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '18.2.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST '
                     '2018; root:xnu-4903.241.1~1/RELEASE_X86_64',
 'python_full_version': '3.7.2',
 'python_version': '3.7',
 'sys_platform': 'darwin'}

System environment variables:

  • TERM_SESSION_ID
  • SSH_AUTH_SOCK
  • Apple_PubSub_Socket_Render
  • COLORFGBG
  • ITERM_PROFILE
  • SQLITE_EXEMPT_PATH_FROM_VNODE_GUARDS
  • XPC_FLAGS
  • PWD
  • SHELL
  • LC_CTYPE
  • TERM_PROGRAM_VERSION
  • TERM_PROGRAM
  • PATH
  • DISPLAY
  • COLORTERM
  • TERM
  • HOME
  • TMPDIR
  • USER
  • XPC_SERVICE_NAME
  • LOGNAME
  • __CF_USER_TEXT_ENCODING
  • ITERM_SESSION_ID
  • SHLVL
  • OLDPWD
  • PYENV_ROOT
  • LC_ALL
  • LANG
  • ZSH
  • PAGER
  • LESS
  • LSCOLORS
  • _
  • PIP_DISABLE_PIP_VERSION_CHECK
  • PYTHONDONTWRITEBYTECODE
  • PIP_SHIMS_BASE_MODULE
  • PIP_PYTHON_PATH
  • PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

Debug–specific environment variables:

  • PATH: /Users/patrick/bin:/usr/local/opt/tcl-tk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Users/patrick/.pyenv/bin
  • SHELL: /bin/zsh
  • LANG: en_US.UTF-8
  • PWD: /Users/patrick/SDev/pipenv-app

Contents of Pipfile ('/Users/patrick/SoftwareDevelopment/pipenv-app/Pipfile'):

[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
pipenvapp = {editable = true,path = "."}

[requires]
python_version = "3.7"

Contents of Pipfile.lock ('/Users/patrick/SoftwareDevelopment/pipenv-app/Pipfile.lock'):

{
    "_meta": {
        "hash": {
            "sha256": "32e4ed4da2d198d4d2a2bb2920777e853a5e5ed33a03bcaed99fa60e54afb294"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.7"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "numpy": {
            "hashes": [
                "sha256:1980f8d84548d74921685f68096911585fee393975f53797614b34d4f409b6da",
                "sha256:22752cd809272671b273bb86df0f505f505a12368a3a5fc0aa811c7ece4dfd5c",
                "sha256:23cc40313036cffd5d1873ef3ce2e949bdee0646c5d6f375bf7ee4f368db2511",
                "sha256:2b0b118ff547fecabc247a2668f48f48b3b1f7d63676ebc5be7352a5fd9e85a5",
                "sha256:3a0bd1edf64f6a911427b608a894111f9fcdb25284f724016f34a84c9a3a6ea9",
                "sha256:3f25f6c7b0d000017e5ac55977a3999b0b1a74491eacb3c1aa716f0e01f6dcd1",
                "sha256:4061c79ac2230594a7419151028e808239450e676c39e58302ad296232e3c2e8",
                "sha256:560ceaa24f971ab37dede7ba030fc5d8fa173305d94365f814d9523ffd5d5916",
                "sha256:62be044cd58da2a947b7e7b2252a10b42920df9520fc3d39f5c4c70d5460b8ba",
                "sha256:6c692e3879dde0b67a9dc78f9bfb6f61c666b4562fd8619632d7043fb5b691b0",
                "sha256:6f65e37b5a331df950ef6ff03bd4136b3c0bbcf44d4b8e99135d68a537711b5a",
                "sha256:7a78cc4ddb253a55971115f8320a7ce28fd23a065fc33166d601f51760eecfa9",
                "sha256:80a41edf64a3626e729a62df7dd278474fc1726836552b67a8c6396fd7e86760",
                "sha256:893f4d75255f25a7b8516feb5766c6b63c54780323b9bd4bc51cdd7efc943c73",
                "sha256:972ea92f9c1b54cc1c1a3d8508e326c0114aaf0f34996772a30f3f52b73b942f",
                "sha256:9f1d4865436f794accdabadc57a8395bd3faa755449b4f65b88b7df65ae05f89",
                "sha256:9f4cd7832b35e736b739be03b55875706c8c3e5fe334a06210f1a61e5c2c8ca5",
                "sha256:adab43bf657488300d3aeeb8030d7f024fcc86e3a9b8848741ea2ea903e56610",
                "sha256:bd2834d496ba9b1bdda3a6cf3de4dc0d4a0e7be306335940402ec95132ad063d",
                "sha256:d20c0360940f30003a23c0adae2fe50a0a04f3e48dc05c298493b51fd6280197",
                "sha256:d3b3ed87061d2314ff3659bb73896e622252da52558f2380f12c421fbdee3d89",
                "sha256:dc235bf29a406dfda5790d01b998a1c01d7d37f449128c0b1b7d1c89a84fae8b",
                "sha256:fb3c83554f39f48f3fa3123b9c24aecf681b1c289f9334f8215c1d3c8e2f6e5b"
            ],
            "version": "==1.16.2"
        },
        "pipenvapp": {
            "editable": true,
            "path": ".",
            "version": "==0.0.0"
        },
        "pipenvdependency": {
            "git": "https://github.com/pmlk/pipenv-dependency.git",
            "ref": "4b0e930272c1f52e3ff9dbd67e4b7d450c14c6ec",
            "version": "==0.0.0"
        }
    },
    "develop": {}
}
$ pipenv-dev --support (after workaround)

Pipenv version: '2018.11.27.dev0'

Pipenv location: '/Users/patrick/SoftwareDevelopment/tmp/pipenv-master/pipenv/pipenv'

Python location: '/Users/patrick/.local/share/virtualenvs/pipenv-ijAFokjJ/bin/python3.7'

Python installations found:

  • 3.7.2: /usr/local/bin/python3
  • 3.7.2: /usr/local/bin/python3.7m
  • 3.6.4: /Users/patrick/.pyenv/versions/3.6.4/bin/python3
  • 2.7.16: /usr/local/bin/python2
  • 2.7.16: /usr/local/bin/pythonw
  • 2.7.10: /usr/bin/pythonw
  • 2.7.10: /usr/bin/python2.7

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.7.2',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '18.2.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST '
                     '2018; root:xnu-4903.241.1~1/RELEASE_X86_64',
 'python_full_version': '3.7.2',
 'python_version': '3.7',
 'sys_platform': 'darwin'}

System environment variables:

  • TERM_SESSION_ID
  • SSH_AUTH_SOCK
  • Apple_PubSub_Socket_Render
  • COLORFGBG
  • ITERM_PROFILE
  • SQLITE_EXEMPT_PATH_FROM_VNODE_GUARDS
  • XPC_FLAGS
  • PWD
  • SHELL
  • LC_CTYPE
  • TERM_PROGRAM_VERSION
  • TERM_PROGRAM
  • PATH
  • DISPLAY
  • COLORTERM
  • TERM
  • HOME
  • TMPDIR
  • USER
  • XPC_SERVICE_NAME
  • LOGNAME
  • __CF_USER_TEXT_ENCODING
  • ITERM_SESSION_ID
  • SHLVL
  • OLDPWD
  • PYENV_ROOT
  • LC_ALL
  • LANG
  • ZSH
  • PAGER
  • LESS
  • LSCOLORS
  • _
  • PIP_DISABLE_PIP_VERSION_CHECK
  • PYTHONDONTWRITEBYTECODE
  • PIP_SHIMS_BASE_MODULE
  • PIP_PYTHON_PATH
  • PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

Debug–specific environment variables:

  • PATH: /Users/patrick/bin:/usr/local/opt/tcl-tk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Users/patrick/.pyenv/bin
  • SHELL: /bin/zsh
  • LANG: en_US.UTF-8
  • PWD: /Users/patrick/SDev/pipenv-app

Contents of Pipfile ('/Users/patrick/SoftwareDevelopment/pipenv-app/Pipfile'):

[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
pipenvapp = {editable = true,path = "."}

[requires]
python_version = "3.7"

Contents of Pipfile.lock ('/Users/patrick/SoftwareDevelopment/pipenv-app/Pipfile.lock'):

{
    "_meta": {
        "hash": {
            "sha256": "32e4ed4da2d198d4d2a2bb2920777e853a5e5ed33a03bcaed99fa60e54afb294"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.7"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "numpy": {
            "hashes": [
                "sha256:1980f8d84548d74921685f68096911585fee393975f53797614b34d4f409b6da",
                "sha256:22752cd809272671b273bb86df0f505f505a12368a3a5fc0aa811c7ece4dfd5c",
                "sha256:23cc40313036cffd5d1873ef3ce2e949bdee0646c5d6f375bf7ee4f368db2511",
                "sha256:2b0b118ff547fecabc247a2668f48f48b3b1f7d63676ebc5be7352a5fd9e85a5",
                "sha256:3a0bd1edf64f6a911427b608a894111f9fcdb25284f724016f34a84c9a3a6ea9",
                "sha256:3f25f6c7b0d000017e5ac55977a3999b0b1a74491eacb3c1aa716f0e01f6dcd1",
                "sha256:4061c79ac2230594a7419151028e808239450e676c39e58302ad296232e3c2e8",
                "sha256:560ceaa24f971ab37dede7ba030fc5d8fa173305d94365f814d9523ffd5d5916",
                "sha256:62be044cd58da2a947b7e7b2252a10b42920df9520fc3d39f5c4c70d5460b8ba",
                "sha256:6c692e3879dde0b67a9dc78f9bfb6f61c666b4562fd8619632d7043fb5b691b0",
                "sha256:6f65e37b5a331df950ef6ff03bd4136b3c0bbcf44d4b8e99135d68a537711b5a",
                "sha256:7a78cc4ddb253a55971115f8320a7ce28fd23a065fc33166d601f51760eecfa9",
                "sha256:80a41edf64a3626e729a62df7dd278474fc1726836552b67a8c6396fd7e86760",
                "sha256:893f4d75255f25a7b8516feb5766c6b63c54780323b9bd4bc51cdd7efc943c73",
                "sha256:972ea92f9c1b54cc1c1a3d8508e326c0114aaf0f34996772a30f3f52b73b942f",
                "sha256:9f1d4865436f794accdabadc57a8395bd3faa755449b4f65b88b7df65ae05f89",
                "sha256:9f4cd7832b35e736b739be03b55875706c8c3e5fe334a06210f1a61e5c2c8ca5",
                "sha256:adab43bf657488300d3aeeb8030d7f024fcc86e3a9b8848741ea2ea903e56610",
                "sha256:bd2834d496ba9b1bdda3a6cf3de4dc0d4a0e7be306335940402ec95132ad063d",
                "sha256:d20c0360940f30003a23c0adae2fe50a0a04f3e48dc05c298493b51fd6280197",
                "sha256:d3b3ed87061d2314ff3659bb73896e622252da52558f2380f12c421fbdee3d89",
                "sha256:dc235bf29a406dfda5790d01b998a1c01d7d37f449128c0b1b7d1c89a84fae8b",
                "sha256:fb3c83554f39f48f3fa3123b9c24aecf681b1c289f9334f8215c1d3c8e2f6e5b"
            ],
            "version": "==1.16.2"
        },
        "pipenvapp": {
            "editable": true,
            "path": ".",
            "version": "==0.0.0"
        },
        "pipenvdependency": {
            "git": "https://github.com/pmlk/pipenv-dependency.git",
            "ref": "4b0e930272c1f52e3ff9dbd67e4b7d450c14c6ec",
            "version": "==0.0.0"
        }
    },
    "develop": {}
}

@pmlk
Copy link

pmlk commented Mar 31, 2019

Sorry to bother, @techalchemy. Am I doing something wrong? Should this be reopened or should I open a new issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: VCS Relates to version control system dependencies. Type: Bug 🐛 This issue is a bug. Type: Duplicate This issue is a duplicate of an already-existing issue.
Projects
None yet
Development

No branches or pull requests

3 participants