aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-02-25 23:25:57 -0500
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-03-01 14:40:07 -0500
commit31348a14afdb1d39e7faf9576eaddea1ced76e19 (patch)
tree188b0ddc1472343ec39257af3be0b55a6b135a7d
parentf7622a9c8d5ad88c199e4151d50510285b6c7aeb (diff)
downloadb4-31348a14afdb1d39e7faf9576eaddea1ced76e19.tar.gz
Loosen compatible release identifiers for install_requires
The install_requires entries use a compatible release operator. As an example, "requests~=2.24.0" maps to a requirement of ">= 2.24.0 and == 2.24.*". With the current version of requests (2.25.1), this leads to a ContextualVersionConflict failure at runtime. Allowing only Z to tick in version X.Y.Z seems unnecessarily strict unless there are known problems with a particular release, and it makes it more difficult for distributions to package b4. Drop the trailing digit from all of the version identifiers, allowing both Y and Z to increase. Signed-off-by: Kyle Meyer <kyle@kyleam.com> Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 358e6a7..a21ec76 100644
--- a/setup.py
+++ b/setup.py
@@ -41,9 +41,9 @@ setup(
data_files = [('share/man/man5', ['man/b4.5'])],
keywords=['git', 'lore.kernel.org', 'patches'],
install_requires=[
- 'requests~=2.24.0',
- 'dkimpy~=1.0.5',
- 'dnspython~=2.0.0',
+ 'requests~=2.24',
+ 'dkimpy~=1.0',
+ 'dnspython~=2.0',
],
python_requires='>=3.6',
entry_points={