From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 23 04:52:56 2021 Received: (at submit) by debbugs.gnu.org; 23 Jun 2021 08:52:56 +0000 Received: from localhost ([127.0.0.1]:40393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvycx-00053J-S1 for submit@debbugs.gnu.org; Wed, 23 Jun 2021 04:52:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:48444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvycv-00053B-SA for submit@debbugs.gnu.org; Wed, 23 Jun 2021 04:52:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvycv-0003s8-GS for guix-patches@gnu.org; Wed, 23 Jun 2021 04:52:53 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:41364 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvyct-0001vp-Oc for guix-patches@gnu.org; Wed, 23 Jun 2021 04:52:53 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1624438359; bh=nes3S8BfN1230rp216rZygKoNvsiHsA+jh/j58d2WbY=; h=From:To:Subject:Date; b=VI4g2T0OjnP9B7q0x9AoPvcjsnWeg3cY/+f7XJm/mH/GKjfIlpBXhMncJlMO84Uj9 PDN5fq8LfDj7WeuMRWCKHFjurEycM5uNEqIE8YseRUUO7KnKCHxZEVrXQXvRGWwyME /md//JnMvnXaYUr5WIXZsuPQypnl8iTm4wAsvWS8= To: guix-patches@gnu.org Subject: [PATCH] gnu: ocaml-dose3: Fix tests. Message-Id: <4598abb91f7f610e062f34931fe988d04b5d43c1.1624438202.git.public@yoctocell.xyz> Date: Wed, 23 Jun 2021 10:52:38 +0200 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 29 X-Spam_score: 2.9 X-Spam_bar: ++ X-Spam_report: (2.9 / 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, FROM_SUSPICIOUS_NTLD=0.5, FROM_SUSPICIOUS_NTLD_FP=1.489, PDS_OTHER_BAD_TLD=1.999, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.7 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/ocaml.scm (ocaml-dose3)[arguments]<#:phases>: Add phase to patch tests script. --- The test script was failing to run without this, which also caused emacs-tuareg to not build. No idea why one would use Python to test OCaml code... Content analysis details: (2.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 1.5 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) * gnu/packages/ocaml.scm (ocaml-dose3)[arguments]<#:phases>: Add phase to patch tests script. --- The test script was failing to run without this, which also caused emacs-tuareg to not build. No idea why one would use Python to test OCaml code... gnu/packages/ocaml.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index dd30f4cc97..1262c0e303 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -647,7 +647,14 @@ underlying solvers like Cplex, Gurobi, Lpsolver, Glpk, CbC, SCIP or WBO.") #:make-flags (list (string-append "LIBDIR=" (assoc-ref %outputs "out") - "/lib/ocaml/site-lib")))) + "/lib/ocaml/site-lib")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-test-script + (lambda _ + (substitute* "applications/dose-tests.py" + (("warning\\(") + "from warnings import warn\nwarn("))))))) (propagated-inputs `(("ocaml-graph" ,ocaml-graph) ("ocaml-cudf" ,ocaml-cudf) base-commit: 4605ea1a780ff5889b7273d27a255294d7a08327 -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 23 07:13:54 2021 Received: (at submit) by debbugs.gnu.org; 23 Jun 2021 11:13:55 +0000 Received: from localhost ([127.0.0.1]:40455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lw0pO-0000F4-Ie for submit@debbugs.gnu.org; Wed, 23 Jun 2021 07:13:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:39052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lw0pM-0000El-K7 for submit@debbugs.gnu.org; Wed, 23 Jun 2021 07:13:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw0pL-0006O9-D5 for guix-patches@gnu.org; Wed, 23 Jun 2021 07:13:51 -0400 Received: from mout01.posteo.de ([185.67.36.65]:41003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw0pJ-00050o-7S for guix-patches@gnu.org; Wed, 23 Jun 2021 07:13:51 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D57BF24002D for ; Wed, 23 Jun 2021 13:13:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1624446826; bh=UaCCAYxeZdXYc96R5Czj/Wx6CXNDNamkLGIoCAZukkA=; h=From:To:Cc:Subject:Date:From; b=UN6RcTKaX1T7aMba431R8UVudtCTZis3wIk5KWslMDdRpXmxjypwgzsROOnSaJ2MU PUrYnwvBOdRDOua6zhRxdR+hhbwKy5kBmGrnRX6iRDPfUdR2TZp/RQwbGgdOgkqzag Wj37j4kRA6J6NNOQDAb3y6gzi97Nqnz6jlvscrTRtYlsmfI4BdVrWn0lqTOhtiacEB APRTjUcG91JKaHJ1vy7tfqnbbKvtWumWaOxtE+s/uGT319YDcBjTIHTK/cbOn91rNM vrdqbbu2z+EtsuegsKg9hg+l3OvyPgnaLUtx0s5CsaNvcONcDhfc73tt1oE8N4gMOn aPiDAlvKqU4uA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4G90y05V9Wz6tmH; Wed, 23 Jun 2021 13:13:44 +0200 (CEST) References: <4598abb91f7f610e062f34931fe988d04b5d43c1.1624438202.git.public@yoctocell.xyz> From: pukkamustard To: Xinglu Chen Subject: Re: [bug#49183] [PATCH] gnu: ocaml-dose3: Fix tests. Date: Wed, 23 Jun 2021 11:09:44 +0000 In-reply-to: <4598abb91f7f610e062f34931fe988d04b5d43c1.1624438202.git.public@yoctocell.xyz> Message-ID: <86pmwcygt4.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=185.67.36.65; envelope-from=pukkamustard@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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: 49171@debbugs.gnu.org, 49183@debbugs.gnu.org, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Neat. Thanks! Fixes the test and looks got to me. > No idea why one would use Python to test OCaml code... Yeah, makes one wonder. At least they've updated to Python3 (https://gitlab.com/irill/dose3/-/blob/master/CHANGES#L33) recently. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 23 08:46:02 2021 Received: (at 49183-done) by debbugs.gnu.org; 23 Jun 2021 12:46:02 +0000 Received: from localhost ([127.0.0.1]:40519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lw2GY-0004f2-CY for submit@debbugs.gnu.org; Wed, 23 Jun 2021 08:46:02 -0400 Received: from lepiller.eu ([89.234.186.109]:45588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lw2GV-0004eS-8X; Wed, 23 Jun 2021 08:46:00 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 80fea4e0; Wed, 23 Jun 2021 12:45:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=NpImpi2lgbmJ 8rFMXOvikswv5NyQlfDrOLG2j9991kw=; b=bpl7yAatktm6yV00Fw2zUl/GrXqK HShd6JzXhIAQmdM61qrpfoPsXRdLs7tADuj7nGH77O0kM7TkXAt4aqCUfpG8uXCC er7wav5KrwsRRKDuMnjlescs+gu72KZRIwALh3fBp2v0cMc9RhicovPOLby1KG9y 0W8CRkpy8mknp2wbz3uJwBwD0EJRWz+zEJGBATSXr8LxpGGxYKFrs5B/GVsEHzly qSIUZ+al9nUt3COYzPd3ZBXVtpdoWF7VYmGF6unAy4bvOKtSpWCwPY9OuV+6f1C5 E+yV2/DTRqtMrlkNwLQI6lygzQ/p2za1kueROe7GD5gjr7zzD5iJxZQkFQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 0bd81fb3 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 23 Jun 2021 12:45:56 +0000 (UTC) Date: Wed, 23 Jun 2021 14:45:52 +0200 From: Julien Lepiller To: pukkamustard Subject: Re: [bug#49183] [PATCH] gnu: ocaml-dose3: Fix tests. Message-ID: <20210623144552.64b67204@tachikoma.lepiller.eu> In-Reply-To: <86pmwcygt4.fsf@posteo.net> References: <4598abb91f7f610e062f34931fe988d04b5d43c1.1624438202.git.public@yoctocell.xyz> <86pmwcygt4.fsf@posteo.net> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Le Wed, 23 Jun 2021 11:09:44 +0000, pukkamustard a écrit : > Neat. Thanks! > > Fixes the test and looks got to me. > > > No idea why one would use Python to test OCaml code... > > Yeah, makes one wonder. At least they've updated to Python3 > (https://gitlab.c [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 2.0 PDS_TONAME_EQ_TOLOCAL_SHORT Short body with To: name matches everything in local email X-Debbugs-Envelope-To: 49183-done Cc: 49183-done@debbugs.gnu.org, 49171-done@debbugs.gnu.org, Xinglu Chen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Le Wed, 23 Jun 2021 11:09:44 +0000, pukkamustard a =C3=A9crit : > Neat. Thanks! >=20 > Fixes the test and looks got to me. >=20 > > No idea why one would use Python to test OCaml code... =20 > =20 > Yeah, makes one wonder. At least they've updated to Python3=20 > (https://gitlab.com/irill/dose3/-/blob/master/CHANGES#L33)=20 > recently. >=20 >=20 >=20 Thanks! Pushed as 91b29aa37394b660117e1d79927621db1344b7fe. From unknown Mon Aug 18 09:09:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 22 Jul 2021 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator