From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uG5LEDZTamThWAEASxT56A (envelope-from ) for ; Sun, 21 May 2023 19:21:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eDMmEDZTamQk0QAAauVa8A (envelope-from ) for ; Sun, 21 May 2023 19:21:58 +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 AE4E330DD3 for ; Sun, 21 May 2023 19:21:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0mk1-00065k-61; Sun, 21 May 2023 13:21: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 1q0mjy-00065Q-Jd for guix-patches@gnu.org; Sun, 21 May 2023 13:21:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0mjy-000141-Bf for guix-patches@gnu.org; Sun, 21 May 2023 13:21:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0mju-0002zg-77 for guix-patches@gnu.org; Sun, 21 May 2023 13:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63628] [PATCH 1/2] gnu: python-plotly: Fix version. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 May 2023 17:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63628 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63628@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168468965211470 (code B ref -1); Sun, 21 May 2023 17:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 May 2023 17:20:52 +0000 Received: from localhost ([127.0.0.1]:32788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0mjj-0002yv-Is for submit@debbugs.gnu.org; Sun, 21 May 2023 13:20:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:46724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0mje-0002yk-Uw for submit@debbugs.gnu.org; Sun, 21 May 2023 13:20:50 -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 1q0mja-000601-Pi for guix-patches@gnu.org; Sun, 21 May 2023 13:20:43 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0mjL-000100-7y for guix-patches@gnu.org; Sun, 21 May 2023 13:20:42 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E48E4240028 for ; Sun, 21 May 2023 19:20:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684689618; bh=Ljzne3iVDZ11n5TFwVjSjXXcYSgpgufZSn1eu9SycLM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=nBsG+StuZSwn/p8oCCuRaupVdokdZuZFO4WNfzQKlOPaO6gxOL+Gy7DZ4zo/8Bbe/ DvPe9J9kR9AqkpgHRg3I69sne4ditZarpLJT7Y40kmojcHbUHNuBFkBLQTfS7+VG96 0Vy+c2JcLmDUsPmp33sZfm7xU87tQAkWyQINR11MP0UE7xeMH8mM276uHsj+hdf7Pr lJwGKVqiMVsXXPLKzKqU4j5njsx12l43thrHdy+M7gzy30pMVk5QwMF9rt6p2JK/NW 0EFXVjKF5UlcAjPmzl8/5uzqqdwkNuyqtSKto5CLDPn0uyz2VwMg0m9IbtMTrzEZEi cHD2DWES1UYwg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QPS5F5SXxz6trm; Sun, 21 May 2023 19:20:17 +0200 (CEST) From: Vinicius Monego Date: Sun, 21 May 2023 17:19:51 +0000 Message-Id: <20230521171951.2431541-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684689717; a=rsa-sha256; cv=none; b=CSh3mGKoEGCAUUadIqyI7nmTKcIJulzKrCt4Z7J4Q9SIFOwPBvIz+FNHo3stSmgbmA+Gr9 G+/6y23rCBOvQ4Epx3pnEW2ZNUZGSz9Xs/MX8YW9s/Ndq6n9U6mS8wfqlLHGJqeMT2m2XX uvf6iTTVDQjmHCU6dTbOtA542dxCn4chkRaQBRm9V0SEvi6IvLqF6liohl3E4zgGhd308Z mmRnz47EvNzXf7w3vj27zJITyMzKC+ckSbInHoPNhqRxDc6HCtKt4bqf6PLMZ/Q1UevYd3 TKVHqqVl+mfQNn2wBBpYrDfbTZskIFKoeQEqEcIFdkMDMpizwNNv9W9OSsuK0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=nBsG+Stu; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684689717; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2JHLmfQ2N+Hlw74nKvO7erTPYSY9UU997g45Les6h78=; b=Pn/iPYLlhqSFJ9pTFFoLLtMyTflQ57vczydrHs1yCoCnG9EjLz4JmmELDlHfCcx/uvCIuv sJJShON4upkQL1AHQLVdToz2KgqP79hQmKX3FENnY3PqIvm72crbZzg1B5EgfsUti1vE0T 3bWkpOt5xU+ch4puahCuW2rr1bFoaAHnsO4JMfzQTzOQEWUYUwGgYuS27j5aeBXhzi1KJl JTD3DUk/Lt4edJZ4F84NMZ4RDJ8IJ2UIXNv19MI6gor5ADLhKXloRQi/9PSk+YKGaQLF6y WVi9OAcpaTw8d/PmNYWzVLk4wOgGZ8CAWS+SZsw1Fzb1gqbon51LdDWQ1m8WvQ== X-Migadu-Spam-Score: -0.41 X-Spam-Score: -0.41 X-Migadu-Queue-Id: AE4E330DD3 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=nBsG+Stu; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" X-TUID: hFoAJrxiUKBw * gnu/packages/graph.scm (python-plotly)[arguments]: In the fix-version phase, substitute the correct version string. --- gnu/packages/graph.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 1091d3d56e..4e4e3b3e73 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2019 Andreas Enge ;;; Copyright © 2020 Alexander Krotov ;;; Copyright © 2020 Pierre Langlois -;;; Copyright © 2021 Vinicius Monego +;;; Copyright © 2021, 2023 Vinicius Monego ;;; Copyright © 2021 Alexandre Hannud Abdo ;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer ;;; Copyright © 2022 Marius Bakke @@ -240,9 +240,10 @@ (define-public python-plotly (add-after 'unpack 'fix-version ;; Versioneer is useless when there is no git metadata. (lambda _ - (substitute* "packages/python/plotly/setup.py" - (("version=versioneer.get_version\\(),") - (format #f "version=~s," #$version))))) + (substitute* "packages/python/plotly/plotly/version.py" + (("\\_\\_version\\_\\_ = get\\_versions\\(\\)\\[\"version\"\\]") + (format #f "__version__ = ~s" + #$(package-version this-package)))))) (add-after 'fix-version 'chdir (lambda _ (chdir "packages/python/plotly"))) -- 2.34.1