From 1abbab63e0ff201d65dab0e7b26f3a05f20c72dd Mon Sep 17 00:00:00 2001 From: Oz N Tiram Date: Mon, 25 Jul 2022 16:59:08 +0200 Subject: [PATCH] Remove patch for tomlkit This seems fixed in version 0.9.1 See here: https://github.com/sdispater/tomlkit/blob/f8099e6d6cb68bd0e7676252d7c379dc4d49b982/tomlkit/items.py#L168 Bump vendored version of tomlkit --- pipenv/vendor/vendor.txt | 2 +- .../patches/vendor/tomlkit-items-fix.patch | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 tasks/vendoring/patches/vendor/tomlkit-items-fix.patch diff --git a/pipenv/vendor/vendor.txt b/pipenv/vendor/vendor.txt index 5d706028..af6a4428 100644 --- a/pipenv/vendor/vendor.txt +++ b/pipenv/vendor/vendor.txt @@ -29,7 +29,7 @@ six==1.16.0 termcolor==1.1.0 toml==0.10.2 tomli==1.1.0 -tomlkit==0.8.0 +tomlkit==0.9.2 urllib3==1.26.6 vistir==0.5.2 wheel==0.36.2 diff --git a/tasks/vendoring/patches/vendor/tomlkit-items-fix.patch b/tasks/vendoring/patches/vendor/tomlkit-items-fix.patch deleted file mode 100644 index 128a1964..00000000 --- a/tasks/vendoring/patches/vendor/tomlkit-items-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/pipenv/vendor/tomlkit/items.py b/pipenv/vendor/tomlkit/items.py -index 6617c522..9e746a8c 100644 ---- a/pipenv/vendor/tomlkit/items.py -+++ b/pipenv/vendor/tomlkit/items.py -@@ -50,7 +50,7 @@ def item(value, _parent=None, _sort_keys=False): - val[k] = item(v, _parent=val, _sort_keys=_sort_keys) - - return val -- elif isinstance(value, list): -+ elif isinstance(value, (tuple, list)): - if value and isinstance(value[0], dict): - a = AoT([]) - else: