From b8df7e4b10bca2d7e478e224502975ec8f220e21 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Thu, 30 Dec 2021 22:17:11 +0100 Subject: [PATCH] Drop upper version bounds on dependencies (GH-2718) They mostly cause unnecessary trouble. Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com> --- CHANGES.md | 4 ++++ setup.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index d5cfb623c9a..cb637d94c11 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -18,6 +18,10 @@ - Unparenthesized tuples on annotated assignments (e.g `values: Tuple[int, ...] = 1, 2, 3`) now implies 3.8+ (#2708) +### Packaging + +- All upper version bounds on dependencies have been removed (#2718) + ## 21.12b0 ### _Black_ diff --git a/setup.py b/setup.py index d314bb283f2..8ff498e4fef 100644 --- a/setup.py +++ b/setup.py @@ -99,9 +99,9 @@ def find_python_files(base: Path) -> List[Path]: install_requires=[ "click>=7.1.2", "platformdirs>=2", - "tomli>=1.1.0,<3.0.0", + "tomli>=1.1.0", "typed-ast>=1.4.2; python_version < '3.8' and implementation_name == 'cpython'", - "pathspec>=0.9.0, <1", + "pathspec>=0.9.0", "dataclasses>=0.6; python_version < '3.7'", "typing_extensions>=3.10.0.0", # 3.10.0.1 is broken on at least Python 3.10,