From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yAbFEXsvxWZwgAEAe85BDQ:P1 (envelope-from ) for ; Wed, 21 Aug 2024 00:06:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id yAbFEXsvxWZwgAEAe85BDQ (envelope-from ) for ; Wed, 21 Aug 2024 02:06:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=VB6AGPHJ; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=iwrmoQAV; dmarc=fail reason="SPF not aligned (relaxed), DKIM 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=1724198779; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=EMF4rnGFtJkpIOVxD9MrgqSCnfzAdFR9Q/VvmQQurOc=; b=QIMzzecHVnUzS93DzYaKtrSz/XEw6hFmKgK97iSkk5oipl9UFEN+d/R7Vxnj/1+imLiXB1 fp7iTgGj4gzKojNgoCjuSPc3ieZlhiF5YuuLaCAKVk8887MvuLEkcKrq3IkLdSB6dDwm+P NU8tMMrO/ELhOUD2rqoIgeu/A7cEkqD+5fPeuGL7toHv/wGF/4cr/XEDv8LeeCBnGYHvXI 8bpMec4biJaFRsdh4nv9W2Bjg3bEsbz6O9x7STKYEiqpILLJKN4k4cS1DW5ivgK97u+JDu ojBM/qencU/1UvSHo020IMLRERwjtfAz6zGTaclJE9YXst/Sr5lWT5zITR768w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724198779; a=rsa-sha256; cv=none; b=N9xBSTFKOSGU5xgk+6L9nP5kUQTDMq0nWL5mV0j9OcZdy3Y7S6quHJD+YasDqMP7daN1pD LdDwbOCtWRlU4o297IYsvkwCScT/U8ZpDkKkfm/2k31KuXl6OzY8L2hIw5Am4wYmc2hiDy 63EMGF+nUK+DzwovkQ1BrjGKMXv0P926pwf9Onw2rW8cZhTT4BF5zEm4sC+Nb6yY9/sioo yTzH+AAtgSUBSj6ThGKBj47ui6FQWrQGy5mwpQ/D8DzceH+HdB2bM2YtS6kTRG2wxuuB1j J/pc3EUwFR0MPOhRHowm+DxASCO2n9QbMIHvIbN150GBTBN1R5WPxGeDaPV5GQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=VB6AGPHJ; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=iwrmoQAV; dmarc=fail reason="SPF not aligned (relaxed), DKIM 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" 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 0B52915380 for ; Wed, 21 Aug 2024 02:06:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sgYr1-0001t6-3W; Tue, 20 Aug 2024 20:05:35 -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 1sgYqu-0001nQ-Rd for guix-patches@gnu.org; Tue, 20 Aug 2024 20:05:30 -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 1sgYqu-0004wm-3O for guix-patches@gnu.org; Tue, 20 Aug 2024 20:05:28 -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=EMF4rnGFtJkpIOVxD9MrgqSCnfzAdFR9Q/VvmQQurOc=; b=VB6AGPHJ87nWhtq9H1AIGvOCUFbLVEku0LmQVQiye4fk//g/3s3dmo7Ie6B7Eep/91/RhhBWXyjaEEtvNtfi5O5zmarAecjwYY19Dh+v6z+HdX2AjYXJSR2WMSoPWJDDh9/ZWO8QILHl8bobwFmozsaUg2ddIHZUaIiP7TtRdolVByP39uqXoCyF/kBDxU1lXYSw5WDJLHv5qGcnpTRz8QKkQTDhvdPLdZmTkNmtgS5AKRl004GzSoxvOTQocHSIo7j4ZY1Tb60E8P0Nzd9Vp4YT/fQtCQU3qbC3boKZue8DUPr5g4xoBXCC5FGY4zAvnnXzj424XskuLlbAfKex0A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sgYrb-00039D-LR; Tue, 20 Aug 2024 20:06:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72741] [PATCH 20/32] gnu: python-stcal: Update to 1.8.0. 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: Wed, 21 Aug 2024 00:06:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72741 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72741@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 72741-submit@debbugs.gnu.org id=B72741.172419875711880 (code B ref 72741); Wed, 21 Aug 2024 00:06:11 +0000 Received: (at 72741) by debbugs.gnu.org; 21 Aug 2024 00:05:57 +0000 Received: from localhost ([127.0.0.1]:34355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgYrM-00035F-CB for submit@debbugs.gnu.org; Tue, 20 Aug 2024 20:05:57 -0400 Received: from mail-ed1-f52.google.com ([209.85.208.52]:60757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgYrE-00031h-H2 for 72741@debbugs.gnu.org; Tue, 20 Aug 2024 20:05:49 -0400 Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5bf009cf4c0so2852793a12.1 for <72741@debbugs.gnu.org>; Tue, 20 Aug 2024 17:05:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724198639; x=1724803439; 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=EMF4rnGFtJkpIOVxD9MrgqSCnfzAdFR9Q/VvmQQurOc=; b=iwrmoQAVIr6CXwkXfDlnlNPM9Iks9KljNjulglCgRCBhKwQdddKu/kQW504nm6B2h/ 0UjBxlnEFF4PppNR/ymEgZBXTF8ait5g9Dz5G0I+eT728ALj++XqrFF3+T4tiGqgI2BC A+qQWVJVQb7a9vXvme2FsGTWd3UvLBPFvRgjAKga8/wBZsGv24LOZc+lPdnjVP+dGqyx fg26X7xv7j3xKVaORde6aoOkE8YC2J+v7+yOE/DpBeVyHWjB6l1wXFhpt77/Hd45sRYF xioSQC9BiePOI94hIaeByDGfYqVNwtHFq/cjCLBO1Rc9vLpGz20qJLCdrKcdHztUgCzI NsbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724198639; x=1724803439; 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=EMF4rnGFtJkpIOVxD9MrgqSCnfzAdFR9Q/VvmQQurOc=; b=FG6M2KsCjohBBSIazAYkfAyYsMPDH/qYehChh348n3OZBj0KNi5eVQ/8lw8RiCa3ei TeuU+lZZVw2yr/aFCncFhXfmDunamTASaU+WFxJYriTm0SaP6p8ybrPPasUNfFl90m/b w1BHBueiy0QW/wLEKAgw4XqYsPTDdkgNgyIKQih73VwHOXnAIsu4nhCONq/z/R2gdZsq FsmST8BTSXjDR7ZrW9q0l0NwcyZerEKwaAwtv49PArPqw3yERG0pCLfjGFfUdamnloHp 5McAGa4ilcpjw7MrhL01kB03DKkoFkuN2x/Kh38TLRNxvSZhjklNfEsuoPr+7o0raN3/ M53A== X-Gm-Message-State: AOJu0YzsEP4Dj0fmVX/Gq3c/YHw5L+U9xAc3uyipGjMxBbS+m3WQxxnh 4ez7YUTOXkNCmKPA5MY7AM0skIxSiW/+DSjilUDwlvh+2CgbZPjj5HZb9HhF X-Google-Smtp-Source: AGHT+IH5z3NzdS+EniCEXWbdAIZqXfrdmfLUy+nWe/UCeCGqPSq2Qin4g/L4e8h5uwvKME8sURbkCA== X-Received: by 2002:a05:6402:5243:b0:5a1:83c4:c5a8 with SMTP id 4fb4d7f45d1cf-5bf1f0d5b41mr206719a12.14.1724198638794; Tue, 20 Aug 2024 17:03:58 -0700 (PDT) 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 4fb4d7f45d1cf-5bebc081cf5sm7314559a12.90.2024.08.20.17.03.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2024 17:03:58 -0700 (PDT) From: Sharlatan Hellseher Date: Wed, 21 Aug 2024 01:03:22 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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-Queue-Id: 0B52915380 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.91 X-Spam-Score: -7.91 X-TUID: naN4sj9xI9mi * gnu/packages/astronomy.scm (python-stcal): Update to 1.8.0. [arguments] <#:test-flags>: Disable some tests requiring network access. <#:phases>: Add 'patch-slope-fitter phase. [propagated-inputs]: Add python-drizzle, python-requests, python-scikit-image, and python-tweakwcs. [native-inputs]: Remove python-pytest-cov. Change-Id: Ibe7737a99dc8ef6a5219769e9ecbac1a0327d062 --- gnu/packages/astronomy.scm | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index bf43123538..1bb8356346 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -3703,18 +3703,35 @@ (define-public python-stsci-stimage (define-public python-stcal (package (name "python-stcal") - (version "1.7.1") + (version "1.8.0") (source (origin (method url-fetch) (uri (pypi-uri "stcal" version)) (sha256 - (base32 "003ygbfa25awvy2zjfxd1k4f1aklsvd53sdk7qa0w42v6ys2kabs")))) + (base32 "0vcq1462wdfi96qqsd5bidx38bbpnpcm18j6s761jz8ymi6vifap")))) (build-system pyproject-build-system) (arguments (list + #:test-flags + #~(list "-k" (string-append + ;; Tests requiring network access. + "not test_absolute_align" + " and not test_relative_align[True]" + " and not test_relative_align[False]" + " and not test_get_catalog" + " and not test_create_catalog" + " and not test_create_catalog_graceful_failure" + " and not test_parse_refcat")) #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-slope-fitter + (lambda _ + (substitute* "src/stcal/ramp_fitting/src/slope_fitter.c" + ;; It's failing to build, it looks like Guix's NumPy does not + ;; contain the variable: error: ‘NPY_NTYPES_LEGACY’ undeclared + ;; (first use in this function) + ((".*NPY_NTYPES_LEGACY.*") "")))) (add-before 'build 'silent-check-for-opencv (lambda _ ;; XXX: Can't detect opencv-python version. The input opencv @@ -3729,14 +3746,17 @@ (define-public python-stcal (list opencv ;Provides OpenCV-Python python-asdf python-astropy + python-drizzle python-gwcs python-numpy - python-scipy)) + python-requests + python-scikit-image + python-scipy + python-tweakwcs)) (native-inputs (list python-cython-3 python-psutil python-pytest - python-pytest-cov python-pytest-doctestplus python-setuptools-scm)) (home-page "https://github.com/spacetelescope/stcal") -- 2.41.0