From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8DcJKXa9z2SZPgAASxT56A (envelope-from ) for ; Sun, 06 Aug 2023 17:34:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mELfJ3a9z2SEAwAAG6o9tA (envelope-from ) for ; Sun, 06 Aug 2023 17:34:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4E8CB4EEC0 for ; Sun, 6 Aug 2023 17:34:14 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=SDXwyy1M; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691336054; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=z638vjDn4DR0JHC7rMu2Hz1KEI55jkpDLQJWwADHYTU=; b=u/9UiFzI7KJclgxRO+DzhFIb8u9bBwCY8v6jSOtZP1alp0gDdlihTQ6Qh9ShqIcqqlmFZN DFGRStS/z92sRsDxts1Lzx2gkV4o4lwflCsN+VeGp6fkZhn1zS89ubXJy9YaeY5d6PgKkB 2Gn0meedyYW7ZIT3Eqp6muceg3nycCvqLspdLJO6lDIgKXjklea/cfHVdaCRFqyIaM/bDQ 2QI3eYgQrBZLChYtNnSfivrOaWKDsCE+KjoXbiAWMpl87CIyebiUvyOMaezQGMgHOg9uK3 HbQdWiXOtodI4+YqXO5xdO2+sgXQm05hc4pAwB+wpVDAT7vSRlEhQ4AbyVt/wA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=SDXwyy1M; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691336054; a=rsa-sha256; cv=none; b=Ll+jJ/6I9ISdtd7TuyYcY0XSulalNTwBQl5zIkYG2KxCmOlti0OpDgubEhUAJ2GL5jxC96 xD2vo8eFrvBVdbEZ03C0q82cmFCaj1RQP9raf4Iy0DsZIYUhyUHo6bWKJY18RsyHQgGkdP wtlQ8rs4tYry0z/TOtnoM+GcTIzPjZP7Dxn0iq/hlxT6JKvGt6OukUwCFZBoPismVmjGWl mUubs+sYMVhOUM6yupjCw8jqFyZ/C/qzlo/eZq0Zuc1fJ236pXuR7+HwAdeVt2N9szhYn3 0QkD4iUhaKC1KrMfl8LZzLof/4m71oCk4e9lhFd23znKP8s8M43aQOU2bVQEAg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSfle-0007b8-HE; Sun, 06 Aug 2023 11:34:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSflc-0007Zl-D7 for guix-patches@gnu.org; Sun, 06 Aug 2023 11:34:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSflc-0006k4-5A for guix-patches@gnu.org; Sun, 06 Aug 2023 11:34:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSflc-0005L7-1E for guix-patches@gnu.org; Sun, 06 Aug 2023 11:34:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65114] [PATCH 6/6] gnu: python-scrapy: Update to 2.10.0. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Aug 2023 15:34:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65114 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65114@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 65114-submit@debbugs.gnu.org id=B65114.169133603920478 (code B ref 65114); Sun, 06 Aug 2023 15:34:04 +0000 Received: (at 65114) by debbugs.gnu.org; 6 Aug 2023 15:33:59 +0000 Received: from localhost ([127.0.0.1]:59919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSflX-0005KD-2K for submit@debbugs.gnu.org; Sun, 06 Aug 2023 11:33:59 -0400 Received: from mout01.posteo.de ([185.67.36.65]:43757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSflV-0005Ji-DH for 65114@debbugs.gnu.org; Sun, 06 Aug 2023 11:33:58 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D286624002A for <65114@debbugs.gnu.org>; Sun, 6 Aug 2023 17:33:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691336031; bh=4EeortS+yhw/WxSWSO/PNxuGUNKt4HjBFewnYiM6WDk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=SDXwyy1MibnathVCKeRbL4BUUWGBFJzXoFlKO4pKafl7GB19RFC6bXvAb5H0QDRz6 UqWt2kRPQtIEyjEpSEBGdgiJg6cs95xWbrcJNtHt+zEqHYuE2AQD+dPlBrMxaVkBvj dK+7r8sYMMMS5NrAqPRghO02azz39zob6iLh+08UPz6f64VDOmelRG9XFF0RTnmxQL iITh5ylbqhEOjKVsTknCj0bnh3Oj1G5cgm6QXClnp5Y0CWh216FYfhfE27F3Pjpku1 jsL7JY88j0EVvjjHhJ6mj/8s0WDbFt99rrqs3crVOAuFX9JjIrAb6XqFi40yQ87j0t SXB8JcvK0XkBg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RJk4t5w2dz9rxF; Sun, 6 Aug 2023 17:33:50 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Aug 2023 15:33:17 +0000 Message-Id: <20230806153317.285639-6-monego@posteo.net> In-Reply-To: <20230806153317.285639-1-monego@posteo.net> References: <20230806153317.285639-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 4E8CB4EEC0 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: 4.14 X-Migadu-Spam-Score: 4.14 X-TUID: nturcMWJ78VU * 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