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

Install uses Pipfile.lock even when --skip-lock is set #3266

Closed
owenstranathan opened this issue Nov 20, 2018 · 4 comments
Closed

Install uses Pipfile.lock even when --skip-lock is set #3266

owenstranathan opened this issue Nov 20, 2018 · 4 comments
Labels
Status: Awaiting Update ⏳ This issue requires more information before assistance can be provided. Type: Possible Bug This issue describes a possible bug in pipenv.

Comments

@owenstranathan
Copy link

owenstranathan commented Nov 20, 2018

Issue description

pipenv install --skip-lock will read a Pipfile.lock if it exists which is unintuitive.

For example

Expected result

Pipenv ignores Pipfile.lock altogether and just installs dependencies specified in the Pipefile

Actual result

my actual use case output
➜ owen@computer:test cat Pipfile
[[source]]
verify_ssl = true
url = "https://pypi.org/simple"
name = "pypi"

[packages]
requests = "*"

[dev-packages]
pylint = "*"

➜ owen@computer:test pipenv --three
Virtualenv already exists!
Removing existing virtualenv…
Creating a virtualenv for this project…
Pipfile: /mnt/c/Users/Owen/projects/test/Pipfile
Using /usr/bin/python3.7 (3.7.1) to create virtualenv…
✔ Complete
Already using interpreter /usr/bin/python3.7
Using base prefix '/usr'
New python executable in /home/owen/.local/share/virtualenvs/test-eaMzPOvs/bin/python3.7
Also creating executable in /home/owen/.local/share/virtualenvs/test-eaMzPOvs/bin/python
Installing setuptools, pip, wheel...
done.
Virtualenv location: /home/owen/.local/share/virtualenvs/test-eaMzPOvs

➜ owen@computer:test pipenv lock
Locking [dev-packages] dependencies…
✔ Success!
Locking [packages] dependencies…
✔ Success!
Updated Pipfile.lock (f676dc)!

➜ owen@computer:test pipenv --two
Virtualenv already exists!
Removing existing virtualenv…
Creating a virtualenv for this project…
Pipfile: /mnt/c/Users/Owen/projects/test/Pipfile
Using /usr/bin/python (2.7.12) to create virtualenv…
✔ Complete
New python executable in /home/owen/.local/share/virtualenvs/test-eaMzPOvs/bin/python
Installing setuptools, pip, wheel...
done.
Running virtualenv with interpreter /usr/bin/python
Virtualenv location: /home/owen/.local/share/virtualenvs/test-eaMzPOvs

➜ owen@computer:test pipenv install --dev --skip-lock
Installing dependencies from Pipfile…
An error occurred while installing astroid==2.0.4 --hash=sha256:292fa429e69d60e4161e7612cb7cc8fa3609e2e309f80c224d93a76d5e7b58be --hash=sha256:c7013d119ec95eb626f7a2011f0b63d0c9a095df9ad06d8507b37084eada1a8d! Will try again.
An error occurred while installing isort==4.3.4 --hash=sha256:1153601da39a25b14ddc54955dbbacbb6b2d19135386699e2ad58517953b34af --hash=sha256:b9c40e9750f3d77e6e4d441d8b0266cf555e7cdabdcff33c4fd06366ca761ef8 --hash=sha256:ec9ef8f4a9bc6f71eec99e1806bfa2de401650d996c59330782b89a5555c1497! Will try again.
An error occurred while installing pylint==2.1.1 --hash=sha256:1d6d3622c94b4887115fe5204982eee66fdd8a951cf98635ee5caee6ec98c3ec --hash=sha256:31142f764d2a7cd41df5196f9933b12b7ee55e73ef12204b648ad7e556c119fb! Will try again.
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 12/12 — 00:00:04
Installing initially failed dependencies…
  ☤  ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 3/3 — 00:00:05
