From: Vinicius Monego <monego@posteo.net>
To: 65114@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#65114] [PATCH 6/6] gnu: python-scrapy: Update to 2.10.0.
Date: Sun, 6 Aug 2023 15:33:17 +0000 [thread overview]
Message-ID: <20230806153317.285639-6-monego@posteo.net> (raw)
In-Reply-To: <20230806153317.285639-1-monego@posteo.net>
* gnu/packages/python-web.scm (python-scrapy): Update to 2.10.0.
[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 | 42 ++++++++++++++++---------------------
1 file changed, 18 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 70a1ab082f..c12740b587 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8065,36 +8065,30 @@ (define-public python-parsel
(define-public python-scrapy
(package
(name "python-scrapy")
- (version "2.7.1")
+ (version "2.10.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Scrapy" version))
(sha256
- (base32 "0kpi3hg2ycs6s8cg41r2zc1axd0rpnps8bnzg7wisjyjaf1l1yih"))))
- (build-system python-build-system)
+ (base32 "0fdf1kx39zy7b0v5gkwwqvm58ww63z5bvm78yjymhfn0r0zs65jf"))))
+ (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 test_SCRAPY_CHECK_set"
+ " and not "
+ (string-join
+ (list "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
--
2.34.1
next prev parent reply other threads:[~2023-08-06 15:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-06 15:31 [bug#65114] [PATCH 0/6] Update Scrapy Vinicius Monego
2023-08-06 15:33 ` [bug#65114] [PATCH 1/6] gnu: python-w3lib: Update to 2.1.2 Vinicius Monego
2023-08-06 15:33 ` [bug#65114] [PATCH 2/6] gnu: python-cssselect: Update to 1.2.0 Vinicius Monego
2023-08-06 15:33 ` [bug#65114] [PATCH 3/6] gnu: python-parsel: Update to 1.8.1 Vinicius Monego
2023-08-06 15:33 ` [bug#65114] [PATCH 4/6] gnu: python-itemadapter: Update to 0.8.0 Vinicius Monego
2023-08-06 15:33 ` [bug#65114] [PATCH 5/6] gnu: python-itemloaders: Update to 1.1.0 Vinicius Monego
2023-08-06 15:33 ` Vinicius Monego [this message]
2023-08-27 18:14 ` [bug#65114] [PATCH 0/6] Update Scrapy Christopher Baines
2023-09-02 17:59 ` bug#65114: " Vinicius Monego
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230806153317.285639-6-monego@posteo.net \
--to=monego@posteo.net \
--cc=65114@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).