From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aLC+AFF2+2VCLQEAe85BDQ:P1 (envelope-from ) for ; Thu, 21 Mar 2024 00:50:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aLC+AFF2+2VCLQEAe85BDQ (envelope-from ) for ; Thu, 21 Mar 2024 00:50:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Ca8yJm2Z; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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-Seal: i=1; s=key1; d=yhetil.org; t=1710978640; a=rsa-sha256; cv=none; b=dGSo1Q7+STXRvJwrkncGzzoUFgAk54fNnk6M73rUl1YhhKc/v79WbWHKFjTD6gvig8QN15 asWjmMBVJUxef+KeAzRLnqmIo/yatG/uZwDf74XFCb8NRVdjn/dYNDcIIp1o4Mc2YkX+L0 89MyBkFDZ+nlaUE1i5+jLjnOZf6thQ88Lv3GO/ahYuTcxUOym9q/ycodjrtsIzOTCxCwMC 7W/tSqc7HECiDJ+02ooda/caLmGwUvAG/QaveIwypStHLUArJdauZ2Nrkj77ydLMfADdrY 23bU0iqZgPZnvKJZRk7OLG/ah6ZLVCkrhmLFkUC0Wq7sjy1XfEOjZp6RarHsYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Ca8yJm2Z; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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=1710978640; 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=IE6dEFrpC04xlG2GCcbrDVEGkGoAOrXftiA0V3NBKBg=; b=pyTBgjSdmwHBByKz1rkZn2lgnMvyEK7/CVTXcbJbhBtHT6iSxnrgDIiYOdbOpvdbb5ky9O Qxx9zj7dR3YENWLR6VJHPGXYlO8iMSISzrvil+GX+kikZd25Oz0WaKa8tf72BYcWPTWasm HUvUvIMRoRtHhnFlcCqG7o3BRCJBD7XsRm74YXpAYrFo49F3JVotM8gN/0WDjU1+X4qjTd Z5fOqA7d5GDZRjcrYteQqUucag/9msZiEb2u0ikXQxN4NdQxit5lhYy1aVvK2in0gTPfDg BEXXfdMbSMUiObxQp5n5DgqzS5yEUo4vrVn6Njtpm5fDZLqKT111Vt6G0cYLWQ== 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 B42EA6A419 for ; Thu, 21 Mar 2024 00:50:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rn4S7-0000cz-68; Wed, 20 Mar 2024 18:30:31 -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 1rn4S5-0000bx-IK for guix-patches@gnu.org; Wed, 20 Mar 2024 18:30:29 -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 1rn4S5-0005iH-A5; Wed, 20 Mar 2024 18:30:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rn4Sh-0005cV-6a; Wed, 20 Mar 2024 18:31:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69924] [PATCH 11/49] gnu: python-zarr: Speed up tests. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Wed, 20 Mar 2024 22:31:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69924 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69924@debbugs.gnu.org Cc: Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 69924-submit@debbugs.gnu.org id=B69924.171097384921243 (code B ref 69924); Wed, 20 Mar 2024 22:31:07 +0000 Received: (at 69924) by debbugs.gnu.org; 20 Mar 2024 22:30:49 +0000 Received: from localhost ([127.0.0.1]:36332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rn4SO-0005WJ-JB for submit@debbugs.gnu.org; Wed, 20 Mar 2024 18:30:49 -0400 Received: from mail-wm1-f49.google.com ([209.85.128.49]:58431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rn4SA-0005SV-TE for 69924@debbugs.gnu.org; Wed, 20 Mar 2024 18:30:35 -0400 Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-414618e6820so2740835e9.0 for <69924@debbugs.gnu.org>; Wed, 20 Mar 2024 15:29:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710973729; x=1711578529; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IE6dEFrpC04xlG2GCcbrDVEGkGoAOrXftiA0V3NBKBg=; b=Ca8yJm2ZSZWBDPIDGJxbjjQlVvP3NcrblCNM8MnlpPoAptl3n7h0+/xB5S51dJikQZ FnY23Igygyu1uNbm80RWlAbozY/CAPgblHnXUJQvrNYCmFlHmB60DBVIFPM7NkncVo3w a8vLI7u7js0+G9039IJ9I8S39/oqJiFVufCDzqSmsesUdOen5lYfoxUnNrjWTPnPW6sE MZcUW7cXHYnWmgh5NGPmD4qqmq2Q93OOcQ/+NPVzhMagvI3/csRPIBZiLmZirh099019 nuL3ZqbPVDuNdjvIjj8jGTvWvJLvIDqtdzsLFXzKeQfwmkv4eM82GvZk/cui4IiadEK/ p0lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710973729; x=1711578529; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IE6dEFrpC04xlG2GCcbrDVEGkGoAOrXftiA0V3NBKBg=; b=wVYLSLbWwEC89MW/aHoKkHQ7U2ykSY32kphtt1xl79D+128XGxYEN2WfUcUTQq3fc0 uc3yXLsmtmn1djmsgvgKEee8/IOCPsTa+3yN3+pmYqVs69xpkBNcrPyWDAIhtb6HFNP9 I8Rxwt2dfcJhrKX57gArknVMa3N/sqmYUwC7KyCyEH+Rio21Y36DWjI2B4kWo79enhLX W5nbd9hGrqwsQ+1nFXikh//PGxyS2qZHqbIt7UUpHHMWQyc2jP6WGdM6qmaxAqPYuPZh rOpUsj5TTIt5+5umMvkD/Sz5Ap+kEJcnZoscauSjBiswxzj7Y8OSnq48iFLxxhrH9wHI tdfQ== X-Gm-Message-State: AOJu0YxzGFrUqQZTNPaL4GMZ8AE/RKhCgTR5OCzbYyXh9BgWltTzNTeW LFrOoWPxfUts0qs93EfKN2KGUiXc5bHuDuvpci0/eMJrkZIfkhGK3ugT/UOUh3k= X-Google-Smtp-Source: AGHT+IHiGn24upATc2/Ap4l0yH1hCIyjjuX4AyULoEDjgsN1s9UvnOEL5HFs+5j434Z38taSYYxCoQ== X-Received: by 2002:a05:600c:4649:b0:413:fd90:3d08 with SMTP id n9-20020a05600c464900b00413fd903d08mr6774614wmo.41.1710973729598; Wed, 20 Mar 2024 15:28:49 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id fm22-20020a05600c0c1600b004147266a37dsm543921wmb.30.2024.03.20.15.28.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 15:28:49 -0700 (PDT) From: Sharlatan Hellseher Date: Wed, 20 Mar 2024 22:27:41 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -3.72 X-Spam-Score: -3.72 X-Migadu-Queue-Id: B42EA6A419 X-TUID: VeYgvPM6CH2A * gnu/packages/python-xyz.scm (python-zarr): Use G-expressions. [arguments] <#:test-flags>: Parallelize tests to speed them up. <#:phases>: 'disable-service-tests remove trailing #t from lambda. Use standard 'check phase. [native-inputs]: Add python-fsspec, python-h5py, python-pytest-doctestplus, python-pytest-timeout, and python-pytest-xdist. Change-Id: I3fc4e2a1649ad9f95ed9e3fe87e3f57ad4f58af8 --- gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 799174ab60..360b4db3f1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26979,23 +26979,29 @@ (define-public python-zarr "0qb2wj60i7v1c95k6m0pskx20ss6dxrj3ym0d7z4c98jfah3ljsn")))) (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-service-tests - (lambda _ - (setenv "ZARR_TEST_ABS" "0") - (setenv "ZARR_TEST_MONGO" "0") - (setenv "ZARR_TEST_REDIS" "0") - #t)) - (replace 'check - (lambda _ - (invoke "pytest" "-vv" "-k" "not lmdb") - #t))))) + (list + #:test-flags + #~(list "-n" "auto") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-service-tests + (lambda _ + (setenv "ZARR_TEST_ABS" "0") + (setenv "ZARR_TEST_MONGO" "0") + (setenv "ZARR_TEST_REDIS" "0")))))) (propagated-inputs - (list python-asciitree python-fasteners python-numcodecs + (list python-asciitree + python-fasteners + python-numcodecs python-numpy)) (native-inputs - (list python-pytest python-setuptools-scm)) + (list python-fsspec + python-pytest + python-h5py + python-pytest-doctestplus + python-pytest-timeout + python-pytest-xdist + python-setuptools-scm)) (home-page "https://github.com/zarr-developers/zarr-python") (synopsis "Chunked, compressed, N-dimensional arrays for Python") (description -- 2.41.0