From f74ef9f98a726b718259c51396c0cde796dd0e44 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Jun 2022 00:20:46 +0200 Subject: [PATCH] python310Packages.wheel-inspect: relax entry-points-txt constraint --- pkgs/development/python-modules/wheel-inspect/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/wheel-inspect/default.nix b/pkgs/development/python-modules/wheel-inspect/default.nix index 9c55dce7a353..438084e6c058 100644 --- a/pkgs/development/python-modules/wheel-inspect/default.nix +++ b/pkgs/development/python-modules/wheel-inspect/default.nix @@ -43,12 +43,19 @@ buildPythonPackage rec { postPatch = '' substituteInPlace tox.ini \ --replace " --cov=wheel_inspect --no-cov-on-fail" "" + substituteInPlace setup.cfg \ + --replace "entry-points-txt ~= 0.1.0" "entry-points-txt >= 0.1.0" ''; pythonImportsCheck = [ "wheel_inspect" ]; + pytestFlagsArray = [ + "-W" + "ignore::DeprecationWarning" + ]; + meta = with lib; { description = "Extract information from wheels"; homepage = "https://github.com/jwodder/wheel-inspect";