From b8df7e4b10bca2d7e478e224502975ec8f220e21 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Thu, 30 Dec 2021 22:17:11 +0100 Subject: [PATCH 1/1] 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 d5cfb62..cb637d9 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 d314bb2..8ff498e 100644 --- a/setup.py +++ b/setup.py @@ -99,9 +99,9 @@ setup( 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, -- 2.39.5