diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-25 02:55:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-25 02:55:08 +0100 |
commit | aeb34c47a1042b074096bacb85205617c8a14d3a (patch) | |
tree | 905475b28fd25bd6ffbf92d7c1a0100c0474a780 /dev-python/jmespath/files | |
parent | fc879856a16ea66528a11a00cf6ee19891f3d186 (diff) |
gentoo auto-resync : 25:07:2022 - 02:55:08
Diffstat (limited to 'dev-python/jmespath/files')
-rw-r--r-- | dev-python/jmespath/files/jmespath-1.0.0-py311.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-python/jmespath/files/jmespath-1.0.0-py311.patch b/dev-python/jmespath/files/jmespath-1.0.0-py311.patch deleted file mode 100644 index 90c7bef9beee..000000000000 --- a/dev-python/jmespath/files/jmespath-1.0.0-py311.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 325d8111a924a951d8778c9fc1dbce30be267435 Mon Sep 17 00:00:00 2001 -From: Karthikeyan Singaravelan <tir.karthi@gmail.com> -Date: Wed, 10 Mar 2021 14:15:36 +0000 -Subject: [PATCH] Use list for random.sample since using a set has been - deprecated since Python 3.9 - ---- - jmespath/parser.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/jmespath/parser.py b/jmespath/parser.py -index eeac38f..4706688 100644 ---- a/jmespath/parser.py -+++ b/jmespath/parser.py -@@ -489,7 +489,7 @@ class Parser(object): - lex_position, actual_value, actual_type, message) - - def _free_cache_entries(self): -- for key in random.sample(self._CACHE.keys(), int(self._MAX_SIZE / 2)): -+ for key in random.sample(list(self._CACHE.keys()), int(self._MAX_SIZE / 2)): - self._CACHE.pop(key, None) - - @classmethod --- -2.35.1 - |