pipenv install -e . fails due to dependency resolution for packages installed through direct URL

Created on 2 Nov 2018  ·  19Comments  ·  Source: pypa/pipenv

Issue description

The title may be a bit confusing, thus I hope description will be clearer.

My packages section of Pipfile is as follows:

[packages]
prometheus-client = "*"
uberlogging = {file = "https://github.com/haizaar/uberlogging/archive/v0.0.2.tar.gz"}
private_pkg = {file = "https://${GITHUB_RO_TOKEN}:@github.com/Org/private_pkg/archive/v0.1.0.tar.gz"}

pipenv install passes fine, but then I try to do pipenv install --dev -e . with the following setup.py:

from setuptools import find_packages, setup

setup(
    name="foo",
    version="0.0.1",
    url="https://github.com/...",
    packages=find_packages(),
    install_requires=(
        "prometheus-client",
        "uberlogging",
        "private_pkg",
    )
)

it fails with Could not find a version that matches private_pkg, though private_pkg is listed in the
satisfied requirements below. pip install -e . works just fine in pipenv's venv and the resulting installation is functional. Bug?

$ pipenv install --dev -e .
Installing -e .…
Obtaining file:///home/haizaar/dev/healthshield/channeler
Requirement already satisfied, skipping upgrade: prometheus-client in /home/.../lib/python3.6/site-packages (from foo==0.0.1) (0.4.2)
Requirement already satisfied, skipping upgrade: uberlogging in /home/.../lib/python3.6/site-packages (from foo==0.0.1) (0.0.2)
Requirement already satisfied, skipping upgrade: private_pkg in /home/.../lib/python3.6/site-packages (from foo==0.0.1) (0.1.0)
Requirement already satisfied, skipping upgrade: python-json-logger in /home/.../lib/python3.6/site-packages (from uberlogging->foo==0.0.1) (0.1.9)
Requirement already satisfied, skipping upgrade: humanfriendly in /home/.../lib/python3.6/site-packages (from uberlogging->foo==0.0.1) (4.17)
Requirement already satisfied, skipping upgrade: structlog in /home/.../lib/python3.6/site-packages (from uberlogging->foo==0.0.1) (18.2.0)
Requirement already satisfied, skipping upgrade: coloredlogs in /home/.../lib/python3.6/site-packages (from uberlogging->foo==0.0.1) (10.0)
Requirement already satisfied, skipping upgrade: pyyaml in /home/.../lib/python3.6/site-packages (from private_pkg->foo==0.0.1) (3.13)
Requirement already satisfied, skipping upgrade: configmanager in /home/.../lib/python3.6/site-packages (from private_pkg->foo==0.0.1) (1.34.1)
Requirement already satisfied, skipping upgrade: setuptools in /home/.../lib/python3.6/site-packages (from python-json-logger->uberlogging->foo==0.0.1) (40.5.0)
Requirement already satisfied, skipping upgrade: six in /home/.../lib/python3.6/site-packages (from structlog->uberlogging->foo==0.0.1) (1.11.0)
Requirement already satisfied, skipping upgrade: configparser==3.5.0 in /home/.../lib/python3.6/site-packages (from configmanager->private_pkg->foo==0.0.1) (3.5.0)
Requirement already satisfied, skipping upgrade: future==0.16.0 in /home/.../lib/python3.6/site-packages (from configmanager->private_pkg->foo==0.0.1) (0.16.0)
Requirement already satisfied, skipping upgrade: hookery==1.4.0 in /home/.../lib/python3.6/site-packages (from configmanager->private_pkg->foo==0.0.1) (1.4.0)
Requirement already satisfied, skipping upgrade: funcsigs in /home/.../lib/python3.6/site-packages (from hookery==1.4.0->configmanager->private_pkg->foo==0.0.1) (1.0.2)
Installing collected packages: foo
  Found existing installation: foo 0.0.1
    Uninstalling foo-0.0.1:
      Successfully uninstalled foo-0.0.1
  Running setup.py develop for foo
Successfully installed foo

Adding foo to Pipfile's [dev-packages]…
Pipfile.lock (68f562) out of date, updating to (4f417c)…
Locking [dev-packages] dependencies…

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.
Could not find a version that matches private_pkg
No versions found
Was https://pypi.org/simple reachable?

