Skip to content

Commit

Permalink
prettytoml: Catch StopIteration in AbstractTable._enumerate_items
Browse files Browse the repository at this point in the history
This makes PEP 479 enabled Pythons (such as 3.7) work again.

Otherwise you get:

    RuntimeError: generator raised StopIteration

Fixes #2426
  • Loading branch information
hroncok committed Jun 26, 2018
1 parent 04b709f commit 5e9d070
Show file tree
Hide file tree
Showing 82 changed files with 69 additions and 4,975 deletions.
1 change: 1 addition & 0 deletions news/2426.vendor
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add patch to ``prettytoml`` to support Python 3.7.
22 changes: 0 additions & 22 deletions pipenv/patched/contoml/LICENSE

This file was deleted.

20 changes: 0 additions & 20 deletions pipenv/patched/notpip/LICENSE.txt

This file was deleted.

7 changes: 5 additions & 2 deletions pipenv/patched/notpip/_internal/pep425tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
import warnings
from collections import OrderedDict

import pipenv.patched.notpip._internal.utils.glibc
try:
import pipenv.patched.notpip._internal.utils.glibc
except ImportError:
import pipenv.patched.notpip.utils.glibc

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -154,7 +157,7 @@ def is_manylinux1_compatible():
pass

# Check glibc version. CentOS 5 uses glibc 2.5.
return pipenv.patched.notpip._internal.utils.glibc.have_compatible_glibc(2, 5)
return pip._internal.utils.glibc.have_compatible_glibc(2, 5)


def get_darwin_arches(major, minor, machine):
Expand Down
23 changes: 0 additions & 23 deletions pipenv/patched/notpip/_vendor/appdirs.LICENSE.txt

This file was deleted.

15 changes: 0 additions & 15 deletions pipenv/patched/notpip/_vendor/cachecontrol/LICENSE.txt

This file was deleted.

21 changes: 0 additions & 21 deletions pipenv/patched/notpip/_vendor/certifi/LICENSE

This file was deleted.

Loading

0 comments on commit 5e9d070

Please sign in to comment.