From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wOoDBoMhSGdjTQEAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Nov 2024 07:53:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id wOoDBoMhSGdjTQEAqHPOHw (envelope-from ) for ; Thu, 28 Nov 2024 08:53:39 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Eq+GiLdH; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=KT0rji8O; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732780419; h=from:from:sender:sender:reply-to: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=Xw5Li6ciDf4P9xfIgS9R7eGKsaLC8RHYoe5N7YSn9xg=; b=L1AgJ1zxuSkTp0hgKEGB/4/2nlBogafE0cRZhUqKI/L2mQb8gGTA/X697fvXXG4S5NqQaJ Ka2VcVRGS8rA69hYeJvRMcrrXhdTWSPcjap2Z0kqluXa8kqazwNkNbhC1UldMvB/x19emS DL/K/oCa1drT6LpwpUi4evlmsEjkwvtqpqMCKPByYBMFqu6mOkjyvKZtfAeJn1JGCTqmV+ 3xdLrw2MCLug4C3MUoX8PZct6XDTLkgjU/B98AvVi4rkuVyjeXqERHlchEqbFhkriejB8i 2+8BFcpw1JEOH1ieTaSKE8rIvQ+d772T7hVKsHSGSZ9reOrnl86iUtbiqJsRXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Eq+GiLdH; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=KT0rji8O; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732780419; a=rsa-sha256; cv=none; b=u4DAESP7ByhwPSUOR9mQT7SBSP1I0nyRcMdfs1D909P12H5PFdNstjmL/0bOIxgUIPeeUN VTdNDA7/D1WL41OmS8DjJoEDr2R8unajrtKalxct9ytDzLJcuyqXwv9VMpefoF6FXMu4Cr 3JqC0e9lyl7QeCYYJ0axAnVm+Obhd4FS5yp5oVlqXFGDtQVQnmu2j3WWqaQLOXVW2VIQgB g3AAQxhuZ++CQ78U0Hwe3+454pK5xoiNiq8lCRZ5dCW/bHKcUYaUbxIKVPrttCutwZwBlk 06QaXL8XAQ9Cvy2R1A7B740Sw4pYgWXjAy/2CcDrKkWD4EBmOvU3pM2GhmxMcg== 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 909087D784 for ; Thu, 28 Nov 2024 08:53:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGZKr-0007pc-Sl; Thu, 28 Nov 2024 02:53:14 -0500 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 1tGZKg-0007nz-Si for guix-patches@gnu.org; Thu, 28 Nov 2024 02:53:04 -0500 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 1tGZKg-00020v-4A for guix-patches@gnu.org; Thu, 28 Nov 2024 02:53:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Xw5Li6ciDf4P9xfIgS9R7eGKsaLC8RHYoe5N7YSn9xg=; b=Eq+GiLdHZLG/RKcJNWhKq6qNyjtShR9kYKGUxra+/8+EH17J1tTDT8jnby1/o0Tw8xtbTKMYuBM9ordEflarrMfmPGOV0vUO1M9W9WwIhVAIk7HxkLcRhGFZtAc/5RaPPaB6xUeEyeKgzNC41z16IKz7RARqDyF/7byOTCTay0IN6cHYii3wT5m/NQ/9h78Xycva4+3G2MIwkVQaj/GA3CQiJMSeaH+JjKnl6ZTJ6VR9LCzaDU0j3s/azX4/Zi4o7xaR7vp8JKy8ubmKdBotMUrk5/UP7t17ZcOPNvgybaejRHdglpEGhsib1d1uwUVIuEEXoYhSk15q63SZtqTYqQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGZKf-0001RG-V2 for guix-patches@gnu.org; Thu, 28 Nov 2024 02:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74580] [PATCH 02/14] gnu: python-praw: Update to 7.8.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Nov 2024 07:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74580 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74580@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 74580-submit@debbugs.gnu.org id=B74580.17327803745473 (code B ref 74580); Thu, 28 Nov 2024 07:53:01 +0000 Received: (at 74580) by debbugs.gnu.org; 28 Nov 2024 07:52:54 +0000 Received: from localhost ([127.0.0.1]:36345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGZKX-0001QC-Ks for submit@debbugs.gnu.org; Thu, 28 Nov 2024 02:52:54 -0500 Received: from 12.mo583.mail-out.ovh.net ([46.105.39.65]:42253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGZKS-0001Pt-Es for 74580@debbugs.gnu.org; Thu, 28 Nov 2024 02:52:49 -0500 Received: from director8.ghost.mail-out.ovh.net (unknown [10.109.139.201]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4XzT7M1jS4z1P63 for <74580@debbugs.gnu.org>; Thu, 28 Nov 2024 07:52:47 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-d7ltg (unknown [10.110.188.207]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D30931FEA8; Thu, 28 Nov 2024 07:52:46 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-5b5ff79f4f-d7ltg with ESMTPSA id WdBfGE4hSGeYdgAA2FqqnA (envelope-from ); Thu, 28 Nov 2024 07:52:46 +0000 X-OVh-ClientIp: 90.92.117.144 Date: Thu, 28 Nov 2024 08:52:14 +0100 Message-ID: <20241128075235.20929-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241128075235.20929-1-ngraves@ngraves.fr> References: <20241128075235.20929-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 2400137128411456226 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrhedtgdduudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggedpfeejrdehledrudegvddrleehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejgeehkedtseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=Xw5Li6ciDf4P9xfIgS9R7eGKsaLC8RHYoe5N7YSn9xg=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1732780367; v=1; b=KT0rji8OC+B7JIMzZIkBz4reVUJ6C+9Ithffkc3wsIqN0hd9wcFHhAgApCvhv36kt+gH6V3a rHh2wWxU607/SbGDYd4vfJR23lb/+S8FUitEzg5NuER9NSDs8OEMTaMhnxrN3BkYFLT1iCSA+cf GXmJ1Xw32LIcOGJkcV9Hw+sYin3DxZp8jb1/zPE6CoxfpmR5Q2vvunbmLfMPMjXzDBlUj6xF5hU G/zenKA1rbip3Z3WXXYh1FEjmDoeiGQuU42CfnI656W7DACUqsnAinyqO2/GAoS1DFSpumYg3bG USOcyvQMDAhNUUVR31s3ewHholgXvmzXDwQUTK1balfjQ== 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.14 X-Spam-Score: -2.14 X-Migadu-Queue-Id: 909087D784 X-TUID: UwkbcixyHyKq * gnu/packages/python-web.scm (python-praw): Update to 7.8.1. [source]: Fetch from git to download tests. [build-system]: Move to pyproject-build-system. [arguments]<#:test-flags>: Skip failing tests. [native-inputs]: Add python-flit-core. --- gnu/packages/python-web.scm | 40 ++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 422dc7e39d..c5ff14b4ee 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -385,34 +385,28 @@ (define-public python-prawcore (define-public python-praw (package (name "python-praw") - (version "7.6.1") + (version "7.8.1") (source (origin - (method url-fetch) - (uri (pypi-uri "praw" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/praw-dev/praw") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "17pvdlcasr08p5hb1x7shjh8yvn621lzm0bvnwd3b1r1qpzrbz07")))) - (build-system python-build-system) + (base32 "05qq43l4334cq8r8k731qnb45nq12vvfdxwbr6q84a1hafp7n4cg")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-failing-tests - (lambda _ - (with-directory-excursion "tests" - ;; Integration tests depend on files that are not included. - (for-each delete-file-recursively - '("integration/models" "unit/models")) - ;; The configuration file does not seem to exist. - (delete-file "unit/test_config.py")))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-k" - ;; These tests depend on test files that don't exist. - (string-append "not test_bad_request_without_json_text_plain_response" - " and not test_bad_request_without_json_text_html_response")))))))) + (list #:test-flags + #~(list "--ignore=tests/units/models" + "--ignore=tests/integration/models" + "--ignore=tests/unit/test_config.py" + "--ignore=tests/integration/test_reddit.py"))) (native-inputs - (list python-betamax python-betamax-matchers python-pytest)) + (list python-betamax + python-betamax-matchers + python-flit-core + python-pytest)) (propagated-inputs (list python-prawcore python-update-checker python-websocket-client)) (synopsis "Python Reddit API Wrapper") -- 2.46.0