Merge pull request #159549 from fabaff/bump-python-socks

python3Packages.python-socks: 2.0.2 -> 2.0.3
This commit is contained in:
Fabian Affolter 2022-02-20 15:38:28 +01:00 committed by GitHub
commit 3022811180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 8 deletions

View File

@ -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='<stdout>' 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";

View File

@ -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 = [