$ pipenv --support

Pipenv version: '2018.10.13'

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

Python location: '/usr/bin/python3.6'

Python installations found:

  • 3.7.0: /usr/bin/python3.7
  • 3.7.0: /usr/bin/python3.7m
  • 3.6.6: /home/.../bin/python3.6
  • 3.6.6: /usr/bin/python3.6
  • 3.6.6: /usr/bin/python3.6m
  • 3.5.2: /usr/bin/python3.5
  • 3.5.2: /usr/bin/python3.5m
  • 2.7.12: /usr/bin/python2.7

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.6.6',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.15.0-36-generic',
 'platform_system': 'Linux',
 'platform_version': '#39~16.04.1-Ubuntu SMP Tue Sep 25 08:59:23 UTC 2018',
 'python_full_version': '3.6.6',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

  • LC_PAPER
  • XDG_VTNR
  • XDG_SESSION_ID
  • LC_ADDRESS
  • CLUTTER_IM_MODULE
  • LC_MONETARY
  • XDG_GREETER_DATA_DIR
  • VIRTUALENVWRAPPER_SCRIPT
  • VIRTUALENVWRAPPER_PROJECT_FILENAME
  • SESSION
  • GPG_AGENT_INFO
  • PIP_PYTHON_PATH
  • SHELL
  • VTE_VERSION
  • TERM
  • QT_LINUX_ACCESSIBILITY_ALWAYS_ON
  • DIRENV_DIR
  • LC_NUMERIC
  • WINDOWID
  • GNOME_KEYRING_CONTROL
  • UPSTART_SESSION
  • GTK_MODULES
  • USER
  • QT_ACCESSIBILITY
  • LC_TELEPHONE
  • LS_COLORS
  • UNITY_HAS_3D_SUPPORT
  • XDG_SESSION_PATH
  • XDG_SEAT_PATH
  • SSH_AUTH_SOCK
  • DEFAULTS_PATH
  • VIRTUAL_ENV
  • WORKON_HOME
  • DIRENV_WATCHES
  • UNITY_DEFAULT_PROFILE
  • XDG_CONFIG_DIRS
  • PIPENV_ACTIVE
  • PATH
  • DESKTOP_SESSION
  • QT_QPA_PLATFORMTHEME
  • QT_IM_MODULE
  • VIRTUALENVWRAPPER_HOOK_DIR
  • LC_IDENTIFICATION
  • JOB
  • PWD
  • XDG_SESSION_TYPE
  • XMODIFIERS
  • LANG
  • GNOME_KEYRING_PID
  • MANDATORY_PATH
  • GDM_LANG
  • LC_MEASUREMENT
  • NODE_PATH
  • IM_CONFIG_PHASE
  • COMPIZ_CONFIG_PROFILE
  • PS1
  • PYTHONDONTWRITEBYTECODE
  • PAPERSIZE
  • GDMSESSION
  • GTK2_MODULES
  • SESSIONTYPE
  • GITAWAREPROMPT
  • XDG_SEAT
  • HOME
  • SHLVL
  • LANGUAGE
  • _VIRTUALENVWRAPPER_API
  • GNOME_DESKTOP_SESSION_ID
  • UPSTART_INSTANCE
  • PIP_SHIMS_BASE_MODULE
  • LOGNAME
  • UPSTART_EVENTS
  • XDG_SESSION_DESKTOP
  • PYTHONPATH
  • GITHUB_RO_TOKEN
  • COMPIZ_BIN_PATH
  • QT4_IM_MODULE
  • XDG_DATA_DIRS
  • DBUS_SESSION_BUS_ADDRESS
  • LESSOPEN
  • UPSTART_JOB
  • INSTANCE
  • DISPLAY
  • XDG_RUNTIME_DIR
  • GTK_IM_MODULE
  • XDG_CURRENT_DESKTOP
  • DIRENV_DIFF
  • LC_TIME
  • LESSCLOSE
  • XAUTHORITY
  • LC_NAME
  • _

Pipenv–specific environment variables:

  • PIPENV_ACTIVE: 1

