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 E1AB6C43461 for ; Mon, 3 May 2021 15:37:12 +0000 (UTC) Received: by mail.kernel.org (Postfix) id AD9CD610E6; Mon, 3 May 2021 15:37:12 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 66FBF611AB for ; Mon, 3 May 2021 15:37:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620056232; bh=kp2BW36T0sfFA6WK0/AeKkLRGF+dWWg2uq7q138IaxU=; h=From:List-Id:To:Subject:Date:In-Reply-To:References:From; b=CEBdyBwBUi6KC0E4BUXKEekaOuZhtAAo23xTk7ROix2AWXcN5n4aW5S3rvtw5hN9O SstowtKiFYuVofyCD8mIanwAB29Gtaw9h/+MfkaGpgvdMmHSD7p3InZyE65g8YYbu+ ksDGH+XPEaUQVf3PgVw2BQNWx1UnKbZBLM20qNqY= From: Konstantin Ryabitsev List-Id: To: signatures@kernel.org Subject: [PATCH 3/3] Loosen compatible release identifiers for install_requires Date: Mon, 3 May 2021 11:37:10 -0400 Message-Id: <20210503153710.27283-4-konstantin@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210503153710.27283-1-konstantin@linuxfoundation.org> References: <20210503153710.27283-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=9XIT7Z/fBoLkRDYDLRZZsBz//NkKzFKImB3G8EThCRo=; b=owGbwMvMwCG27YjM47CUmTmMp9WSGBImSPDcMn17koerpelJ0ZpvU56l1vNUJ03ZbfWAf8HPNflq UnN+d5SyMIhxMMiKKbKU7YvdFFT40EMuvccUZg4rE8gQBi5OAZiIFQfDfx8NpWn/Jm2e+3/BXYcqoc cS2U6iPUZuZwtT6qVf3F9ozMHI8KhjwZQHMTP5L/xjs/Y6wbvOUPflE7VDWiaHP4sqZ/Nf5QYA Content-Transfer-Encoding: quoted-printable From: Kyle Meyer =0D The install_requires entries use a compatible release operator. As an example, "requests~=3D2.24.0" maps to a requirement of ">=3D 2.24.0 and =3D= =3D 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 Signed-off-by: Konstantin Ryabitsev --- setup.py | 6 +++--- 1 file 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 =3D [('share/man/man5', ['man/b4.5'])], keywords=3D['git', 'lore.kernel.org', 'patches'], install_requires=3D[ - 'requests~=3D2.24.0', - 'dkimpy~=3D1.0.5', - 'dnspython~=3D2.0.0', + 'requests~=3D2.24', + 'dkimpy~=3D1.0', + 'dnspython~=3D2.0', ], python_requires=3D'>=3D3.6', entry_points=3D{ --=20 2.31.1