[pipenv.exceptions.InstallError]:   File "/home/owen/.local/lib/python3.7/site-packages/pipenv/cli/command.py", line 249, in install
[pipenv.exceptions.InstallError]:       editable_packages=state.installstate.editables,
[pipenv.exceptions.InstallError]:   File "/home/owen/.local/lib/python3.7/site-packages/pipenv/core.py", line 1872, in do_install
[pipenv.exceptions.InstallError]:       keep_outdated=keep_outdated
[pipenv.exceptions.InstallError]:   File "/home/owen/.local/lib/python3.7/site-packages/pipenv/core.py", line 1232, in do_init
[pipenv.exceptions.InstallError]:       pypi_mirror=pypi_mirror,
[pipenv.exceptions.InstallError]:   File "/home/owen/.local/lib/python3.7/site-packages/pipenv/core.py", line 844, in do_install_dependencies
[pipenv.exceptions.InstallError]:       _cleanup_procs(procs, False, failed_deps_queue, retry=False)
[pipenv.exceptions.InstallError]:   File "/home/owen/.local/lib/python3.7/site-packages/pipenv/core.py", line 676, in _cleanup_procs
[pipenv.exceptions.InstallError]:       raise exceptions.InstallError(c.dep.name, extra=err_lines)
[pipenv.exceptions.InstallError]: ['Looking in indexes: https://pypi.org/simple, https://pypi.appfigur.es/simple/', 'Collecting astroid==2.0.4 (from -r /tmp/pipenv-9t6dvbzw-requirements/pipenv-x6cg0z35-requirement.txt (line 1))']
[pipenv.exceptions.InstallError]: ['Could not find a version that satisfies the requirement astroid==2.0.4 (from -r /tmp/pipenv-9t6dvbzw-requirements/pipenv-x6cg0z35-requirement.txt (line 1)) (from versions: 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4.9, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5)', 'No matching distribution found for astroid==2.0.4 (from -r /tmp/pipenv-9t6dvbzw-requirements/pipenv-x6cg0z35-requirement.txt (line 1))']
ERROR: ERROR: Package installation failed...

You see it claims to be installing from Pipfile however it's reaching for hashes it shouldn't
know about. The reason is this line here

lockfile = project.get_or_create_lockfile()

the method being called there will load the lockfile if it exists, this is probably ok, except
when --skip-lock is explicitly true this unintuitive

Steps to replicate

See above.

or

contrived example
$ cat Pipfile
[[source]]
verify_ssl = true
url = "https://pypi.org/simple"
name = "pypi"

[packages]
requests = "*"

[dev-packages]
pylint = "*"


$ pipenv --three
...
$ pipenv lock
...
$ pipenv install --skip-lock
Installing dependencies from Pipfile…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 5/5 — 00:00:01
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
$ rm Pipfile.lock
$ pipenv install --skip-lock
Installing dependencies from Pipfile…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 1/1 — 00:00:01
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

You see there is a difference in number of dependencies


$ pipenv --support

Pipenv version: '2018.11.14'

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

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

Python installations found:

  • 3.7.1: /usr/bin/python3.7
  • 3.7.1: /usr/bin/python3.7m
  • 3.7.0: /mnt/c/Python37/python.exe
  • 3.7.0: /mnt/c/Python37/pythonw.exe
  • 3.6.7: /usr/bin/python3.6
  • 3.6.7: /usr/bin/python3.6m
  • 3.5.2: /usr/bin/python3
  • 3.5.2: /usr/bin/python3.5m
  • 2.7.12: /usr/bin/python

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.7.1',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.4.0-17134-Microsoft',
 'platform_system': 'Linux',
 'platform_version': '#345-Microsoft Wed Sep 19 17:47:00 PST 2018',
 'python_full_version': '3.7.1',
 'python_version': '3.7',
 'sys_platform': 'linux'}

