[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/12: gnu: python-scrapy: Update to 2.10.1.
From: |
guix-commits |
Subject: |
07/12: gnu: python-scrapy: Update to 2.10.1. |
Date: |
Sat, 2 Sep 2023 10:22:47 -0400 (EDT) |
monego pushed a commit to branch master
in repository guix.
commit f3bbd0d26ff43c4b51d4b804655f7fe56d503427
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sun Aug 6 11:50:51 2023 -0300
gnu: python-scrapy: Update to 2.10.1.
* gnu/packages/python-web.scm (python-scrapy): Update to 2.10.1.
[build-system]: Use pyproject-build-system.
[arguments]: Use G-Expressions. Do not override the check phase, skip tests
in #:test-flags instead. Run tests sequentially and skip fewer tests.
---
gnu/packages/python-web.scm | 41 +++++++++++++++++------------------------
1 file changed, 17 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2da3012173..93fd2d2278 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8065,36 +8065,29 @@ regular expressions.")
(define-public python-scrapy
(package
(name "python-scrapy")
- (version "2.7.1")
+ (version "2.10.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Scrapy" version))
(sha256
- (base32 "0kpi3hg2ycs6s8cg41r2zc1axd0rpnps8bnzg7wisjyjaf1l1yih"))))
- (build-system python-build-system)
+ (base32 "03yil4hjn14amx5jnvjfahmm78qqax2664z30xxn0dxmzdspimli"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest"
- "-n" (number->string (parallel-job-count))
- ;; These tests fail when run in parallel (see:
- ;; https://github.com/scrapy/scrapy/issues/5502).
- "--ignore" "tests/test_engine.py"
- "--ignore" "tests/test_engine_stop_download_bytes.py"
- "--ignore" "tests/test_engine_stop_download_headers.py"
- ;; This test require network access.
- "--ignore" "tests/test_command_check.py"
- "-k"
- (string-append
- ;; The followin tests fail for unknown reasons.
- "not
test_server_set_cookie_domain_suffix_public_private"
- " and not
test_user_set_cookie_domain_suffix_public_private"
- " and not test_pformat")
- "tests")))))))
+ (list #:test-flags
+ ;; Tests fail with DNS lookup or need a display.
+ #~(list "-k" (string-append
+ "not " (string-join
+ (list "test_SCRAPY_CHECK_set"
+ "test_check_all_default_contracts"
+ "test_check_cb_kwargs_contract"
+ "test_check_returns_items_contract"
+ "test_check_returns_requests_contract"
+ "test_check_scrapes_contract"
+ "test_pformat"
+ "test_pformat_old_windows"
+ "test_pformat_windows")
+ " and not ")))))
(propagated-inputs
(list python-botocore ; Optional: For S3FeedStorage class.
python-cryptography
- branch master updated (2890114a70 -> cee17521ec), guix-commits, 2023/09/02
- 03/12: gnu: python-cssselect: Update to 1.2.0., guix-commits, 2023/09/02
- 02/12: gnu: python-w3lib: Update to 2.1.2., guix-commits, 2023/09/02
- 06/12: gnu: python-itemloaders: Update to 1.1.0., guix-commits, 2023/09/02
- 11/12: gnu: python-deepxde: Update to 1.9.3., guix-commits, 2023/09/02
- 07/12: gnu: python-scrapy: Update to 2.10.1.,
guix-commits <=
- 05/12: gnu: python-itemadapter: Update to 0.8.0., guix-commits, 2023/09/02
- 12/12: gnu: python-pymc: Update to 5.7.2., guix-commits, 2023/09/02
- 04/12: gnu: python-parsel: Update to 1.8.1., guix-commits, 2023/09/02
- 01/12: gnu: shotcut: Update to 23.07.29., guix-commits, 2023/09/02
- 08/12: gnu: libngspice: Update to 41., guix-commits, 2023/09/02
- 10/12: gnu: freecad: Update to 0.21.1., guix-commits, 2023/09/02
- 09/12: gnu: mixxx: Update to 2.3.6., guix-commits, 2023/09/02