From patchwork Fri Feb 21 21:49:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 38965 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 154A427BBEA; Fri, 21 Feb 2025 21:55:21 +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.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,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=unavailable 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 5233D27BBE9 for ; Fri, 21 Feb 2025 21:55:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tlayV-0003tf-3D; Fri, 21 Feb 2025 16:54:23 -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 1tlayQ-0003pg-9s for guix-patches@gnu.org; Fri, 21 Feb 2025 16:54:18 -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 1tlayQ-0000Nu-1C for guix-patches@gnu.org; Fri, 21 Feb 2025 16:54:18 -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=5NbDppfkKN+G/SfFi5psdl+zvbaqC9dI3f1WZMnipoA=; b=nnQX65r9bqGYueUxslBjPkjDf+jn5vuGk2pEjMr6fOMbKOESVjYjv3uyDu+3YfRcViedKoYS1WqG+qjw50IoeAMKxvK8v92U4J3SiBx7Q/pDwY5PMdxVjSi74i4ZuIkGKGI8TMsz0uSKA3GCIEORRBqXX7Ksf3qzuxzwUBmW9rakFzCUhgUzZAvt931IlwcbT2ZpOUexihcDOI3ivdsucuYKXWWJYF6JISZizQtpSwn2apL705cVHqfA9wHJCE2MK3FtvgEY0YpnOI76tLJu53/aPcGCMCbPebVPd4vpkcTNY+qKHDJOcwUvvPaJjd3HjQ1hRd7nkDT7qniqQSv3XQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tlayP-0004sy-Px; Fri, 21 Feb 2025 16:54:17 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76480] [PATCH 49/51] gnu: python-stcal: Update to 1.11.1. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 21 Feb 2025 21:54:17 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76480 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76480@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 76480-submit@debbugs.gnu.org id=B76480.174017481618324 (code B ref 76480); Fri, 21 Feb 2025 21:54:17 +0000 Received: (at 76480) by debbugs.gnu.org; 21 Feb 2025 21:53:36 +0000 Received: from localhost ([127.0.0.1]:38714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlaxj-0004lF-3e for submit@debbugs.gnu.org; Fri, 21 Feb 2025 16:53:35 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:42167) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tlav2-0004I9-Jz for 76480@debbugs.gnu.org; Fri, 21 Feb 2025 16:50:57 -0500 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-439350f1a0bso15915135e9.0 for <76480@debbugs.gnu.org>; Fri, 21 Feb 2025 13:50:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740174642; x=1740779442; 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=5NbDppfkKN+G/SfFi5psdl+zvbaqC9dI3f1WZMnipoA=; b=EGtqqWW76mZvGkXd0trUjeYHVKtpcLwm9yMI72OaJg3bnKhHsPAlMYFYpGhkPPt5CF YAxIEIiyvMifhP45LqXKGx/KDjKi6+V7xHYHClLRf14c7q7gTCn96FDNGIkUbG1Ew/r6 oTj5hg/zw/bwPSyMbZQo2xAm9zvqD9MilKYDZ2s21Tj3it+3G5yx/Hv6o/zUTS6bFcuK fUvFmXCUmlfav4/fxVdSCstVNeG5DIr5uI7rNODlbcCQTZYv8CBz/F7WUQWc0reU4cjc Od5K24ITF89a/my9WYt9PP8yjEcPULEaX32gZCDbuitMlQjDT5ktGkxg9V7b0JIq19V7 rW1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740174642; x=1740779442; 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=5NbDppfkKN+G/SfFi5psdl+zvbaqC9dI3f1WZMnipoA=; b=leUQfuYuvW1J0pk7ehWaSLgEh3EUvwDlrSmz+nD2Xl1/eETg5hs+kAzFwQCoOBKcEe tRP28gQItdNt34KUJRaQ/CuaGtUHvZtHkhuVulUtCkhvTo+qaTE5RKO+3Rlohc30kssv bnCaHiCHp/Dj7JcS4kLQ7Nh3GIBE2LXHqBI8O31zhO7Azt4j6z+9gjhpMVhUDQw/lBJt zFnhra4MyyXRR0jGWuK7ZkHE8Ul8No8rvC1gnrxypOWpujiEgllw+AjOPH+wXXMllp2p PD77iZcktWWv+ItmEdYMnkkbiqDVun1G7LogDq4uT+gseAhq8WZPVsnPRirs8Ytue4Gv 8eNQ== X-Gm-Message-State: AOJu0YwqCoPzbvLxSOPGUaIJSRz1OukPgCrdx/HFW/YH0Ah1HaVwBg7A l9haMIfNdM4h+2xNxefaLpGjmCq1inPSdqNdeAmvVLxsDtQFohyRkCUvvA== X-Gm-Gg: ASbGnctGR1TkOcyTf1XjaM5bKa4XuGUzVj/TBwHSj6EGasffSGS3SDuipGUZ+Rirsyw 3JnsAf+Wnfn3S7dIp6yAZeiTmv7PZa8cqjA6+/S0/96RNi9tgDapIS2o6vXgS7LFFF+LWWVLkYT eK6HJ/1ysc5KHce9ZH40UwW7HGM9Dc0kNA8ntDYWDoiu82fVJtM4THbJJE6fye+E7NfHAfCbpjj /JDYm4wOlshjiuO4v04dF8qhBa8/S8qvYg46iywgtVRTJRUU0b9EygugycpGp4mm37IvSYcIXiK sn87V+XfOgz9vosDQ57nSIHTSbblJetnTmt8Jqjw40nJ/pC+7RbBLVkUQUHVihYkFkOZcKqAzrk ZkHir9V+XDQida1RK3w== X-Google-Smtp-Source: AGHT+IH9utbdMsj0E9ZdpsH38XqjEYn49t7aN4j7qMxImHaTBFDQxBYBQNoei2XSFytdzLfD9RPNGA== X-Received: by 2002:a05:600c:4784:b0:439:8605:6d7c with SMTP id 5b1f17b1804b1-439a2864c3cmr74867015e9.0.1740174642334; Fri, 21 Feb 2025 13:50:42 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4399bea8577sm74601855e9.0.2025.02.21.13.50.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2025 13:50:41 -0800 (PST) From: Sharlatan Hellseher Date: Fri, 21 Feb 2025 21:49:43 +0000 Message-ID: X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/astronomy.scm (python-stcal): Update to 1.11.1. Fix build. [argumens] : Run tests in parallel. : Remove 'silent-check-for-opencv, add 'relax-requirements. [native-inputs]: Add python-pytest-xdist. Change-Id: I175d4fc3e52efdcad4eac0d8e05f7637245f8e92 --- gnu/packages/astronomy.scm | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 683e9b90bc4..928fe882c0c 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -5740,18 +5740,19 @@ (define-public python-stsci-stimage (define-public python-stcal (package (name "python-stcal") - (version "1.10.0") + (version "1.11.1") (source (origin (method url-fetch) (uri (pypi-uri "stcal" version)) (sha256 - (base32 "1h0vkc3nd77qm2ph1nihpd1n7dzr3d4rw2wga6j7siqjiwmphj3g")))) + (base32 "0xafli4b3wyimpaxmvb0h5bha5g5kg76s4hykk63wkxrjrd2m2vf")))) (build-system pyproject-build-system) (arguments (list #:test-flags - #~(list "-k" (string-join + #~(list "--numprocesses" (number->string (parallel-job-count)) + "-k" (string-join ;; Tests requiring network access. (list "not test_absolute_align" "test_relative_align[True]" @@ -5770,11 +5771,16 @@ (define-public python-stcal ;; contain the variable: error: ‘NPY_NTYPES_LEGACY’ undeclared ;; (first use in this function) ((".*NPY_NTYPES_LEGACY.*") "")))) - (add-before 'build 'silent-check-for-opencv + (add-before 'build 'relax-requirements (lambda _ - ;; XXX: Can't detect opencv-python version. The input opencv - ;; might not set the version correctly. (substitute* "pyproject.toml" + ;; Relax some requirements as all tests passed successfully. + ;; numpy>=1.25.0 + (("1.25.0") "1.24.4") + ;; scipy>=1.14.1 + (("1.14.1") "1.12.0") + ;; XXX: Can't detect opencv-python version. The input opencv + ;; might not set the version correctly. ((".*opencv-python-headless.*") "")))) (add-before 'check 'build-extensions (lambda _ @@ -5784,6 +5790,7 @@ (define-public python-stcal (list python-cython-3 python-psutil python-pytest + python-pytest-xdist python-pytest-doctestplus python-setuptools python-setuptools-scm