diff --git a/HISTORY.txt b/HISTORY.txt index c4d66c6d..bcb413a9 100644 --- a/HISTORY.txt +++ b/HISTORY.txt @@ -1,3 +1,5 @@ +7.8.5: + - Edge case. 7.8.4: - Flake8 checking with check --style! 7.8.3: diff --git a/pipenv/__version__.py b/pipenv/__version__.py index ba9a0135..e38a202c 100644 --- a/pipenv/__version__.py +++ b/pipenv/__version__.py @@ -3,4 +3,4 @@ # //___/ / / / //___/ / // // / / || / / # // / / // ((____ // / / ||/ / -__version__ = '7.8.4' +__version__ = '7.8.5' diff --git a/pipenv/project.py b/pipenv/project.py index 907194a1..7a16f965 100644 --- a/pipenv/project.py +++ b/pipenv/project.py @@ -208,7 +208,11 @@ class Project(object): data[section][package].update(_data) # We lose comments here, but it's for the best.) - return contoml.loads(toml.dumps(data, preserve=True)) + try: + return contoml.loads(toml.dumps(data, preserve=True)) + except RuntimeError: + return toml.loads(toml.dumps(data, preserve=True)) + else: # Fallback to toml parser, for large files. try: