diff --git a/pkgs/development/python-modules/enlighten/default.nix b/pkgs/development/python-modules/enlighten/default.nix index 3c786d869155..b6d31ddaf947 100644 --- a/pkgs/development/python-modules/enlighten/default.nix +++ b/pkgs/development/python-modules/enlighten/default.nix @@ -5,28 +5,41 @@ , blessed , prefixed , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "enlighten"; version = "1.10.2"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "7a5b83cd0f4d095e59d80c648ebb5f7ffca0cd8bcf7ae6639828ee1ad000632a"; + hash = "sha256-eluDzQ9NCV5Z2Axkjrtff/ygzYvPeuZjmCjuGtAAYyo="; }; propagatedBuildInputs = [ blessed prefixed ]; - checkInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ "enlighten" ]; - disabledTests = + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "enlighten" + ]; + + disabledTests = [ + # AssertionError: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> is not... + "test_init" + ] ++ lib.optional stdenv.isDarwin [ # https://github.com/Rockhopper-Technologies/enlighten/issues/44 - lib.optional stdenv.isDarwin "test_autorefresh" - ; + "test_autorefresh" + ]; meta = with lib; { description = "Enlighten Progress Bar for Python Console Apps"; diff --git a/pkgs/development/python-modules/python-socks/default.nix b/pkgs/development/python-modules/python-socks/default.nix index 49dc1589ad76..5254a6cbab25 100644 --- a/pkgs/development/python-modules/python-socks/default.nix +++ b/pkgs/development/python-modules/python-socks/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "python-socks"; - version = "2.0.2"; + version = "2.0.3"; format = "setuptools"; disabled = pythonOlder "3.6.1"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "romis2012"; repo = pname; rev = "v${version}"; - sha256 = "1ixhi23x28bg45146p23z26y38rlz445xr0inwgx7avh0rs7vwfx"; + sha256 = "sha256-tVoBon9HF9MTOK+dN9g58fQO706ElNlCeULx//7hPWA="; }; propagatedBuildInputs = [