diff --git a/HISTORY.txt b/HISTORY.txt index b5dadac0..618e3e20 100644 --- a/HISTORY.txt +++ b/HISTORY.txt @@ -1,4 +1,4 @@ -unreleased: +3.3.5: - Disable spinner by setting PIPENV_NOSPIN=1 environment variable. 3.3.4: - Fix PIPENV_VENV_IN_PROJECT mode. diff --git a/pipenv/__version__.py b/pipenv/__version__.py index f62293dc..f908fb73 100644 --- a/pipenv/__version__.py +++ b/pipenv/__version__.py @@ -3,4 +3,4 @@ # //___/ / / / //___/ / // // / / || / / # // / / // ((____ // / / ||/ / -__version__ = '3.3.4' +__version__ = '3.3.5' diff --git a/pipenv/cli.py b/pipenv/cli.py index 56e4d5fc..3bf4c291 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +import contextlib import codecs import json import os @@ -49,9 +50,8 @@ click_completion.init() if PIPENV_COLORBLIND: crayons.disable() -# Disable spinner, for cleaner build logs. +# Disable spinner, for cleaner build logs (the unworthy). if PIPENV_NOSPIN: - import contextlib @contextlib.contextmanager def spinner(): yield diff --git a/pipenv/environments.py b/pipenv/environments.py index f8924eb1..82b686da 100644 --- a/pipenv/environments.py +++ b/pipenv/environments.py @@ -15,13 +15,13 @@ PIPENV_VENV_IN_PROJECT = os.environ.get('PIPENV_VENV_IN_PROJECT') # No color mode, for unfun people. PIPENV_COLORBLIND = os.environ.get('PIPENV_COLORBLIND') -# Disable spinner for better test and deploy logs. +# Disable spinner for better test and deploy logs (for the unworthy). PIPENV_NOSPIN = os.environ.get('PIPENV_NOSPIN') # User-configuraable max-depth for Pipfile searching. -# Note: +1 because of a bug in Pipenv. +# Note: +1 because of a temporary bug in Pipenv. PIPENV_MAX_DEPTH = int(os.environ.get('PIPENV_MAX_DEPTH', '3')) + 1 # Use shell compatibility mode when using venv in project mode. if PIPENV_VENV_IN_PROJECT: - PIPENV_SHELL_COMPAT = True \ No newline at end of file + PIPENV_SHELL_COMPAT = True