From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eFlyJWG602FjEQAAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 04:09:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ECvUImG602EXOgAA9RJhRA (envelope-from ) for ; Tue, 04 Jan 2022 04:09:21 +0100 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 54178E4F7 for ; Tue, 4 Jan 2022 04:09:20 +0100 (CET) Received: from localhost ([::1]:56570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4aCN-00064c-0b for larch@yhetil.org; Mon, 03 Jan 2022 22:09:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4aC6-00062A-1m for guix-patches@gnu.org; Mon, 03 Jan 2022 22:09:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4aC5-0008Jz-P7 for guix-patches@gnu.org; Mon, 03 Jan 2022 22:09:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4aC5-00010q-JG for guix-patches@gnu.org; Mon, 03 Jan 2022 22:09:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52991] [PATCH] gnu: Add python-astral Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 Jan 2022 03:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52991 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Disseminate Dissent , 52991@debbugs.gnu.org Received: via spool by 52991-submit@debbugs.gnu.org id=B52991.16412657033838 (code B ref 52991); Tue, 04 Jan 2022 03:09:01 +0000 Received: (at 52991) by debbugs.gnu.org; 4 Jan 2022 03:08:23 +0000 Received: from localhost ([127.0.0.1]:36666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4aBT-0000zq-Hv for submit@debbugs.gnu.org; Mon, 03 Jan 2022 22:08:23 -0500 Received: from mout02.posteo.de ([185.67.36.66]:55729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4aBR-0000za-1S for 52991@debbugs.gnu.org; Mon, 03 Jan 2022 22:08:21 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D915E240101 for <52991@debbugs.gnu.org>; Tue, 4 Jan 2022 04:08:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1641265694; bh=nJDLs9yURv2a/Q2tJ7ev2gQVCxjeAEK7fwAAAf7Sa2A=; h=Subject:From:To:Date:From; b=Cm0gFNJQ/iCRIxMXyduugBv0ZWoe6V9hOv8fPf3GvQGW/vpbuETzUEjQMRFIcFzwp b0txQDsfOSRDeTWZwv3/yReC+TuS7wSA2bNTIneqYYihPUh4mqTDyX2B/TjjCkYS3a qg6i03lp2OuZ3edsCvJUqFOdX7PZ14MoeI+ZOKLzaVcW9VMoLkrxs6rX+NE3nUiDC5 tVZ0PADbDGadhIEVMfuz/hWGjAZ3xwz5U7Woh4MRCkQNCNbILLN4dMHCGlRDlOEAIK fm2sf2y8VTYP8Lmu5NMwIleQrIydwXR4GGUz7F7/dxyniooQo9R+IjtsJPSNNL4952 uEQgXTEvp5Vaw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JScxm5WBnz9rwn; Tue, 4 Jan 2022 04:08:12 +0100 (CET) Message-ID: <27c76bb8372bf201724f26a79c30ccee9ed0d124.camel@posteo.net> From: Vinicius Monego Date: Tue, 04 Jan 2022 03:08:03 +0000 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641265760; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=w5HdhQFmt2jy2xIIRxRdsm4NGQ+u39VKq1kb/8FvwaE=; b=qSQ/vt9a2kK++wbF9Q8Sgc9stc2lXR2K8nuWj0KqKYyT9fUsOAINYtaDZWI4+njb6GxAbF //A3HKfmvmsM2gJzG28ktYrZOn6ualcsxHHeUBjtnMkRdekW8Y+2JnkCTvrqu/gwG8m5gM SotKKHtRMcIDxUdDBMglS7QBhZTUHPNjicSD1TUD8qDz3ZLh33SZHqGigII5l6yf5COtSO 6Yvbz8Fg8X59tc3BNY2s8eHNs8uf7GkhYTRlo/JYdBw4aa0e7xMa8nn+AcUA+z12Ynx/P4 1Xt6ycBffVqpW51tTaJo2fzLpYYLc5dTLD4u8byl17Rw6zlRQHnHbq5+B1ltrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641265760; a=rsa-sha256; cv=none; b=E698CwHcarmqi47A6hr7O94OZ2TF4UzmnW5jvdMTQWa1yrbTD3NXDHD2K5j+TS6HXzigka Loy8j9F9KSaNH8k8eiDE6+OCA3+e6O+BIZF26T6GD03RCk1dv8Z1HQmWuxTCBgjuMvVoze Y+bUrgGUDZQ7GePOZJEEeteK3WVPdwwNN6NuPo/wDmL8MGA/ALcSD9oTTzRAyhS7y2B//g 6WQgBFeLFby0JHqhb5IGOcQQ8uuibA2QP7MXq1abgu8kN3x/abzKVyBTM13gWMtBjuYaZv 08c+Y8Skl2zD2tQO56appmF9Lqb2VwYdKavxhMEjfkzyAna5SrRSnobRbGC/bA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Cm0gFNJQ; 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-Migadu-Spam-Score: -2.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Cm0gFNJQ; 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-Migadu-Queue-Id: 54178E4F7 X-Spam-Score: -2.19 X-Migadu-Scanner: scn1.migadu.com X-TUID: RbEyu5Vx597q Hello, > ;; FIXME The directory '/homeless-shelter/.cache/pip' or its parent > directory is not owned or is not writable by the current user. The > cache has been disabled. Check the permissions and owner of that > directory. If executing pip with sudo, you should use sudo's -H flag. This can be fixed by overriding the check phase and calling pytest manually: > (arguments > `(#:phases > (modify-phases %standard-phases > (replace 'check > (lambda* (#:key inputs outputs tests? #:allow-other-keys) > (when tests? > (add-installed-pythonpath inputs outputs) > (invoke "python" "-m" "pytest"))))))) I also adjusted the inputs as: > (native-inputs > (list python-freezegun python-setuptools-scm)) > (propagated-inputs > (list python-dataclasses python-pytest python-pytz)) When the package is a module, all runtime inputs should be propagated. I also removed python-requests since it was not being used. > + (description "This is @code{astral} a Python module which > calculates times > + for various positions of the sun: dawn, sunrise, solar noon, > sunset, dusk, > +solar elevation, solar azimuth, rahukaalam, and the phases of the > moon.") I'd reword it starting with "@code{astral} is a Python module ..." The indentation is also off. If you're using Emacs you can use one of its indent commands to fix it. Could you send a v2 with these changes?