-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Type: Bug 🐛This issue is a bug.This issue is a bug.
Description
Issue description
--skip-lock flag throws a validation error
Expected result
That I get the same successful behaviour as in 2018.11.26 .
Actual result
Throws a validation error due to the --skip-lock flag.
Installing dependencies from Pipfile…
Traceback (most recent call last):
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/bin/pipenv", line 11, in <module>
load_entry_point('pipenv==2018.11.26', 'console_scripts', 'pipenv')()
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/cli/command.py", line 254, in install
editable_packages=state.installstate.editables,
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/core.py", line 1874, in do_install
keep_outdated=keep_outdated
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/core.py", line 1253, in do_init
pypi_mirror=pypi_mirror,
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/core.py", line 795, in do_install_dependencies
lockfile = project.get_or_create_lockfile(from_pipfile=True)
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/project.py", line 756, in get_or_create_lockfile
path=self.lockfile_location, data=lockfile_dict, meta_from_project=False
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/lockfile.py", line 209, in from_data
lockfile = plette.lockfiles.Lockfile(data)
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/plette/models/base.py", line 37, in __init__
self.validate(data)
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/plette/lockfiles.py", line 80, in validate
klass.validate(data[key])
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/plette/models/sections.py", line 70, in validate
klass.validate(data[key])
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/plette/models/base.py", line 132, in validate
cls.item_class.validate(d)
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/plette/models/base.py", line 67, in validate
return validate(cls, data)
File "/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/pipfile.py", line 59, in validate
raise plette.models.base.ValidationError(data, v)
plette.models.base.ValidationError: {'url': 'https://pypi.python.org/simple', 'verify_ssl': True}
Steps to replicate
I have a simple Pipfile like
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
[requires]
python_version = "3.7"
[dev-packages]
"boto3" = "*"
"flake8" = "*"
[packages]
requests = "*"
and run pipenv install --skip-lock --dev.
$ pipenv --support
Pipenv version: '2018.11.26'
Pipenv location: '/usr/local/Cellar/pipenv/2018.11.26/libexec/lib/python3.7/site-packages/pipenv'
Python location: '/usr/local/Cellar/pipenv/2018.11.26/libexec/bin/python3.7'
Python installations found:
3.7.2:/usr/local/bin/python33.7.2:/usr/local/bin/python3.7m3.7.1:/Users/andrei/.pyenv/versions/3.7.1/bin/python33.7.1:/Users/andrei/.pyenv/versions/3.7.1/bin/python3.7m3.7.0:/Users/andrei/.pyenv/versions/3.7.0/bin/python33.7.0:/Users/andrei/.pyenv/versions/3.7.0/bin/python3.7m2.7.15:/usr/local/bin/python2.7.15:/usr/local/bin/pythonw2.7.10:/usr/bin/python2.7.10:/usr/bin/pythonw2.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: Fri Dec 14 18:43:36 PST '
'2018; root:xnu-4903.240.10~4/RELEASE_X86_64',
'python_full_version': '3.7.2',
'python_version': '3.7',
'sys_platform': 'darwin'}
System environment variables:
PATHGIT_PS1_SHOWDIRTYSTATEMANPATHrvm_use_flagLESS_TERMCAP_mbrvm_bin_pathTERM_PROGRAMLESS_TERMCAP_mdrvm_quiet_flagGEM_HOMELESS_TERMCAP_mervm_gemstone_urlTERMSHELLCLICOLORHISTSIZErvm_docs_typePIPENV_VENV_IN_PROJECTITERM_SHELL_INTEGRATION_INSTALLEDIRBRCTMPDIRApple_PubSub_Socket_RenderAUTOJUMP_KEEP_SYMLINKSTERM_PROGRAM_VERSIONTRAVIS_API_TOKENGIT_PS1_STATESEPARATORrvm_hookMY_RUBY_HOMELESS_TERMCAP_ueAUTOJUMP_IGNORE_CASETIME_STYLETERM_SESSION_IDGIT_PS1_SHOWCOLORHINTSFLAGS_GETOPT_CMDLC_ALLGIT_EDITORGIT_TERMINAL_PROMPTNVM_DIRHISTFILESIZEUSERrvm_gemstone_package_filePROMPT_ANDREI_ONLINE_system_typeHOMEBREW_NO_ANALYTICSrvm_pathENVSSH_AUTH_SOCKHOMEBREW_NO_AUTO_UPDATE__CF_USER_TEXT_ENCODINGrvm_proxyrvm_ruby_filePAGERERL_LIBSLC_TYPELSCOLORSLESS_TERMCAP_usrvm_silent_flagrvm_prefixrvm_ruby_make_WORDCHARSPWDHOMEBREW_GITHUB_API_TOKENEDITORrvm_sdkLANGBRCD_RANONCEITERM_PROFILE_system_archXPC_FLAGS_system_versionGIT_MERGE_AUTOEDITGIT_PS1_HIDE_IF_PWD_IGNOREDGIT_PS1_SHOWUNTRACKEDFILESHISTIGNOREHISTCONTROLXPC_SERVICE_NAMErvm_versionrvm_script_namervm_pretty_print_flagPYENV_SHELLT_AWS_IAM_INC_SH_DIRSHLVLHOMECOLORFGBGrvm_ruby_modeLC_TERMINAL_VERSIONLS_OPTIONSGIT_PS1_SHOWSTASHSTATEBASH_ENVITERM_SESSION_IDLESSLOGNAMErvm_alias_expandedGIT_PS1_SHOWUPSTREAMVISUALGEM_PATHLESS_TERMCAP_soLC_CTYPEPROMPT_ANDREI_BATTERYLESSOPENGOPATHrvm_nightly_flagBROWSERrvm_ruby_make_installPROMPT_EOL_MARKrvm_nicenessLC_TERMINALrvm_ruby_bitsrvm_bin_flagrvm_only_path_flagRUBY_VERSIONSQLITE_EXEMPT_PATH_FROM_VNODE_GUARDS_system_nameHISTFILELESS_TERMCAP_seCOLORTERMPIP_DISABLE_PIP_VERSION_CHECKPYTHONDONTWRITEBYTECODEPIP_SHIMS_BASE_MODULEPIP_PYTHON_PATHPYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
PIPENV_VENV_IN_PROJECT:1
Debug–specific environment variables:
PATH:/usr/local/Cellar/pipenv/2018.11.26/libexec/tools:/Users/andrei/.pyenv/shims:/Users/andrei/.rvm/gems/ruby-2.0.0-p648/bin:/Users/andrei/.rvm/gems/ruby-2.0.0-p648@global/bin:/Users/andrei/.rvm/rubies/ruby-2.0.0-p648/bin:/usr/local/bin:/usr/local/sbin:/Users/andrei/bin:/usr/local/MacGPG2/bin:/usr/local/opt/go/libexec/bin:/Users/andrei/.yarn/bin:/usr/local/opt/perl/bin:/usr/local/opt/unzip/bin:/usr/local/opt/curl/bin:/usr/local/opt/make/libexec/gnubin:/usr/local/opt/gzip/libexec/gnubin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/gnu-which/libexec/gnubin:/usr/local/opt/gnu-time/libexec/gnubin:/usr/local/opt/gnu-tar/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin:/usr/texbin:/usr/bin:/bin:/usr/sbin:/sbin:./node_modules/.bin:/Users/andrei/node_modules/.bin:/Users/andrei/bin/git:/Users/andrei/bin/ansiweather.git:/Users/andrei/bin/git-extra.git:/Users/andrei/bin/git-fiddle.git:/Users/andrei/bin/git-guilt.git:/Users/andrei/bin/git-number.git:/Users/andrei/bin/git-ssdiff.git:/Users/andrei/bin/git-timeofday.git:/Users/andrei/bin/qc.git:/Users/andrei/bin/showlinenum.git:/Users/andrei/bin/skel-complete.git:/Users/andrei/bin/qc.git/qc:/Users/andrei/bin/git-guilt.git/bin:/usr/local/opt/git/share/git-core/contrib/workdir:/Users/andrei/.rvm/bin:/Users/andrei/.rvm/bin:/Users/andrei/git/firecloud/support-firecloud/binSHELL:/usr/local/bin/zshEDITOR:/usr/local/bin/emacsLANG:en_US.UTF-8PWD:/Users/andrei/git/firecloud/atex-platform/apex/functions/python
Contents of Pipfile ('/Users/andrei/git/firecloud/atex-platform/apex/functions/python/Pipfile'):
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
[requires]
python_version = "3.7"
[dev-packages]
"boto3" = "*"
"flake8" = "*"
[packages]
requests = "*"
Metadata
Metadata
Assignees
Labels
Type: Bug 🐛This issue is a bug.This issue is a bug.