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

Merge pull request #324644 from fabaff/playwrightcapture-bump

python312Packages.playwrightcapture: 1.24.11 -> 1.25.0, python312Packages.w3lib: 2.1.2 -> 2.2.1
parents 44a4f49a 3200f9fb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@

buildPythonPackage rec {
  pname = "lacuscore";
  version = "1.9.6";
  version = "1.10.0";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
    owner = "ail-project";
    repo = "LacusCore";
    rev = "refs/tags/v${version}";
    hash = "sha256-SCObCYcZ+aDzWOkE5tzkKMkgAP/h7HDNyHXMFmYjiHQ=";
    hash = "sha256-hbMMKV/LJSfCgl293Tm4kkpwoYYpgydV/reri9ONj+4=";
  };

  pythonRelaxDeps = [
+5 −6
Original line number Diff line number Diff line
@@ -9,13 +9,14 @@
  psutil,
  pytestCheckHook,
  pythonOlder,
  setuptools,
  w3lib,
}:

buildPythonPackage rec {
  pname = "parsel";
  version = "1.9.1";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.7";

@@ -24,12 +25,9 @@ buildPythonPackage rec {
    hash = "sha256-FOANwHcxyQMNtiDBlfyuiEtbSEjp+cUjxhGfcIzPqaw=";
  };

  postPatch = ''
    substituteInPlace setup.py \
      --replace '"pytest-runner",' ""
  '';
  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    cssselect
    jmespath
    lxml
@@ -47,6 +45,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python library to extract data from HTML and XML using XPath and CSS selectors";
    homepage = "https://github.com/scrapy/parsel";
    changelog = "https://github.com/scrapy/parsel/blob/v${version}/NEWS";
    license = licenses.bsd3;
    maintainers = with maintainers; [ fab ];
  };
+2 −2
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@

buildPythonPackage rec {
  pname = "playwrightcapture";
  version = "1.24.11";
  version = "1.25.0";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -32,7 +32,7 @@ buildPythonPackage rec {
    owner = "Lookyloo";
    repo = "PlaywrightCapture";
    rev = "refs/tags/v${version}";
    hash = "sha256-aDD+eovq6V7c69ORqekcfmDgTGJqvd2lYMIQ2+9TFYY=";
    hash = "sha256-Sm6FfwUxW3t7gLwWd+ZJPyp0VSMPgGpuT3lrMurWOa0=";
  };

  pythonRelaxDeps = [
+6 −10
Original line number Diff line number Diff line
@@ -3,32 +3,28 @@
  buildPythonPackage,
  fetchPypi,
  pytestCheckHook,
  pythonAtLeast,
  pythonOlder,
  setuptools
}:

buildPythonPackage rec {
  pname = "w3lib";
  version = "2.1.2";
  format = "setuptools";
  version = "2.2.1";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-7Vt06ZfuoqvjwTIfkW40QUTujpBypvM0Y+6OV/hYpLE=";
    hash = "sha256-dW/y2Uxk5ByNfAxZ/qEqXQvFXjOlMceYi0oWPeubB90=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "w3lib" ];

  disabledTests = lib.optionals (pythonAtLeast "3.11") [
    # regressed on Python 3.11.4
    # https://github.com/scrapy/w3lib/issues/212
    "test_safe_url_string_url"
  ];

  meta = with lib; {
    description = "Library of web-related functions";
    homepage = "https://github.com/scrapy/w3lib";