From af15cfb5b371f2bf9844f41405b6ee4f81bfea04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Fri, 1 Jul 2022 15:34:10 -0500 Subject: [PATCH 1/3] =?UTF-8?q?mypy:=200.941=20=E2=86=92=200.961?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/python-modules/mypy/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/mypy/default.nix b/pkgs/development/python-modules/mypy/default.nix index 937c95871724..7d2df7e316ba 100644 --- a/pkgs/development/python-modules/mypy/default.nix +++ b/pkgs/development/python-modules/mypy/default.nix @@ -14,22 +14,22 @@ buildPythonPackage rec { pname = "mypy"; - version = "0.941"; + version = "0.961"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "python"; repo = "mypy"; rev = "v${version}"; - hash = "sha256-H2SWJA0WWyKV7/5miFawv4JRXu/J7H6Wer1eBL+Tru0="; + hash = "sha256-K6p73+/SeWniMSD/mP09qwqFOBr/Pqohl+PaTDVpvZI="; }; patches = [ # FIXME: Remove patch after upstream has decided the proper solution. # https://github.com/python/mypy/pull/11143 (fetchpatch { - url = "https://github.com/python/mypy/commit/e7869f05751561958b946b562093397027f6d5fa.patch"; - hash = "sha256-waIZ+m3tfvYE4HJ8kL6rN/C4fMjvLEe9UoPbt9mHWIM="; + url = "https://github.com/python/mypy/commit/2004ae023b9d3628d9f09886cbbc20868aee8554.patch"; + hash = "sha256-y+tXvgyiECO5+66YLvaje8Bz5iPvfWNIBJcsnZ2nOdI="; }) ]; From 002e147b103041e8ac2a0785a8232796f6451714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Tue, 5 Jul 2022 17:37:22 -0500 Subject: [PATCH 2/3] =?UTF-8?q?python3Packages.python-utils:=203.1.0=20?= =?UTF-8?q?=E2=86=92=203.3.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/python-modules/python-utils/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-utils/default.nix b/pkgs/development/python-modules/python-utils/default.nix index 3a47e107df6e..3fb825df95bc 100644 --- a/pkgs/development/python-modules/python-utils/default.nix +++ b/pkgs/development/python-modules/python-utils/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, loguru , pytestCheckHook , six , pytest-mypy @@ -8,14 +9,13 @@ buildPythonPackage rec { pname = "python-utils"; - version = "3.1.0"; + version = "3.3.3"; src = fetchFromGitHub { owner = "WoLpH"; repo = pname; rev = "v${version}"; - sha256 = "sha256-+NgcVIDM9f2OKBpJNWlSyFxEONltPWJSWIu400/5RkQ= -"; + hash = "sha256-U6yamXbG8CUrNnFmGTBpHUelZSgoaNyB2CdUSH9WdMA="; }; # disable coverage and linting @@ -25,6 +25,7 @@ buildPythonPackage rec { ''; propagatedBuildInputs = [ + loguru six ]; From d47f646d16e5db553b6a30a218dbf0337ab23c42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Tue, 5 Jul 2022 17:38:05 -0500 Subject: [PATCH 3/3] python3Packages.progressbar2: re-enable check since the issue was solved upstream --- pkgs/development/python-modules/progressbar2/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/development/python-modules/progressbar2/default.nix b/pkgs/development/python-modules/progressbar2/default.nix index 3f4f49d4299e..9b159846f100 100644 --- a/pkgs/development/python-modules/progressbar2/default.nix +++ b/pkgs/development/python-modules/progressbar2/default.nix @@ -16,10 +16,6 @@ buildPythonPackage rec { propagatedBuildInputs = [ python-utils ]; - # depends on unmaintained pytest-pep8 - # https://github.com/WoLpH/python-progressbar/issues/241 - doCheck = false; - pythonImportsCheck = [ "progressbar" ]; meta = with lib; {