Skip to content

Commit

Permalink
Add an upper limit to all runtime dependencie requirements
Browse files Browse the repository at this point in the history
In order to avoid old releases from becoming unusable if one of our dependencie release a major with breaking changes.
  • Loading branch information
Pierre-Sassoulas committed Dec 18, 2022
1 parent e7d7a1d commit c75c358
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions 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
14 changes: 7 additions & 7 deletions pyproject.toml
Expand Up @@ -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"]

Expand Down

0 comments on commit c75c358

Please sign in to comment.