System environment variables:

  • SSH_AGENT_PID
  • TERM
  • SHELL
  • DOCKER_HOST
  • BYOBU_CONFIG_DIR
  • BYOBU_TTY
  • ZSH
  • WIN_HOME
  • CLOUDSDK_CONTAINER_USE_V1_API_CLIENT
  • BYOBU_READLINK
  • USER
  • NAME
  • BYOBU_RUN_DIR
  • BYOBU_DISTRO
  • HOSTTYPE
  • SSH_AUTH_SOCK
  • BYOBU_DATE
  • PAGER
  • VIRTUAL_ENV_DISABLE_PROMPT
  • TMUX
  • LSCOLORS
  • BYOBU_BACKEND
  • BYOBU_SED
  • PATH
  • WSL
  • BYOBU_DARK
  • PWD
  • BYOBU_ULIMIT
  • EDITOR
  • LANG
  • TMUX_PANE
  • BYOBU_WINDOW_NAME
  • BYOBU_CHARMAP
  • BYOBU_PYTHON
  • SHLVL
  • HOME
  • BYOBU_LIGHT
  • LESS
  • LOGNAME
  • BYOBU_PAGER
  • LC_CTYPE
  • BYOBU_ACCENT
  • GOPATH
  • BYOBU_PREFIX
  • BYOBU_HIGHLIGHT
  • BYOBU_TIME
  • OLDPWD
  • _
  • 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/opt/avr-gcc@7/bin:/usr/local/go/bin:/home/owen/.local/bin:/usr/local/sbin:/home/owen/bin:/usr/local/bin:/usr/local/opt/avr-gcc@7/bin:/usr/local/go/bin:/home/owen/.local/bin:/usr/local/sbin:/home/owen/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/Python37/Scripts:/mnt/c/Python37:/mnt/c/Program Files (x86)/Intel/iCLS Client:/mnt/c/Program Files/Intel/iCLS Client:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/nodejs:/mnt/c/Program Files/dotnet:/mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/GtkSharp/2.12/bin:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files (x86)/ChucK/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/Microsoft VS Code/bin:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Go/bin:/mnt/c/Program Files (x86)/Atmel/Flip 3.4.7/bin:/mnt/c/Users/Owen/go/bin:/home/owen/.rvm/bin:/home/owen/.rvm/bin
  • SHELL: /bin/bash
  • EDITOR: vim
  • LANG: en_US.UTF-8
  • PWD: /home/owen/projects/test

Contents of Pipfile ('/mnt/c/Users/Owen/projects/test/Pipfile'):

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

[packages]
requests = "*"

[dev-packages]
pylint = "*"

Contents of Pipfile.lock ('/mnt/c/Users/Owen/projects/test/Pipfile.lock'):

