From 5a93635a4a220b16b83b859c2c7f4421ce8d05cd Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Wed, 14 Dec 2022 13:43:59 -0500 Subject: [PATCH] fix: bump dill to >= 0.3.6, prevents tests hanging with python3.11 (#7918) Co-authored-by: Pierre Sassoulas --- pyproject.toml | 3 ++- requirements_test_pre_commit.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0dadcf6c3d..88733b5e3d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,8 @@ classifiers = [ ] requires-python = ">=3.7.2" dependencies = [ - "dill>=0.2", + "dill>=0.2;python_version<'3.11'", + "dill>=0.3.6;python_version>='3.11'", "platformdirs>=2.2.0", # Also upgrade requirements_test_min.txt. # Pinned to dev of second minor update to allow editable installs and fix primer issues, diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index a84a5f50ab..7d1daaf13c 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -2,7 +2,7 @@ # in .pre-commit-config.yaml bandit==1.7.4 black==22.12.0 -flake8==6.0.0 +flake8>=5.0.0 flake8-bugbear==22.12.6 flake8-typing-imports==1.14.0 isort==5.10.1