Skip to content

Commit 88b2792

Browse files
authored
Restrict click to 8.3, as per their stable API guidance (#309)
* Allow click 8.3.x series, excluding 8.3.0 Click 8.3.0 broke spin because Sentinel objects are now passed instead of defaults in some instances: pallets/click#3065 8.3.1 will include two workarounds: pallets/click#3065 (comment) I suspect pallets/click#3068 will address our problem. * Restrict click version on 3.10
1 parent df3886c commit 88b2792

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ classifiers = [
2323
"Programming Language :: Python :: 3 :: Only",
2424
]
2525
dependencies = [
26-
"click>=8,<8.3",
26+
"click>=8,<=8.2; python_version == '3.10'", # cannot deepcopy cmd params (specifically, Sentinel.UNSET) on 3.10
27+
"click>=8,!=8.3.0,<8.4",
2728
"tomli; python_version < '3.11'",
2829
"colorama; platform_system == 'Windows'",
2930
"importlib_metadata >= 7"

0 commit comments

Comments
 (0)