diff --git a/pkgs/development/python-modules/scrapy/default.nix b/pkgs/development/python-modules/scrapy/default.nix index 3571a783af8d..4ac91771a473 100644 --- a/pkgs/development/python-modules/scrapy/default.nix +++ b/pkgs/development/python-modules/scrapy/default.nix @@ -95,6 +95,7 @@ buildPythonPackage rec { "test_nested_css" "test_nested_xpath" "test_flavor_detection" + "test_follow_whitespace" # Requires network access "AnonymousFTPTestCase" "FTPFeedStorageTest" diff --git a/pkgs/development/python-modules/w3lib/default.nix b/pkgs/development/python-modules/w3lib/default.nix index 9c98f4d0926c..ea878ac4890e 100644 --- a/pkgs/development/python-modules/w3lib/default.nix +++ b/pkgs/development/python-modules/w3lib/default.nix @@ -1,31 +1,38 @@ { lib , buildPythonPackage , fetchPypi -, six , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "w3lib"; - version = "2.0.1"; + version = "2.1.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-E98V+MF7Fj3g/V+qiSwa0UPhkN/L25hTS7l16zfGx9Y="; + hash = "sha256-DhGY8bdFGVtrPdGkzWYBH7+C8wpNnauu4fnlyG8CAnQ="; }; - propagatedBuildInputs = [ six ]; + checkInputs = [ + pytestCheckHook + ]; - checkInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ "w3lib" ]; + pythonImportsCheck = [ + "w3lib" + ]; disabledTests = [ "test_add_or_replace_parameter" ]; meta = with lib; { - description = "A library of web-related functions"; + description = "Library of web-related functions"; homepage = "https://github.com/scrapy/w3lib"; + changelog = "https://github.com/scrapy/w3lib/blob/v${version}/NEWS"; license = licenses.bsd3; maintainers = with maintainers; [ ]; };