Debug–specific environment variables:

  • SHELL: /bin/bash
  • LANG: en_US.UTF-8

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

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

[packages]
prometheus-client = "*"
uberlogging = {file = "https://github.com/haizaar/uberlogging/archive/v0.0.2.tar.gz"}
private_pkg = {file = "https://${GITHUB_RO_TOKEN}:@github.com/Org/private_pkg/archive/v0.1.0.tar.gz"}

[dev-packages]
medium = {editable = true, path = "."}

[requires]
python_version = "3.6"

Contents of Pipfile.lock ('/home/.../Pipfile.lock'):

{
    "_meta": {
        "hash": {
            "sha256": "ae2ceeae45ac82d25d2563ac6b7d421babd5dda5437a4f0c35fddc78be4f417c"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.6"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "private_pkg: {
            "file": "https://${GITHUB_RO_TOKEN}:@github.com/Org/private_pkg/archive/v0.1.0.tar.gz"
        },
        "prometheus-client": {
            "hashes": [
                "sha256:046cb4fffe75e55ff0e6dfd18e2ea16e54d86cc330f369bebcc683475c8b68a9"
            ],
            "index": "pypi",
            "version": "==0.4.2"
        },
        "uberlogging": {
            "file": "https://github.com/haizaar/uberlogging/archive/v0.0.2.tar.gz"
        }
    },
    "develop": {}
}

Dependency Resolution Type

Most helpful comment

Yeeeee-haw!!! It works! Thank you very much!

All 19 comments

This currently only works in the sources section of your pipfile. Also, I'm not really sure that you need the : where you have it before the @. This would be better left to an ssh config file or you can wait on #3111 which already contains a proposed PEEP on this topic.

If you have a need to expand variables here, you will need to write an enhancement proposal and submit it as a PR against the peeps directory according to PEEP-001

See also: #3048, #3049, #3137

This currently only works in the sources section of your pipfile.

I'm not sure what you mean: pipenv install works just fine for my direct urls - credentials are expanded properly.

P.S. You are right, : is not needed before @. It does not affect the issue btw :)

Did more tests - the issue is not related to credentials.
I think the issue is related to dependency resolution for packages installed through direct URL.

Here is a simple reproduction:

cd $(mktemp -d)
pipenv install https://github.com/haizaar/uberlogging/archive/v0.0.2.tar.gz
cat > setup.py << EOF
from setuptools import find_packages, setup
setup(
    name="foo",
    version="0.0.1",
    packages=find_packages(),
    install_requires=(
        "uberlogging",
    )
)
EOF
pipenv install -e .

The last one fails with:

$ pipenv install -e .
Installing -e .…
Obtaining file:///tmp/tmp.d1vO9BlI1j
Requirement already satisfied, skipping upgrade: uberlogging in /home/.../lib/python3.6/site-packages (from foo==0.0.1) (0.0.2)
Requirement already satisfied, skipping upgrade: python-json-logger in /home/.../lib/python3.6/site-packages (from uberlogging->foo==0.0.1) (0.1.9)
Requirement already satisfied, skipping upgrade: coloredlogs in /home/.../lib/python3.6/site-packages (from uberlogging->foo==0.0.1) (10.0)
Requirement already satisfied, skipping upgrade: humanfriendly in /home/.../lib/python3.6/site-packages (from uberlogging->foo==0.0.1) (4.17)
Requirement already satisfied, skipping upgrade: structlog in /home/.../lib/python3.6/site-packages (from uberlogging->foo==0.0.1) (18.2.0)
Requirement already satisfied, skipping upgrade: setuptools in /home/.../lib/python3.6/site-packages (from python-json-logger->uberlogging->foo==0.0.1) (40.5.0)
Requirement already satisfied, skipping upgrade: six in /home/.../lib/python3.6/site-packages (from structlog->uberlogging->foo==0.0.1) (1.11.0)
Installing collected packages: foo
  Running setup.py develop for foo
Successfully installed foo

Adding foo to Pipfile's [packages]…
Pipfile.lock (5018c8) out of date, updating to (368469)…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…

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.
Could not find a version that matches uberlogging
No versions found
Was https://pypi.org/simple reachable?

