Unverified Commit f4137f3e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #206871 from fabaff/w3lib-bump

python310Packages.w3lib: 2.0.1 -> 2.1.1 
parents 32f12f50 ffc203e4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -95,6 +95,7 @@ buildPythonPackage rec {
    "test_nested_css"
    "test_nested_xpath"
    "test_flavor_detection"
    "test_follow_whitespace"
    # Requires network access
    "AnonymousFTPTestCase"
    "FTPFeedStorageTest"
+14 −7
Original line number Diff line number Diff line
{ 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; [ ];
  };