{
    "_meta": {
        "hash": {
            "sha256": "ac82b60db3bf5a48faf58b50a1ef3fe84b98c212a25735e2ff22b912e8f676dc"
        },
        "pipfile-spec": 6,
        "requires": {},
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "certifi": {
            "hashes": [
                "sha256:339dc09518b07e2fa7eda5450740925974815557727d6bd35d319c1524a04a4c",
                "sha256:6d58c986d22b038c8c0df30d639f23a3e6d172a05c3583e766f4c0b785c0986a"
            ],
            "version": "==2018.10.15"
        },
        "chardet": {
            "hashes": [
                "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae",
                "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"
            ],
            "version": "==3.0.4"
        },
        "idna": {
            "hashes": [
                "sha256:156a6814fb5ac1fc6850fb002e0852d56c0c8d2531923a51032d1b70760e186e",
                "sha256:684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16"
            ],
            "version": "==2.7"
        },
        "requests": {
            "hashes": [
                "sha256:65b3a120e4329e33c9889db89c80976c5272f56ea92d3e74da8a463992e3ff54",
                "sha256:ea881206e59f41dbd0bd445437d792e43906703fff75ca8ff43ccdb11f33f263"
            ],
            "index": "pypi",
            "version": "==2.20.1"
        },
        "urllib3": {
            "hashes": [
                "sha256:61bf29cada3fc2fbefad4fdf059ea4bd1b4a86d2b6d15e1c7c0b582b9752fe39",
                "sha256:de9529817c93f27c8ccbfead6985011db27bd0ddfcdb2d86f3f663385c6a9c22"
            ],
            "version": "==1.24.1"
        }
    },
    "develop": {
        "astroid": {
            "hashes": [
                "sha256:292fa429e69d60e4161e7612cb7cc8fa3609e2e309f80c224d93a76d5e7b58be",
                "sha256:c7013d119ec95eb626f7a2011f0b63d0c9a095df9ad06d8507b37084eada1a8d"
            ],
            "version": "==2.0.4"
        },
        "isort": {
            "hashes": [
                "sha256:1153601da39a25b14ddc54955dbbacbb6b2d19135386699e2ad58517953b34af",
                "sha256:b9c40e9750f3d77e6e4d441d8b0266cf555e7cdabdcff33c4fd06366ca761ef8",
                "sha256:ec9ef8f4a9bc6f71eec99e1806bfa2de401650d996c59330782b89a5555c1497"
            ],
            "version": "==4.3.4"
        },
        "lazy-object-proxy": {
            "hashes": [
                "sha256:0ce34342b419bd8f018e6666bfef729aec3edf62345a53b537a4dcc115746a33",
                "sha256:1b668120716eb7ee21d8a38815e5eb3bb8211117d9a90b0f8e21722c0758cc39",
                "sha256:209615b0fe4624d79e50220ce3310ca1a9445fd8e6d3572a896e7f9146bbf019",
                "sha256:27bf62cb2b1a2068d443ff7097ee33393f8483b570b475db8ebf7e1cba64f088",
                "sha256:27ea6fd1c02dcc78172a82fc37fcc0992a94e4cecf53cb6d73f11749825bd98b",
                "sha256:2c1b21b44ac9beb0fc848d3993924147ba45c4ebc24be19825e57aabbe74a99e",
                "sha256:2df72ab12046a3496a92476020a1a0abf78b2a7db9ff4dc2036b8dd980203ae6",
                "sha256:320ffd3de9699d3892048baee45ebfbbf9388a7d65d832d7e580243ade426d2b",
                "sha256:50e3b9a464d5d08cc5227413db0d1c4707b6172e4d4d915c1c70e4de0bbff1f5",
                "sha256:5276db7ff62bb7b52f77f1f51ed58850e315154249aceb42e7f4c611f0f847ff",
                "sha256:61a6cf00dcb1a7f0c773ed4acc509cb636af2d6337a08f362413c76b2b47a8dd",
                "sha256:6ae6c4cb59f199d8827c5a07546b2ab7e85d262acaccaacd49b62f53f7c456f7",
                "sha256:7661d401d60d8bf15bb5da39e4dd72f5d764c5aff5a86ef52a042506e3e970ff",
                "sha256:7bd527f36a605c914efca5d3d014170b2cb184723e423d26b1fb2fd9108e264d",
                "sha256:7cb54db3535c8686ea12e9535eb087d32421184eacc6939ef15ef50f83a5e7e2",
                "sha256:7f3a2d740291f7f2c111d86a1c4851b70fb000a6c8883a59660d95ad57b9df35",
                "sha256:81304b7d8e9c824d058087dcb89144842c8e0dea6d281c031f59f0acf66963d4",
                "sha256:933947e8b4fbe617a51528b09851685138b49d511af0b6c0da2539115d6d4514",
                "sha256:94223d7f060301b3a8c09c9b3bc3294b56b2188e7d8179c762a1cda72c979252",
                "sha256:ab3ca49afcb47058393b0122428358d2fbe0408cf99f1b58b295cfeb4ed39109",
                "sha256:bd6292f565ca46dee4e737ebcc20742e3b5be2b01556dafe169f6c65d088875f",
                "sha256:cb924aa3e4a3fb644d0c463cad5bc2572649a6a3f68a7f8e4fbe44aaa6d77e4c",
                "sha256:d0fc7a286feac9077ec52a927fc9fe8fe2fabab95426722be4c953c9a8bede92",
                "sha256:ddc34786490a6e4ec0a855d401034cbd1242ef186c20d79d2166d6a4bd449577",
                "sha256:e34b155e36fa9da7e1b7c738ed7767fc9491a62ec6af70fe9da4a057759edc2d",
                "sha256:e5b9e8f6bda48460b7b143c3821b21b452cb3a835e6bbd5dd33aa0c8d3f5137d",
                "sha256:e81ebf6c5ee9684be8f2c87563880f93eedd56dd2b6146d8a725b50b7e5adb0f",
                "sha256:eb91be369f945f10d3a49f5f9be8b3d0b93a4c2be8f8a5b83b0571b8123e0a7a",
                "sha256:f460d1ceb0e4a5dcb2a652db0904224f367c9b3c1470d5a7683c0480e582468b"
            ],
            "version": "==1.3.1"
        },
        "mccabe": {
            "hashes": [
                "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42",
                "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"
            ],
            "version": "==0.6.1"
        },
        "pylint": {
            "hashes": [
                "sha256:1d6d3622c94b4887115fe5204982eee66fdd8a951cf98635ee5caee6ec98c3ec",
                "sha256:31142f764d2a7cd41df5196f9933b12b7ee55e73ef12204b648ad7e556c119fb"
            ],
            "index": "pypi",
            "version": "==2.1.1"
        },
        "six": {
            "hashes": [
                "sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9",
                "sha256:832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb"
            ],
            "version": "==1.11.0"
        },
        "wrapt": {
            "hashes": [
                "sha256:d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6"
            ],
            "version": "==1.10.11"
        }
    }
}
@duplicate-issues
Copy link

Hey @owenstranathan,

We did a quick check and this issue looks very darn similar to

This could be a coincidence, but if any of these issues solves your problem then I did a good job 😄