@techalchemy Sorry if I'm nudging, but usually you are quite responsive and there is silence on this one. Have you had a chance to look at my last comment where I show that it's actually not related to credentials and affects any package installed by direct URL? I.e. pipenv install -d + "package installed from direct URL" = NO_GO

Pip needs to know where to look to resolve dependencies—usually with PIP_FIND_LINKS or some other variables. The resolution process can’t occur unless the resolver has instructions for finding packages generally, and by default it only checks PyPI which won’t have your package

Pip actually works, i.e.

pipenv install
pipenv run pip install -e .

works just fine. I guess it's because pip sees that all install_requires-ed packages are already installed. It only breaks with pipenv:

pipenv install
pipenv install -e .

If it works in pip it should work with pipenv as well, right? At least this is the end game vision, right?

Pip 18.1 is the first release to work this way. We vendor pip for dependency resolution and I only just updated it a week ago. Please test against master. This functionality has existed for like a month

Tried with the latest master. Still breaks with similar error.

Detailed error log

/ # pip install git+https://github.com/pypa/pipenv.git
Collecting git+https://github.com/pypa/pipenv.git
Cloning https://github.com/pypa/pipenv.git to /tmp/pip-req-build-w6rf67vx
Installing build dependencies ... done
Requirement already satisfied: pip>=9.0.1 in /usr/lib/python3.6/site-packages (from pipenv==2018.10.14.dev0) (18.1)
Collecting certifi (from pipenv==2018.10.14.dev0)
Downloading https://files.pythonhosted.org/packages/56/9d/1d02dd80bc4cd955f98980f28c5ee2200e1209292d5f9e9cc8d030d18655/certifi-2018.10.15-py2.py3-none-any.whl (146kB)
100% |████████████████████████████████| 153kB 4.8MB/s
Requirement already satisfied: setuptools>=36.2.1 in /usr/lib/python3.6/site-packages (from pipenv==2018.10.14.dev0) (39.0.1)
Collecting virtualenv-clone>=0.2.5 (from pipenv==2018.10.14.dev0)
Downloading https://files.pythonhosted.org/packages/16/9d/6419a4f0fe4350db7fdc01e9d22e949779b6f2d2650e4884aa8aededc5ae/virtualenv_clone-0.4.0-py2.py3-none-any.whl
Collecting virtualenv (from pipenv==2018.10.14.dev0)
Downloading https://files.pythonhosted.org/packages/7c/17/9b7b6cddfd255388b58c61e25b091047f6814183e1d63741c8df8dcd65a2/virtualenv-16.1.0-py2.py3-none-any.whl (1.9MB)
100% |████████████████████████████████| 1.9MB 5.2MB/s
Installing collected packages: certifi, virtualenv-clone, virtualenv, pipenv
Running setup.py install for pipenv ... done
Successfully installed certifi-2018.10.15 pipenv-2018.10.14.dev0 virtualenv-16.1.0 virtualenv-clone-0.4.0
/ #
/ #
/ # cd $(mktemp -d)
/tmp/tmp.BHLlIg # pipenv install https://github.com/haizaar/uberlogging/archive/v0.0.2.tar.gz
Warning: the environment variable LANG is not set!
We recommend setting this in ~/.profile (or equivalent) for proper expected behavior.
Creating a virtualenv for this project…
Pipfile: /tmp/tmp.BHLlIg/Pipfile
Using /usr/bin/python3.6 (3.6.6) to create virtualenv…
✔ Complete Running... done.
Already using interpreter /usr/bin/python3.6
Using base prefix '/usr'
New python executable in /root/.local/share/virtualenvs/tmp.BHLlIg-eVE_7PpZ/bin/python3.6
Also creating executable in /root/.local/share/virtualenvs/tmp.BHLlIg-eVE_7PpZ/bin/python
Installing setuptools, pip, wheel...
done.
Virtualenv location: /root/.local/share/virtualenvs/tmp.BHLlIg-eVE_7PpZ
Creating a Pipfile for this project…
Installing https://github.com/haizaar/uberlogging/archive/v0.0.2.tar.gz…
⠸ Installing...Collecting https://github.com/haizaar/uberlogging/archive/v0.0.2.tar.gz
Downloading https://github.com/haizaar/uberlogging/archive/v0.0.2.tar.gz
Collecting coloredlogs (from uberlogging==0.0.2)
Downloading https://files.pythonhosted.org/packages/08/0f/7877fc42fff0b9d70b6442df62d53b3868d3a6ad1b876bdb54335b30ff23/coloredlogs-10.0-py2.py3-none-any.whl (47kB)
Collecting structlog (from uberlogging==0.0.2)
Downloading https://files.pythonhosted.org/packages/f0/00/0fd0ca13fa19361bec0418e4c3b6b7509048cb1fb2fa8b7cd6b3dffe13d8/structlog-18.2.0-py2.py3-none-any.whl
Collecting humanfriendly (from uberlogging==0.0.2)
Downloading https://files.pythonhosted.org/packages/79/1e/13d96248e3fcaa7777b61fa889feab44865c85e524bbd667acfa0d8b66e3/humanfriendly-4.17-py2.py3-none-any.whl (72kB)
Collecting python-json-logger (from uberlogging==0.0.2)
Downloading https://files.pythonhosted.org/packages/3a/ed/2ba5a2dfce45fa67e0588dd6457b59ffdef7f1fdcd2c1152e085e3c9a726/python_json_logger-0.1.9-py2.py3-none-any.whl
Collecting six (from structlog->uberlogging==0.0.2)
Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: setuptools in /root/.local/share/virtualenvs/tmp.BHLlIg-eVE_7PpZ/lib/python3.6/site-packages (from python-json-logger->uberlogging==0.0.2) (40.5.0)
Building wheels for collected packages: uberlogging
Running setup.py bdist_wheel for uberlogging: started
Running setup.py bdist_wheel for uberlogging: finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-qom9kpcq/wheels/cf/c0/c4/1c378d530b8e88febf13b0d4afd1c54cd4fe22e1064249d012
Successfully built uberlogging
Installing collected packages: humanfriendly, coloredlogs, six, structlog, python-json-logger, uberlogging
Successfully installed coloredlogs-10.0 humanfriendly-4.17 python-json-logger-0.1.9 six-1.11.0 structlog-18.2.0 uberlogging-0.0.2

