2018.11.14 (2018-11-14)
2018.11.14 (2018-11-14)
Features & Improvements
- Improved exceptions and error handling on
failures. #1977 - Added persistent settings for all CLI flags via
PIPENV_{FLAG_NAME}
environment variables by enablingauto_envvar_prefix=PIPENV
in
click (implements PEEP-0002). #2200 - Added improved messaging about available but skipped updates due to
dependency conflicts when running
pipenv update --outdated
. #2411 - Added environment variable
PIPENV_PYUP_API_KEY
to add ability to
override the bundled pyup.io API key. #2825 - Added additional output to
pipenv update --outdated
to indicate
that the operation succeded and all packages were already up to
date. #2828 - Updated
crayons
patch to enable colors on native powershell but
swap native blue for magenta. #3020 - Added support for
--bare
topipenv clean
, and fixed
pipenv sync --bare
to actually reduce output. #3041 - Added windows-compatible spinner via upgraded
vistir
dependency. #3089 - Added support for python installations managed by
asdf
. #3096 - Improved runtime performance of no-op commands such as
pipenv --venv
by around 2/3. #3158 - Do not show error but success for running
pipenv uninstall --all
in a fresh virtual environment. #3170 - Improved asynchronous installation and error handling via queued
subprocess paralleization. #3217
Bug Fixes
- Remote non-PyPI artifacts and local wheels and artifacts will now
include their own hashes rather than including hashes from
PyPI
. #2394 - Non-ascii characters will now be handled correctly when parsed by
pipenv'sToML
parsers. #2737 - Updated
pipenv uninstall
to respect the--skip-lock
argument. #2848 - Fixed a bug which caused uninstallation to sometimes fail to
successfullly remove packages fromPipfiles
with comments on
preceding or following
lines. #2885, #3099 - Pipenv will no longer fail when encountering python versions on
Windows that have been
uninstalled. #2983 - Fixed unnecessary extras are added when translating
markers. #3026 - Fixed a virtualenv creation issue which could cause new virtualenvs
to inadvertently attempt to read and write to global site
packages. #3047 - Fixed an issue with virtualenv path derivation which could cause
errors, particularly for users on WSL bash. #3055 - Fixed a bug which caused
Unexpected EOF
errors to be thrown when
pip
was waiting for input from users who had put login credentials
in environment variables. #3088 - Fixed a bug in
requirementslib
which prevented successful
installation from mercurial repositories. #3090 - Fixed random resource warnings when using pyenv or any other
subprocess calls. #3094 -
- Fixed a bug which sometimes prevented cloning and parsing
mercurial
requirements. #3096
- Fixed a bug which sometimes prevented cloning and parsing
- Fixed an issue in
delegator.py
related to subprocess calls when
usingPopenSpawn
to stream output, which sometimes threw
unexpectedEOF
errors. #3102, #3114, #3117 - Fix the path casing issue that makes pipenv clean fail on
Windows. #3104 - Pipenv will avoid leaving build artifacts in the current working
directory. #3106 - Fixed issues with broken subprocess calls leaking resource handles
and causing random and sporadic
failures. #3109 - Fixed an issue which caused
pipenv clean
to sometimes clean
packages from the basesite-packages
folder or fail
entirely. #3113 - Updated
pythonfinder
to correct an issue with unnesting of nested
paths when searching for python
versions. #3121 - Added additional logic for ignoring and replacing non-ascii
characters when formatting console output on non-UTF-8
systems. #3131 - Fix virtual environment discovery when PIPENV_VENV_IN_PROJECT is
set, but the in-project .venv is a
file. #3134 - Hashes for remote and local non-PyPI artifacts will now be included
inPipfile.lock
during
resolution. #3145 - Fix project path hashing logic in purpose to prevent collisions of
virtual
environments. #3151 - Fix package installation when the virtual environment path contains
parentheses. #3158 - Azure Pipelines YAML files are updated to use the latest syntax and
product name. #3164 - Fixed new spinner success message to write only one success message
during
resolution. #3183 - Pipenv will now correctly respect the
--pre
option when used with
pipenv install
. #3185 - Fix a bug where exception is raised when run pipenv graph in a
project without created
virtualenv. #3201 - When sources are missing names, names will now be derived from the
supplied URL. #3216
Vendored Libraries
-
Updated
pythonfinder
to correct an issue with unnesting of nested
paths when searching for python
versions. #3061, #3121 -
Updated vendored dependencies:
certifi 2018.08.24 => 2018.10.15
urllib3 1.23 => 1.24
requests 2.19.1 => 2.20.0
shellingham 1.2.6 => 1.2.7
tomlkit 0.4.4. => 0.4.6
vistir 0.1.6 => 0.1.8
pythonfinder 0.1.2 => 0.1.3
requirementslib 1.1.9 => 1.1.10
backports.functools_lru_cache 1.5.0 (new)
cursor 1.2.0 (new)
#3089
-
Updated vendored dependencies:
requests 2.19.1 => 2.20.1
tomlkit 0.4.46 => 0.5.2
vistir 0.1.6 => 0.2.4
pythonfinder 1.1.2 => 1.1.8
requirementslib 1.1.10 => 1.3.0
#3096
-
Switch to
tomlkit
for parsing and writing. Dropprettytoml
and
contoml
from
vendors. #3191 -
Updated
requirementslib
to aid in resolution of local and remote
archives. #3196
Improved Documentation
- Expanded development and testing documentation for contributors to
get started. #3074