Skip to content

Commit 52fbd7e

Browse files
committed
setup: Relax Click version requirement
We were pinning the version of Click we depend on to 7.1. Pinning to a specific version of the package is not ideal, as we would have to keep updating the pinned version to avoid dependency conflicts with newer Python packages that depend on later versions of Click. We depend on some Click features that appeared in 7.1, so we do need at least this version. Later versions of the package should also work for us, so we don't need to specify the requirement so precisely. This commit relaxes the requirement to Click 7.1 or greater and less than 8. This should minimise the potential for dependency conflicts with other packages. Fixes #245
1 parent 6d92773 commit 52fbd7e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

news/245.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Unpin Click version to minimise the potential for dependency conflicts with other packages.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
include_package_data=True,
3838
install_requires=[
3939
"python-dotenv",
40-
"Click==7.1",
40+
"Click>=7.1,<8",
4141
"pdoc3",
4242
"GitPython",
4343
"tqdm",

0 commit comments

Comments
 (0)