Adding 8795c83 to Pipfile's [packages]…
✔ Installation Succeeded Installing...
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (368469)!
Installing dependencies from Pipfile.lock (368469)…
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 1/1 — 00:00:05
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
/tmp/tmp.BHLlIg # cat > setup.py << EOF

from setuptools import find_packages, setup
setup(
name="foo",
version="0.0.1",
packages=find_packages(),
install_requires=(
"uberlogging",
)
)
EOF
/tmp/tmp.BHLlIg # pipenv install -e .
Installing -e .…
⠼ Installing...Obtaining file:///tmp/tmp.BHLlIg
Requirement already satisfied, skipping upgrade: uberlogging in /root/.local/share/virtualenvs/tmp.BHLlIg-eVE_7PpZ/lib/python3.6/site-packages (from foo==0.0.1) (0.0.2)
Requirement already satisfied, skipping upgrade: python-json-logger in /root/.local/share/virtualenvs/tmp.BHLlIg-eVE_7PpZ/lib/python3.6/site-packages (from uberlogging->foo==0.0.1) (0.1.9)
Requirement already satisfied, skipping upgrade: coloredlogs in /root/.local/share/virtualenvs/tmp.BHLlIg-eVE_7PpZ/lib/python3.6/site-packages (from uberlogging->foo==0.0.1) (10.0)
Requirement already satisfied, skipping upgrade: humanfriendly in /root/.local/share/virtualenvs/tmp.BHLlIg-eVE_7PpZ/lib/python3.6/site-packages (from uberlogging->foo==0.0.1) (4.17)
Requirement already satisfied, skipping upgrade: structlog in /root/.local/share/virtualenvs/tmp.BHLlIg-eVE_7PpZ/lib/python3.6/site-packages (from uberlogging->foo==0.0.1) (18.2.0)
Requirement already satisfied, skipping upgrade: setuptools in /root/.local/share/virtualenvs/tmp.BHLlIg-eVE_7PpZ/lib/python3.6/site-packages (from python-json-logger->uberlogging->foo==0.0.1) (40.5.0)
Requirement already satisfied, skipping upgrade: six in /root/.local/share/virtualenvs/tmp.BHLlIg-eVE_7PpZ/lib/python3.6/site-packages (from structlog->uberlogging->foo==0.0.1) (1.11.0)
Installing collected packages: foo
Running setup.py develop for foo
Successfully installed foo

