diff --git a/pyproject.toml b/pyproject.toml index 90153e9de0..29551fda0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,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,