From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MJeZK1pAb2XaawEA9RJhRA:P1 (envelope-from ) for ; Tue, 05 Dec 2023 16:23:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MJeZK1pAb2XaawEA9RJhRA (envelope-from ) for ; Tue, 05 Dec 2023 16:23:06 +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 5A4E23B7ED for ; Tue, 5 Dec 2023 16:23:06 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PDW35qA8; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701789786; 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=BZhlkpX4w59FE63yd0PqqgBSRDc4fu8j9xQ76ex2x4s=; b=KEYLoJxipot/wHjLL1APFM/RhGOwa3uVYb28LtWUx0Q+w5x/9fHmeXPhmd/VO6cFImF3us 9wAH5u/gYU3SlwHjjCjTiPaiF6xqYoqnjeImXvU/U+6Rohz7+rrDWxSwkU3unzq/OFRl2Y u8/aGKo3zcVgFC8DNnmgxkDrWcjJbBJui5/tboWjynL2vQ+Q8QXyKtkOMJ4ShSx2ymsz+5 vclspMg3TvuwzH9tKtL4y3OmWT1NSiJ20Msee59AtrUofarhBMg/2gAaJz1NyBWvJa19t+ DL7T7XC2GIZEF7hFKGGgjzfASEKgJA95vlXdqwwozpipQi/CbNpiF13qGdR5tQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701789786; a=rsa-sha256; cv=none; b=tnymxvF6WwOe6V0uj5g2qv+PWjMZxnlk3M18fFDs4/E7nogk55HBanM+0XovYuCURCgnM+ VEpgRv2PIGzd636cxNb/Qcywjm+Xv7+dUbXEuZECmMFBVfMHhZcfJelhnpR72RYGyX3tk6 UL5jfHwzd1Ft6FeWGqorLh1RASMVGevHQkekzTKXRLo7CEaLh0Rjl6Tl+ls9aXGFkTgMKv 4vPr9pXtBxksRQsGcL9iF/y0pix4SRLj6lhbfyKozbA6ZPnobW8N+tO1qe/Fh89WFZFBqC gyt8de6S77eDI6gB63oKeDEwBP/IdOKZnZok/Y628fBHvZwFn9+FAqCHgljuiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PDW35qA8; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rAXG9-00053H-DO; Tue, 05 Dec 2023 10:22:53 -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 1rAXG8-00052j-D9 for guix-patches@gnu.org; Tue, 05 Dec 2023 10:22:52 -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 1rAXG8-00052o-5N for guix-patches@gnu.org; Tue, 05 Dec 2023 10:22:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rAXGJ-0006Mu-2b for guix-patches@gnu.org; Tue, 05 Dec 2023 10:23:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67642] [PATCH 2/5] gnu: Add hatch. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Dec 2023 15:23:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67642 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67642@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 67642-submit@debbugs.gnu.org id=B67642.170178978124466 (code B ref 67642); Tue, 05 Dec 2023 15:23:03 +0000 Received: (at 67642) by debbugs.gnu.org; 5 Dec 2023 15:23:01 +0000 Received: from localhost ([127.0.0.1]:38056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAXGH-0006MX-Az for submit@debbugs.gnu.org; Tue, 05 Dec 2023 10:23:01 -0500 Received: from mout02.posteo.de ([185.67.36.66]:46533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAXGC-0006Lx-94 for 67642@debbugs.gnu.org; Tue, 05 Dec 2023 10:22:58 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1FC09240103 for <67642@debbugs.gnu.org>; Tue, 5 Dec 2023 16:22:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1701789759; bh=Yzsvr9gbNQ55z6K3D++xakHz0+CWi1ha5VGQiJ8VSTw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=PDW35qA8PaHhpPLDTVw0+8zhBDuyF5Xydo/OAvxsh/smWhyRp63HdkW629L1MUCkJ 5f1JeFrEETztnVgAYqn/JB/W3Z50bkswKajPRUcnqtb0e6wCAlLZoics51bhre5J/d 6V3WwZUXNNvnSrcM8AYAxOEkXPpeS90K7ndwJ/yrj/UNyZLvxifJes9VoPp0n+400p AVCkt2xKuUdQBQNaEiLEVt61hHGUwL83uollUh6bi2Nx0V4ejqJ+9rDk1HGiO2ua43 vRb3zvas6WLYX4Fi01ggxkAJlS+bo9rt4XV+u023cxclJ21fPfz1JkpRVsPIUwyGw5 DJODr2ZGSwaCQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Sl4661nLkz6twf; Tue, 5 Dec 2023 16:22:38 +0100 (CET) From: Vinicius Monego Date: Tue, 5 Dec 2023 15:21:55 +0000 Message-Id: <524bfa0f56c3f6c46a81e2957adc109baf12b410.1701788624.git.monego@posteo.net> 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.25 X-Spam-Score: -2.25 X-Migadu-Queue-Id: 5A4E23B7ED X-TUID: w6nWPUVyM9fU * gnu/packages/python-xyz.scm (hatch): New variable. Change-Id: Iff0f0e8e8451277e468b7c3054540eca8d25e321 --- gnu/packages/python-xyz.scm | 77 +++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c233479e0c..28dbea691f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30028,6 +30028,83 @@ (define-public python-userpath (description "This package provides a tool for modifying a user's PATH.") (license license:expat))) +(define-public hatch + (package + (name "hatch") + (version "1.7.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hatch" version)) + (sha256 + (base32 "0ipvj1pxdb6wb1sblh22h9gnh6byjnwcl7hfcnk88dmkslgp1z3s")) + (modules '((guix build utils))) + (snippet '(substitute* "pyproject.toml" + ;; We have virtualenv 20.3.1. + (("virtualenv>=20.16.2") + "virtualenv>=20.3.1"))))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; XXX: tests below fail due to zipfile reporting incorrect zip dates. + #~(list "-k" + (string-append + "not " + (string-join + (list "test_default" + "test_explicit_path" + "test_editable_default" + "test_editable_default_dependencies" + "test_editable_default_force_include" + "test_editable_default_force_include_option" + "test_editable_exact" + "test_editable_exact_extra_dependencies" + "test_editable_exact_force_include" + "test_editable_exact_force_include_option" + "test_editable_exact_force_include_build_data_precedence" + "test_editable_pth") + " and not "))) + #:phases #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (setenv "HOME" "/tmp")))))) + (native-inputs (list git-minimal + python-pytest + python-pytest-mock + python-pytest-xdist)) + (propagated-inputs (list python-click + python-hatchling + python-httpx + python-hyperlink + python-keyring + python-packaging + python-pexpect + python-platformdirs + python-pyperclip + python-rich + python-shellingham + python-tomli-w + python-tomlkit + python-userpath + python-virtualenv)) + (home-page "https://hatch.pypa.io/latest/") + (synopsis "Python project management") + (description "Hatch is a modern, extensible Python project manager. + +Features + +@itemize +@item Standardized build system with reproducible builds by default +@item Robust environment management with support for custom scripts +@item Configurable Python distribution management +@item Easy publishing to PyPI or other indexes +@item Version management +@item Configurable project generation with sane defaults +@item Responsive CLI, ~2-3x faster than equivalent tools +@end itemize") + (license license:expat))) + (define-public python-nestedtext (package (name "python-nestedtext") -- 2.39.2