Adding foo to Pipfile's [packages]…
✔ Installation Succeeded Installing...
Pipfile.lock (5018c8) out of date, updating to (368469)…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
✘ Locking Failed! Locking...
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 uberlogging
No versions found
Was https://pypi.org/simple reachable?
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 uberlogging
No versions found
Was https://pypi.org/simple reachable?
/tmp/tmp.BHLlIg #

$ pipenv --support

Pipenv version: '2018.10.14.dev0'

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

Python location: '/usr/bin/python3.6'

Python installations found:

  • 3.6.6: /usr/bin/python3
  • 3.6.6: /usr/bin/python3.6m

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.6.6',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.15.0-36-generic',
 'platform_system': 'Linux',
 'platform_version': '#39~16.04.1-Ubuntu SMP Tue Sep 25 08:59:23 UTC 2018',
 'python_full_version': '3.6.6',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

  • HOSTNAME
  • SHLVL
  • HOME
  • OLDPWD
  • TERM
  • PATH
  • PWD
  • PIP_DISABLE_PIP_VERSION_CHECK
  • PIP_SHIMS_BASE_MODULE
  • PYTHONDONTWRITEBYTECODE
  • PIP_PYTHON_PATH
  • PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

Debug–specific environment variables:

  • PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  • PWD: /tmp/tmp.BHLlIg

Contents of Pipfile ('/tmp/tmp.BHLlIg/Pipfile'):

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

[packages]
"8795c83" = {file = "https://github.com/haizaar/uberlogging/archive/v0.0.2.tar.gz"}
foo = {editable = true, path = "."}

[dev-packages]

[requires]
python_version = "3.6"

Contents of Pipfile.lock ('/tmp/tmp.BHLlIg/Pipfile.lock'):

{
    "_meta": {
        "hash": {
            "sha256": "56e5ae563599827b1b2b1646113786b350c9aa72bfa4a3c16e7e7740b9368469"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.6"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "8795c83": {
            "file": "https://github.com/haizaar/uberlogging/archive/v0.0.2.tar.gz"
        }
    },
    "develop": {}
}

I guess I'm lucky to start with those URL install just after they released :)

Can we reopen it in a meanwhile?

Yes sorry :) I haven't actually sorted out how to hand this over to pip during resolution, but I need to get this sorted out before I cut the release

I guess labels are off as well.

In looking this over, I think it may actually be due to a bug in wheel -- can you try to pin wheel<32.2.0 inside your virtualenv?

I guess you meant wheel<0.32.2. Anyways, it does not seem to help:

$ ls -d /home/.../lib/python3.6/site-packages/wheel-*dist-info
/home/.../python3.6/site-packages/wheel-0.32.1.dist-info

Then trying to pipenv install -e . spits the same error as in my original post.

Happy New Year everyone. Do you think you'll have have to work on it in the near future?

Next item on my list due to dependency links being disabled as of today’s pip release. It’s holding back my other changes now so I’ll be looking at it tomorrow. Thanks for your patience and sorry for taking so long on this one.

This was incredibly challenging but I have it completely implemented and will be merging it tonight

You are the hero! I'm eager to try it.

On Tue, 5 Mar 2019 at 13:13, Dan Ryan notifications@github.com wrote:

This was incredibly challenging but I have it completely implemented and
will be merging it tonight


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pypa/pipenv/issues/3148#issuecomment-469506846, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADjWdn18UOpugksumZnwxWssz8z91F8ks5vTdLEgaJpZM4YL5p9
.

--
Zaar

Yeeeee-haw!!! It works! Thank you very much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jerzyk picture jerzyk  ·  3Comments

leileigong picture leileigong  ·  3Comments

Californian picture Californian  ·  3Comments

fbender picture fbender  ·  3Comments

AkiraSama picture AkiraSama  ·  3Comments