Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,INCLUDES_PATCH,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D86FAC433B4 for ; Mon, 3 May 2021 21:15:00 +0000 (UTC) Received: by mail.kernel.org (Postfix) id B9B4761104; Mon, 3 May 2021 21:15:00 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 7BB9F61176 for ; Mon, 3 May 2021 21:15:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620076500; bh=/HMrLI5I6v311nnRo7zhDZx3IV1sr+3HR47kmRjSlk4=; h=From:List-Id:To:Subject:Date:In-Reply-To:References:From; b=TO8D1LpTA8REBPIwU+53QqzMZjLHlcdPuX7J7BKUvYrfXxPhHcL4aWtgJfPhu/2sT 17mRdQZCYquSfNgd6mUbBj435rZYMIOyxiZpUajCRaYnZlc4EzIuWIZl/olMVmdgfQ DR3BH8knFXG3g0uwhhoPaiDYaHoywqjs7OG4gNzo= From: Konstantin Ryabitsev List-Id: To: signatures@kernel.org Subject: [PATCH 2/2] Loosen compatible release identifiers for install_requires Date: Mon, 3 May 2021 17:14:58 -0400 Message-Id: <20210503211458.135773-2-konstantin@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210503211458.135773-1-konstantin@linuxfoundation.org> References: <20210503211458.135773-1-konstantin@linuxfoundation.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; i=konstantin@linuxfoundation.org; h=from:subject; l=1255; bh=JuXOzYrslPRPqOGLA5Inup7FYrNl9E5+FcL9qi9JT1U=; b=owGbwMvMwCG27YjM47CUmTmMp9WSGBImpG3xz2++wh//3//3uTt3F0dNXMOu7si1Lzv2YljfiylZ pWJcHaUsDGIcDLJiiixl+2I3BRU+9JBL7zGFmcPKBDKEgYtTACayZSEjQ7tCRV+L6uTmNene1fzCb4 L1PEUyubcbHeHMPJFY8SPFmOEPhzL/kW2aD97/zqirnexpGMLvXxG9o2RZ68S65ZvD5rNwAAA= Content-Transfer-Encoding: quoted-printable From: Kyle Meyer =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 =0D Signed-off-by: Konstantin Ryabitsev =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