From 23d4694bbc06dbb568e9537f9586e322c9a00f19 Mon Sep 17 00:00:00 2001 From: Sergey Korolev Date: Wed, 17 Aug 2022 11:39:48 +0300 Subject: [PATCH] fix: workaround python bug in setup.py --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index b203ab8..b1bc3b9 100644 --- a/setup.py +++ b/setup.py @@ -19,6 +19,9 @@ class CustomInstall(install): """Custom install""" def run(self): + # workaround https://github.com/python/cpython/issues/86813 + from concurrent.futures import ThreadPoolExecutor # noqa: F401 + def _post_install(): from yascheduler.variables import CONFIG_FILE