summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2024-04-18 20:02:16 -0500
committerGitHub <noreply@github.com>2024-04-18 20:02:16 -0500
commit9881acaee4f44b907d092efd5279c9ddb8be681c (patch)
tree6694aeef2815cc16816a3dd8829f1a01b8e5ce32
parentd35ec1c2684f181b273ed12327d49700c45f5c2d (diff)
parent269218ecffa87b3263784f7395a9eb66d4d32595 (diff)
Merge pull request #305069 from r-ryantm/auto-update/python312Packages.itemloaders
python312Packages.itemloaders: 1.1.0 -> 1.2.0
-rw-r--r--pkgs/development/python-modules/itemloaders/default.nix23
1 files changed, 11 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/itemloaders/default.nix b/pkgs/development/python-modules/itemloaders/default.nix
index d0fa322791d1..73957e6b0aea 100644
--- a/pkgs/development/python-modules/itemloaders/default.nix
+++ b/pkgs/development/python-modules/itemloaders/default.nix
@@ -2,6 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
+, setuptools
, w3lib
, parsel
, jmespath
@@ -11,18 +12,22 @@
buildPythonPackage rec {
pname = "itemloaders";
- version = "1.1.0";
- format = "setuptools";
+ version = "1.2.0";
+ pyproject = true;
- disabled = pythonOlder "3.6";
+ disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "scrapy";
- repo = pname;
+ repo = "itemloaders";
rev = "refs/tags/v${version}";
- hash = "sha256-jwxxKfr/SI1yfjSQbYqggWxBwusBZNYySHwZXHftgFs=";
+ hash = "sha256-DatHJnAIomVoN/GrDzM2fNnFHcXqo6zs3ucKCOCf9DU=";
};
+ nativeBuildInputs = [
+ setuptools
+ ];
+
propagatedBuildInputs = [
w3lib
parsel
@@ -34,18 +39,12 @@ buildPythonPackage rec {
pytestCheckHook
];
- disabledTests = [
- # Test are failing (AssertionError: Lists differ: ...)
- "test_nested_css"
- "test_nested_xpath"
- ];
-
pythonImportsCheck = [
"itemloaders"
];
meta = with lib; {
- description = "Base library for scrapy's ItemLoader";
+ description = "Library to populate items using XPath and CSS with a convenient API";
homepage = "https://github.com/scrapy/itemloaders";
changelog = "https://github.com/scrapy/itemloaders/raw/v${version}/docs/release-notes.rst";
license = licenses.bsd3;