From patchwork Sun Mar 9 22:11:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 39981 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3240827BBEA; Sun, 9 Mar 2025 22:13:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6D98A27BBE2 for ; Sun, 9 Mar 2025 22:13:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1trOtR-0000pc-Lt; Sun, 09 Mar 2025 18:13:09 -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 1trOtO-0000nT-5Z for guix-patches@gnu.org; Sun, 09 Mar 2025 18:13:07 -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 1trOtM-0002GG-5M for guix-patches@gnu.org; Sun, 09 Mar 2025 18:13:05 -0400 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=g4QVj1INg+8sLxsWuWBB5nJMddPm5VfBS6Z40M2svLk=; b=QzHKKYFHSK2JY0Q3RnH5JIY0t8lycTZ2DQ302+FTOMof/80THtWtOEtWbePFTV0UVwCfEWYfs7ZaXH33EfNJGuak/wC9bZjHdRwBL30+/b7IMMFGz1saSvNl3WnF4PwGDR2DzDSEbVBJGz4Hm8kRR8eK3hsVCScZrAoPp5hKCOvLbQ/3IqCPF+Ja9WQBSnYSP69Qz49oVuKPAGz3lNz7jmyJ2kAsxnPAXV8ed3QmrlWvqgekDTvP0170MpFq5ma6wsUy0xm/EgRv/FAoN6VUubUVxxRdqP2h6jnzW+DjsNc2Im7LkLyFD5Ml13dIt+vNAXeAzGQ8gQA5H5EccYOo9g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1trOtM-0000Zz-0u for guix-patches@gnu.org; Sun, 09 Mar 2025 18:13:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76835] [PATCH v2 06/24] gnu: graphite-web: Update to 1.1.10-2.49c28e2. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 09 Mar 2025 22:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76835@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 76835-submit@debbugs.gnu.org id=B76835.17415583381941 (code B ref 76835); Sun, 09 Mar 2025 22:13:03 +0000 Received: (at 76835) by debbugs.gnu.org; 9 Mar 2025 22:12:18 +0000 Received: from localhost ([127.0.0.1]:34765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1trOsb-0000V4-Q4 for submit@debbugs.gnu.org; Sun, 09 Mar 2025 18:12:18 -0400 Received: from 18.mo584.mail-out.ovh.net ([188.165.54.143]:57905) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1trOsT-0000TY-0W for 76835@debbugs.gnu.org; Sun, 09 Mar 2025 18:12:10 -0400 Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.25.23]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 4Z9vQH2B0Vz1SyQ for <76835@debbugs.gnu.org>; Sun, 9 Mar 2025 22:12:07 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-cbs7c (unknown [10.110.168.217]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 107FC1FE8C; Sun, 9 Mar 2025 22:12:06 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-5b5ff79f4f-cbs7c with ESMTPSA id iQ43MTYSzmdgyRAAYFUH/w (envelope-from ); Sun, 09 Mar 2025 22:12:06 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R004b29bb106-8a65-4c03-a3c5-141adf692107, 196D73215860B9B374AEA1D4B43499A65472C7F7) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Sun, 9 Mar 2025 23:11:14 +0100 Message-ID: <20250309221153.334-6-ngraves@ngraves.fr> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250309221153.334-1-ngraves@ngraves.fr> References: <20250309221153.334-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 1312517819807752930 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduudejiedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnheptdegffefuddutdeuiedujeeiveefjefhjeeugeevudduleffjeeiueehtdelveejnecuffhomhgrihhnpehgrhgrphhhihhtvggrphhprdhorhhgpdhgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggedpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeeikeefheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekgegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=g4QVj1INg+8sLxsWuWBB5nJMddPm5VfBS6Z40M2svLk=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1741558327; v=1; b=S3ALarpIeAEw7Q6+hu4cQC53j6zVscBRZ1uSmAA7eG9/UMeX4QHSIZXkwLi+p71LrwSARRY4 0Fuy+p0KkeExXRmSTZP2lEwqGny9U79pmhbsfoRMIpYwlAqHbZhjQSzNH77UZNp2lOBoW9IADmX EIrPB4qmCZWFlsr7bok7L8440F1+jIkX89/fkUV/jMA0pM5VkSX2+MA4xxyxHj0vMKBY95v/S/u l9Oy/YCIwAaOhRdbCKq7Pxve+X9bLaNXUUECrsSSrwoOny//geCbrYItlSGRlZgIp2x9jQ1hnxi b+4PqOL2qixclPM0M8vWLQ2edJf0Ces4qaisPvDSj3luQ== 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 X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/monitoring.scm (graphite-web): Update to 1.1.10-2.49c28e2. --- gnu/packages/monitoring.scm | 99 +++++++++++++++++++++++-------------- 1 file changed, 62 insertions(+), 37 deletions(-) diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index b75500fc08..1009c32783 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm @@ -69,6 +69,7 @@ (define-module (gnu packages monitoring) #:use-module (gnu packages prometheus) #:use-module (gnu packages python) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-science) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages rrdtool) @@ -461,45 +462,69 @@ (define-public python-carbon (license license:asl2.0))) (define-public graphite-web - (package - (name "graphite-web") - (version "1.1.10") - (source - (origin - (method url-fetch) - (uri (pypi-uri "graphite-web" version)) - (sha256 - (base32 - "0nnk3kwn0b6bq9xnmv9bac6hpcbdgpgwf283c1ck5nm80panh61z")))) - (build-system python-build-system) - (arguments - `(#:tests? #f ;XXX: not in PyPI release & requires database - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'relax-requirements - (lambda _ - (substitute* "setup.py" - ;; Allow newer versions of django-tagging. - (("django-tagging==") "django-tagging>=") - ;; And Django. - (("Django>=1\\.8,<3\\.1") "Django>=1.8,<4")))) - ;; Don't install to /opt - (add-after 'unpack 'do-not-install-to-/opt - (lambda _ (setenv "GRAPHITE_NO_PREFIX" "1") #t))))) - (propagated-inputs - (list python-cairocffi - python-django-3.2 - python-django-tagging - python-pyparsing - python-pytz - python-six - python-urllib3)) - (home-page "https://graphiteapp.org/") - (synopsis "Scalable realtime graphing system") - (description "Graphite is a scalable real-time graphing system that does + (let ((commit "49c28e2015d605ad9ec93524f7076dd924a4731a") + (revision "2")) + (package + (name "graphite-web") + (version (git-version "1.1.10" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/graphite-project/graphite-web") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0bcc6jh7gyp8f54dzy4zza1z46gk3530r952pi86irf834z106sg")))) + (build-system pyproject-build-system) + (arguments + `(#:tests? #f ;XXX: Requires database, unable to run now + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "setup.py" + ;; Allow newer versions of django-tagging. + (("django-tagging==") "django-tagging>=") + ;; And Django. + (("Django>=3\\.2,<4") "Django>=4,<5")))) + ;; Don't install to /opt + (add-after 'unpack 'do-not-install-to-/opt + (lambda _ (setenv "GRAPHITE_NO_PREFIX" "1"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (mkdir-p "storage/log/webapp") + (with-directory-excursion "webapp" + (invoke "./manage.py" "test" "--pythonpath=." "tests" + "-k" (string-join + (list + "not test_dashboard_save_temporary_xss_key" + "test_dashboard_save_temporary_xss_name") + " and not "))))))))) + (native-inputs + (list python-carbon + python-mock + python-pytest + python-rrdtool + python-setuptools + python-tzdata + python-wheel + python-whisper)) + (propagated-inputs + (list python-cairocffi + python-django-4.2 + python-django-tagging + python-pyparsing + python-pytz + python-six + python-urllib3)) + (home-page "https://graphiteapp.org/") + (synopsis "Scalable realtime graphing system") + (description "Graphite is a scalable real-time graphing system that does two things: store numeric time-series data, and render graphs of this data on demand.") - (license license:asl2.0))) + (license license:asl2.0)))) (define-public python-prometheus-client (package