[PATCH 2/2] Loosen compatible release identifiers for install_requires
Konstantin Ryabitsev <[email protected]> Mon, 3 May 2021 17:14:58 -0400
| Newsgroups | org.kernel.lore.signatures |
|---|---|
| Message-ID | <[email protected]> |
From: Kyle Meyer <[email protected]>=0D The install_requires entries use a compatible release operator. As an=0D example, "requests~=3D2.24.0" maps to a requirement of ">=3D 2.24.0 and =3D= =3D=0D 2.24.*". With the current version of requests (2.25.1), this leads to=0D a ContextualVersionConflict failure at runtime.=0D =0D Allowing only Z to tick in version X.Y.Z seems unnecessarily strict=0D unless there are known problems with a particular release, and it=0D makes it more difficult for distributions to package b4. Drop the=0D trailing digit from all of the version identifiers, allowing both Y=0D and Z to increase.=0D =0D Signed-off-by: Kyle Meyer <[email protected]>=0D Signed-off-by: Konstantin Ryabitsev <[email protected]>=0D ---=0D setup.py | 6 +++---=0D 1 file changed, 3 insertions(+), 3 deletions(-)=0D =0D diff --git a/setup.py b/setup.py=0D index 358e6a7..a21ec76 100644=0D --- a/setup.py=0D +++ b/setup.py=0D @@ -41,9 +41,9 @@ setup(=0D data_files =3D [('share/man/man5', ['man/b4.5'])],=0D keywords=3D['git', 'lore.kernel.org', 'patches'],=0D install_requires=3D[=0D - 'requests~=3D2.24.0',=0D - 'dkimpy~=3D1.0.5',=0D - 'dnspython~=3D2.0.0',=0D + 'requests~=3D2.24',=0D + 'dkimpy~=3D1.0',=0D + 'dnspython~=3D2.0',=0D ],=0D python_requires=3D'>=3D3.6',=0D entry_points=3D{=0D -- =0D 2.30.2=0D =0D