diff --git a/doc/whatsnew/fragments/7841.internal b/doc/whatsnew/fragments/7841.internal new file mode 100644 index 0000000000..c0f422bf98 --- /dev/null +++ b/doc/whatsnew/fragments/7841.internal @@ -0,0 +1,4 @@ +There is now an upper limit on the version accepted by pylint for all the dependencies. +This is done in order to prevent breakage if a dependency introduce a breaking change in the future. + +Refs #7841 diff --git a/pyproject.toml b/pyproject.toml index 88733b5e3d..ee1ab0aaf1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,19 +33,19 @@ classifiers = [ ] requires-python = ">=3.7.2" dependencies = [ - "dill>=0.2;python_version<'3.11'", - "dill>=0.3.6;python_version>='3.11'", + "dill>=0.2,<1;python_version<'3.11'", + "dill>=0.3.6,<1;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, # see https://github.com/PyCQA/astroid/issues/1341 "astroid>=2.12.13,<=2.14.0-dev0", "isort>=4.2.5,<6", - "mccabe>=0.6,<0.8", - "tomli>=1.1.0;python_version<'3.11'", - "tomlkit>=0.10.1", - "colorama>=0.4.5;sys_platform=='win32'", - "typing-extensions>=3.10.0;python_version<'3.10'", + "mccabe>=0.6,<1", + "tomli>=1.1.0,<3;python_version<'3.11'", + "tomlkit>=0.10.1,<1", + "colorama>=0.4.5,<1;sys_platform=='win32'", + "typing-extensions>=3.10.0,<5;python_version<'3.10'", ] dynamic = ["version"]