If not, the maintainers will get to this issue shortly.

Cheers,
Your Friendly Neighborhood ProBot

@techalchemy
Copy link
Member

Can you confirm whether this is still true against the current version of master?

@techalchemy techalchemy added Type: Possible Bug This issue describes a possible bug in pipenv. Status: Awaiting Update ⏳ This issue requires more information before assistance can be provided. labels Nov 20, 2018
@owenstranathan
Copy link
Author

@techalchemy sorry for the slow reply, was traveling. Confirmed this is still true on master.

➜ (test-ijZ9ah9S)Noodle@tomato:pipenv git:(master) git rev-parse HEAD
16d59cea3d51127bb130b3a60a39c387e68cd71d
➜ (test-ijZ9ah9S)Noodle@tomato:pipenv git:(master) cd ../test
➜ (test-ijZ9ah9S)Noodle@tomato:test pip install -e ../pipenv 
Looking in indexes: https://pypi.org/simple, https://pypi.appfigur.es/simple/                                    
Obtaining file:///Users/Noodle/Code/pipenv
  Installing build dependencies ... done
Requirement already satisfied: pip>=9.0.1 in /Users/Noodle/.local/share/virtualenvs/test-ijZ9ah9S/lib/python3.7/site-packages (from pipenv==2018.11.15.dev0) (18.1)
Collecting certifi (from pipenv==2018.11.15.dev0)
  Using cached https://files.pythonhosted.org/packages/56/9d/1d02dd80bc4cd955f98980f28c5ee2200e1209292d5f9e9cc8d030d18655/certifi-2018.10.15-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=36.2.1 in /Users/Noodle/.local/share/virtualenvs/test-ijZ9ah9S/lib/python3.7/site-packages (from pipenv==2018.11.15.dev0) (40.6.2)                                                      
Collecting virtualenv-clone>=0.2.5 (from pipenv==2018.11.15.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.11.15.dev0)
  Using cached https://files.pythonhosted.org/packages/7c/17/9b7b6cddfd255388b58c61e25b091047f6814183e1d63741c8df8dcd65a2/virtualenv-16.1.0-py2.py3-none-any.whl
Installing collected packages: certifi, virtualenv-clone, virtualenv, pipenv                                     
  Running setup.py develop for pipenv
Successfully installed certifi-2018.10.15 pipenv virtualenv-16.1.0 virtualenv-clone-0.4.0                        

➜ (test-ijZ9ah9S)Noodle@tomato:test cat Pipfile   
[[source]]
verify_ssl = true
url = "https://pypi.org/simple"
name = "pypi"

[packages]
requests = "*"

[dev-packages]
pylint = "*"
 
➜ (test-ijZ9ah9S)Noodle@tomato:test $VIRTUAL_ENV/bin/pipenv --version
pipenv, version 2018.11.15.dev0
➜ (test-ijZ9ah9S)Noodle@tomato:test $VIRTUAL_ENV/bin/pipenv lock          
Locking [dev-packages] dependencies…
✔ Success! 
Locking [packages] dependencies…
✔ Success! 
Updated Pipfile.lock (f676dc)!
➜ (test-ijZ9ah9S)Noodle@tomato:test $VIRTUAL_ENV/bin/pipenv install --dev
Installing dependencies from Pipfile.lock (f676dc)…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 12/12 — 00:00:05
➜ (test-ijZ9ah9S)Noodle@tomato:test $VIRTUAL_ENV/bin/pipenv install --dev --skip-lock
Installing dependencies from Pipfile…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 12/12 — 00:00:05
➜ (test-ijZ9ah9S)Noodle@tomato:test mv Pipfile.lock 3.lock
➜ (test-ijZ9ah9S)Noodle@tomato:test $VIRTUAL_ENV/bin/pipenv install --dev --skip-lock
Installing dependencies from Pipfile…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 2/2 — 00:00:02
➜ (test-ijZ9ah9S)Noodle@tomato:test 
   10.13.1 0:-  1:-- 2:-*                       44! 44d2h 2.87 4x2.5GHz 8.0G57% 146274483234% 2018-11-22 00:07:20

@techalchemy
Copy link
Member

No worries, there was actually a regression around --skip-lock, the fix is goign to be merged in a few mins actually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting Update ⏳ This issue requires more information before assistance can be provided. Type: Possible Bug This issue describes a possible bug in pipenv.
Projects
None yet
Development

No branches or pull requests

2 participants