From 85c6a9d6b82e6eb9618fa46a12db77af94738b51 Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Sat, 10 Dec 2022 17:17:28 -0500 Subject: [PATCH 1/3] fix: bump dill to >= 0.3.6, prevents tests hanging with python3.11 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0dadcf6c3d..45a054d815 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ classifiers = [ ] requires-python = ">=3.7.2" dependencies = [ - "dill>=0.2", + "dill>=0.3.6", "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, From e7a21c1b2cbdfe0e1e4758be5a1f11043cdd040b Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 11 Dec 2022 12:24:22 +0100 Subject: [PATCH 2/3] Update pyproject.toml --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 45a054d815..88733b5e3d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,8 @@ classifiers = [ ] requires-python = ">=3.7.2" dependencies = [ - "dill>=0.3.6", + "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, From ef165e71a17cd50b3714d0d1ab08d89608461b63 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 11 Dec 2022 12:26:27 +0100 Subject: [PATCH 3/3] Also fix flake8 for venv we need to regenerate in python 3.7 --- requirements_test_pre_commit.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index c5d1fcb921..6990965e84 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.10.0 -flake8==6.0.0 +flake8>=5.0.0 flake8-bugbear==22.10.27 flake8-typing-imports==1.14.0 isort==5.10.1