From 715899fbaf90b1cdd5c679862cd2571bfdde9ff4 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Tue, 23 Nov 2021 23:48:14 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20Hotfix=20the=20dependency=20on?= =?UTF-8?q?=20`more-itertools`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `more-itertools` has a bug in their package metadata. They have dropped the testing of Python 3.5 from their CI but forgot to state this in the distribution package metadata. This is why we need these conditionals to work around the problem. Refs: * https://github.com/more-itertools/more-itertools/issues/578 * https://github.com/more-itertools/more-itertools/pull/579 --- setup.cfg | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 188b6c9914..f3f35a19c9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -63,7 +63,15 @@ install_requires = backports.functools_lru_cache; python_version < '3.3' selectors2; python_version< '3.4' six>=1.11.0 - more_itertools>=2.6 + # NOTE: `more-itertools` has a bug in their package metadata. They + # NOTE: have dropped the testing of Python 3.5 from their CI but + # NOTE: forgot to state this in the distribution package metadata. + # NOTE: This is why we need these conditionals below. + # Refs: + # * https://github.com/more-itertools/more-itertools/issues/578 + # * https://github.com/more-itertools/more-itertools/pull/579 + more_itertools >= 2.6, < 8.11.0; python_version < '3.6' + more_itertools >= 2.6; python_version >= '3.6' jaraco.functools [options.extras_require]