From unknown Wed Jun 18 23:17:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62038 <62038@debbugs.gnu.org> To: bug#62038 <62038@debbugs.gnu.org> Subject: Status: [PATCH 0/2] update python-hy Reply-To: bug#62038 <62038@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:17:09 +0000 retitle 62038 [PATCH 0/2] update python-hy reassign 62038 guix-patches submitter 62038 Jack Hill severity 62038 normal tag 62038 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 07 14:55:20 2023 Received: (at submit) by debbugs.gnu.org; 7 Mar 2023 19:55:20 +0000 Received: from localhost ([127.0.0.1]:47234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZdP6-00088T-3P for submit@debbugs.gnu.org; Tue, 07 Mar 2023 14:55:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:47290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZdP4-00088L-Ic for submit@debbugs.gnu.org; Tue, 07 Mar 2023 14:55:18 -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 1pZdP4-0008PZ-AD for guix-patches@gnu.org; Tue, 07 Mar 2023 14:55:18 -0500 Received: from minsky.hcoop.net ([104.248.1.95]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZdP2-0004i7-RZ for guix-patches@gnu.org; Tue, 07 Mar 2023 14:55:18 -0500 Received: from cpe-76-182-57-106.nc.res.rr.com ([76.182.57.106] helo=leyden.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pZdP1-0005XJ-KR for guix-patches@gnu.org; Tue, 07 Mar 2023 14:55:15 -0500 Date: Tue, 7 Mar 2023 14:55:14 -0500 (EST) From: Jack Hill To: guix-patches@gnu.org Subject: [PATCH 0/2] update python-hy Message-ID: <820c5bf3-4d3d-0a2e-298b-5b446cf08e94@jackhill.us> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi Guix, These patches update Hy to the latest non-alpha release and let Hy know it's version so that it can report it when invoked. Of note, several tests are skipped. I checked and, unfortunately, this release does not fix any of those failing tests. Best, Jack Jack Hill (2): gnu: python-hy: Update to 0.26.0. gnu: python-hy: Report version. gnu/packages/python-xyz.scm | 42 ++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 15 deletions(-) -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 07 14:57:54 2023 Received: (at 62038) by debbugs.gnu.org; 7 Mar 2023 19:57:54 +0000 Received: from localhost ([127.0.0.1]:47240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZdRZ-0008Ce-JA for submit@debbugs.gnu.org; Tue, 07 Mar 2023 14:57:53 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:35984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZdRY-0008CM-4J for 62038@debbugs.gnu.org; Tue, 07 Mar 2023 14:57:52 -0500 Received: from [2001:470:8:9f5:e878:315c:5ed6:89d] (helo=leyden.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pZdRS-0005dH-W7 for 62038@debbugs.gnu.org; Tue, 07 Mar 2023 14:57:47 -0500 From: Jack Hill To: 62038@debbugs.gnu.org Subject: [PATCH 1/2] gnu: python-hy: Update to 0.26.0. Date: Tue, 7 Mar 2023 14:57:35 -0500 Message-Id: <20230307195736.29985-1-jackhill@jackhill.us> X-Mailer: git-send-email 2.39.1 In-Reply-To: <820c5bf3-4d3d-0a2e-298b-5b446cf08e94@jackhill.us> References: <820c5bf3-4d3d-0a2e-298b-5b446cf08e94@jackhill.us> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62038 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyx.scm (python-hy): Update to 0.26.0. [propagated-inputs]: Remove python-colorama. --- gnu/packages/python-xyz.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index db9067e699..7a1866314e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15008,7 +15008,7 @@ (define-public python-rply (define-public python-hy (package (name "python-hy") - (version "0.25.0") + (version "0.26.0") (source (origin (method git-fetch) ; no tests in PyPI release @@ -15017,7 +15017,7 @@ (define-public python-hy (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1am6z9m0s9svysj0wrfz069rpvbqqimphqll3912q4bvdlz6vrjp")))) + (base32 "1czhh7s81sg0nrnf4zv0ydqi4f7s6sywf4ks4fd59vpx441ca39v")))) (build-system python-build-system) (arguments '(#:phases @@ -15034,7 +15034,7 @@ (define-public python-hy (native-inputs (list python-pytest-7.1 python-wheel)) (propagated-inputs - (list python-colorama python-funcparserlib)) + (list python-funcparserlib)) (home-page "https://docs.hylang.org/en/stable/") (synopsis "Lisp frontend to Python") (description -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 07 14:57:54 2023 Received: (at 62038) by debbugs.gnu.org; 7 Mar 2023 19:57:54 +0000 Received: from localhost ([127.0.0.1]:47242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZdRa-0008Ci-0J for submit@debbugs.gnu.org; Tue, 07 Mar 2023 14:57:54 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:35988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZdRY-0008CN-A7 for 62038@debbugs.gnu.org; Tue, 07 Mar 2023 14:57:52 -0500 Received: from [2001:470:8:9f5:e878:315c:5ed6:89d] (helo=leyden.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pZdRT-0005dH-5I for 62038@debbugs.gnu.org; Tue, 07 Mar 2023 14:57:47 -0500 From: Jack Hill To: 62038@debbugs.gnu.org Subject: [PATCH 2/2] gnu: python-hy: Report version. Date: Tue, 7 Mar 2023 14:57:36 -0500 Message-Id: <20230307195736.29985-2-jackhill@jackhill.us> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230307195736.29985-1-jackhill@jackhill.us> References: <820c5bf3-4d3d-0a2e-298b-5b446cf08e94@jackhill.us> <20230307195736.29985-1-jackhill@jackhill.us> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62038 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-hy)[arguments]{phases}: Add set-version and remove-installed-build-scripts. --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7a1866314e..88138db1f4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -58,7 +58,7 @@ ;;; Copyright © 2015, 2018 Pjotr Prins ;;; Copyright © 2019, 2020 Brett Gilio ;;; Copyright © 2019 Sam -;;; Copyright © 2019 Jack Hill +;;; Copyright © 2019, 2023 Jack Hill ;;; Copyright © 2019, 2020, 2021, 2022 Guillaume Le Vaillant ;;; Copyright © 2019, 2020 Alex Griffin ;;; Copyright © 2019, 2020, 2021, 2022 Pierre Langlois @@ -15020,17 +15020,29 @@ (define-public python-hy (base32 "1czhh7s81sg0nrnf4zv0ydqi4f7s6sywf4ks4fd59vpx441ca39v")))) (build-system python-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "pytest" "-k" - (string-append ; skip some failed tests - "not test_sys_executable" - " and not test_circular_macro_require" - " and not test_macro_require" - " and not test_requires_pollutes_core")))))))) + (list + #:phases + #~(modify-phases %standard-phases + ;; Hy includes a script that writes a version.py file the Hy uses to + ;; report its version. That script uses information from the git + ;; repository or the HY_VERSION environment variable. Therefore, + ;; these phases et HY_VERSION and then remove the support scripts + ;; which get installed in the root of the output. + (add-after 'unpack 'set-version + (lambda _ + (setenv "HY_VERSION" #$version))) + (add-after 'install 'remove-installed-build-scripts + (lambda _ + (delete-file-recursively (string-append #$output "/get_version")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" "-k" + (string-append ; skip some failed tests + "not test_sys_executable" + " and not test_circular_macro_require" + " and not test_macro_require" + " and not test_requires_pollutes_core")))))))) (native-inputs (list python-pytest-7.1 python-wheel)) (propagated-inputs -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 18:15:50 2023 Received: (at 62038) by debbugs.gnu.org; 16 Mar 2023 22:15:50 +0000 Received: from localhost ([127.0.0.1]:43280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcvt0-0008Os-DA for submit@debbugs.gnu.org; Thu, 16 Mar 2023 18:15:50 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:47092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcvsz-0008Od-6E for 62038@debbugs.gnu.org; Thu, 16 Mar 2023 18:15:49 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcvss-0006hk-4x for 62038@debbugs.gnu.org; Thu, 16 Mar 2023 18:15:42 -0400 Date: Thu, 16 Mar 2023 18:15:41 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: 62038@debbugs.gnu.org Subject: [PATCH v2 0/2] python-hy update v2 (typo fix) Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62038 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sending a v2 of this patch series becasue I noticed I typo I made in the code comment. The changes have otherwise not be modified. Jack Hill (2): gnu: python-hy: Update to 0.26.0. gnu: python-hy: Report version. gnu/packages/python-xyz.scm | 42 ++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 15 deletions(-) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 18:17:53 2023 Received: (at 62038) by debbugs.gnu.org; 16 Mar 2023 22:17:53 +0000 Received: from localhost ([127.0.0.1]:43285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcvuy-0008SL-QZ for submit@debbugs.gnu.org; Thu, 16 Mar 2023 18:17:53 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:38500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcvux-0008S3-A7 for 62038@debbugs.gnu.org; Thu, 16 Mar 2023 18:17:51 -0400 Received: from libre-01.lib.duke.edu ([152.3.119.171] helo=localhost.localdomain) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcvus-0006kK-67 for 62038@debbugs.gnu.org; Thu, 16 Mar 2023 18:17:46 -0400 From: Jack Hill To: 62038@debbugs.gnu.org Subject: [PATCH v2 1/2] gnu: python-hy: Update to 0.26.0. Date: Thu, 16 Mar 2023 18:17:33 -0400 Message-Id: <20230316221734.23689-1-jackhill@jackhill.us> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62038 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyx.scm (python-hy): Update to 0.26.0. [propagated-inputs]: Remove python-colorama. --- gnu/packages/python-xyz.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 83f3ec02ea..509bfa77d6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15027,7 +15027,7 @@ (define-public python-rply (define-public python-hy (package (name "python-hy") - (version "0.25.0") + (version "0.26.0") (source (origin (method git-fetch) ; no tests in PyPI release @@ -15036,7 +15036,7 @@ (define-public python-hy (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1am6z9m0s9svysj0wrfz069rpvbqqimphqll3912q4bvdlz6vrjp")))) + (base32 "1czhh7s81sg0nrnf4zv0ydqi4f7s6sywf4ks4fd59vpx441ca39v")))) (build-system python-build-system) (arguments '(#:phases @@ -15053,7 +15053,7 @@ (define-public python-hy (native-inputs (list python-pytest-7.1 python-wheel)) (propagated-inputs - (list python-colorama python-funcparserlib)) + (list python-funcparserlib)) (home-page "https://docs.hylang.org/en/stable/") (synopsis "Lisp frontend to Python") (description -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 18:17:53 2023 Received: (at 62038) by debbugs.gnu.org; 16 Mar 2023 22:17:53 +0000 Received: from localhost ([127.0.0.1]:43287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcvuz-0008SN-4D for submit@debbugs.gnu.org; Thu, 16 Mar 2023 18:17:53 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:38508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcvux-0008S4-DQ for 62038@debbugs.gnu.org; Thu, 16 Mar 2023 18:17:52 -0400 Received: from libre-01.lib.duke.edu ([152.3.119.171] helo=localhost.localdomain) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcvus-0006kK-9t for 62038@debbugs.gnu.org; Thu, 16 Mar 2023 18:17:46 -0400 From: Jack Hill To: 62038@debbugs.gnu.org Subject: [PATCH v2 2/2] gnu: python-hy: Report version. Date: Thu, 16 Mar 2023 18:17:34 -0400 Message-Id: <20230316221734.23689-2-jackhill@jackhill.us> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230316221734.23689-1-jackhill@jackhill.us> References: <20230316221734.23689-1-jackhill@jackhill.us> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62038 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-hy)[arguments]{phases}: Add set-version and remove-installed-build-scripts. --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 509bfa77d6..3dc1a0834c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -58,7 +58,7 @@ ;;; Copyright © 2015, 2018 Pjotr Prins ;;; Copyright © 2019, 2020 Brett Gilio ;;; Copyright © 2019 Sam -;;; Copyright © 2019 Jack Hill +;;; Copyright © 2019, 2023 Jack Hill ;;; Copyright © 2019, 2020, 2021, 2022 Guillaume Le Vaillant ;;; Copyright © 2019, 2020 Alex Griffin ;;; Copyright © 2019, 2020, 2021, 2022 Pierre Langlois @@ -15039,17 +15039,29 @@ (define-public python-hy (base32 "1czhh7s81sg0nrnf4zv0ydqi4f7s6sywf4ks4fd59vpx441ca39v")))) (build-system python-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "pytest" "-k" - (string-append ; skip some failed tests - "not test_sys_executable" - " and not test_circular_macro_require" - " and not test_macro_require" - " and not test_requires_pollutes_core")))))))) + (list + #:phases + #~(modify-phases %standard-phases + ;; Hy includes a script that writes a version.py file that Hy uses to + ;; report its version. That script uses information from the git + ;; repository or the HY_VERSION environment variable. Therefore, + ;; these phases et HY_VERSION and then remove the support scripts + ;; which get installed in the root of the output. + (add-after 'unpack 'set-version + (lambda _ + (setenv "HY_VERSION" #$version))) + (add-after 'install 'remove-installed-build-scripts + (lambda _ + (delete-file-recursively (string-append #$output "/get_version")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" "-k" + (string-append ; skip some failed tests + "not test_sys_executable" + " and not test_circular_macro_require" + " and not test_macro_require" + " and not test_requires_pollutes_core")))))))) (native-inputs (list python-pytest-7.1 python-wheel)) (propagated-inputs -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 18:23:25 2023 Received: (at 62038) by debbugs.gnu.org; 16 Mar 2023 22:23:25 +0000 Received: from localhost ([127.0.0.1]:43292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcw0L-0000A4-1q for submit@debbugs.gnu.org; Thu, 16 Mar 2023 18:23:25 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:52276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcw0J-00009s-K4 for 62038@debbugs.gnu.org; Thu, 16 Mar 2023 18:23:23 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcw0E-0006wp-8x for 62038@debbugs.gnu.org; Thu, 16 Mar 2023 18:23:18 -0400 Date: Thu, 16 Mar 2023 18:23:18 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: 62038@debbugs.gnu.org Subject: [PATCH v3 0/2] python-hy update v3 (another typo fix) In-Reply-To: Message-ID: References: <820c5bf3-4d3d-0a2e-298b-5b446cf08e94@jackhill.us> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62038 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Oops, I found yet another typo fix in the code comment. Here's a v3 Jack Hill (2): gnu: python-hy: Update to 0.26.0. gnu: python-hy: Report version. gnu/packages/python-xyz.scm | 42 ++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 15 deletions(-) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 18:24:41 2023 Received: (at 62038) by debbugs.gnu.org; 16 Mar 2023 22:24:41 +0000 Received: from localhost ([127.0.0.1]:43297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcw1Z-0000CM-CX for submit@debbugs.gnu.org; Thu, 16 Mar 2023 18:24:41 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:45470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcw1Y-0000C4-2H for 62038@debbugs.gnu.org; Thu, 16 Mar 2023 18:24:40 -0400 Received: from libre-01.lib.duke.edu ([152.3.119.171] helo=localhost.localdomain) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcw1S-0006z7-Up for 62038@debbugs.gnu.org; Thu, 16 Mar 2023 18:24:35 -0400 From: Jack Hill To: 62038@debbugs.gnu.org Subject: [PATCH v3 2/2] gnu: python-hy: Report version. Date: Thu, 16 Mar 2023 18:24:23 -0400 Message-Id: <20230316222423.23757-2-jackhill@jackhill.us> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230316222423.23757-1-jackhill@jackhill.us> References: <20230316222423.23757-1-jackhill@jackhill.us> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62038 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-hy)[arguments]{phases}: Add set-version and remove-installed-build-scripts. --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 509bfa77d6..a5a2048fb5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -58,7 +58,7 @@ ;;; Copyright © 2015, 2018 Pjotr Prins ;;; Copyright © 2019, 2020 Brett Gilio ;;; Copyright © 2019 Sam -;;; Copyright © 2019 Jack Hill +;;; Copyright © 2019, 2023 Jack Hill ;;; Copyright © 2019, 2020, 2021, 2022 Guillaume Le Vaillant ;;; Copyright © 2019, 2020 Alex Griffin ;;; Copyright © 2019, 2020, 2021, 2022 Pierre Langlois @@ -15039,17 +15039,29 @@ (define-public python-hy (base32 "1czhh7s81sg0nrnf4zv0ydqi4f7s6sywf4ks4fd59vpx441ca39v")))) (build-system python-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "pytest" "-k" - (string-append ; skip some failed tests - "not test_sys_executable" - " and not test_circular_macro_require" - " and not test_macro_require" - " and not test_requires_pollutes_core")))))))) + (list + #:phases + #~(modify-phases %standard-phases + ;; Hy includes a script that writes a version.py file that Hy uses to + ;; report its version. That script uses information from the git + ;; repository or the HY_VERSION environment variable. Therefore, + ;; these phases set HY_VERSION and then remove the support scripts + ;; which get installed in the root of the output. + (add-after 'unpack 'set-version + (lambda _ + (setenv "HY_VERSION" #$version))) + (add-after 'install 'remove-installed-build-scripts + (lambda _ + (delete-file-recursively (string-append #$output "/get_version")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" "-k" + (string-append ; skip some failed tests + "not test_sys_executable" + " and not test_circular_macro_require" + " and not test_macro_require" + " and not test_requires_pollutes_core")))))))) (native-inputs (list python-pytest-7.1 python-wheel)) (propagated-inputs -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 18:24:42 2023 Received: (at 62038) by debbugs.gnu.org; 16 Mar 2023 22:24:42 +0000 Received: from localhost ([127.0.0.1]:43299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcw1Z-0000CQ-TH for submit@debbugs.gnu.org; Thu, 16 Mar 2023 18:24:42 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:45466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcw1X-0000C3-VQ for 62038@debbugs.gnu.org; Thu, 16 Mar 2023 18:24:41 -0400 Received: from libre-01.lib.duke.edu ([152.3.119.171] helo=localhost.localdomain) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcw1S-0006z7-RA for 62038@debbugs.gnu.org; Thu, 16 Mar 2023 18:24:34 -0400 From: Jack Hill To: 62038@debbugs.gnu.org Subject: [PATCH v3 1/2] gnu: python-hy: Update to 0.26.0. Date: Thu, 16 Mar 2023 18:24:22 -0400 Message-Id: <20230316222423.23757-1-jackhill@jackhill.us> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62038 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyx.scm (python-hy): Update to 0.26.0. [propagated-inputs]: Remove python-colorama. --- gnu/packages/python-xyz.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 83f3ec02ea..509bfa77d6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15027,7 +15027,7 @@ (define-public python-rply (define-public python-hy (package (name "python-hy") - (version "0.25.0") + (version "0.26.0") (source (origin (method git-fetch) ; no tests in PyPI release @@ -15036,7 +15036,7 @@ (define-public python-hy (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1am6z9m0s9svysj0wrfz069rpvbqqimphqll3912q4bvdlz6vrjp")))) + (base32 "1czhh7s81sg0nrnf4zv0ydqi4f7s6sywf4ks4fd59vpx441ca39v")))) (build-system python-build-system) (arguments '(#:phases @@ -15053,7 +15053,7 @@ (define-public python-hy (native-inputs (list python-pytest-7.1 python-wheel)) (propagated-inputs - (list python-colorama python-funcparserlib)) + (list python-funcparserlib)) (home-page "https://docs.hylang.org/en/stable/") (synopsis "Lisp frontend to Python") (description -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 03 12:40:27 2023 Received: (at 62038-done) by debbugs.gnu.org; 3 Apr 2023 16:40:27 +0000 Received: from localhost ([127.0.0.1]:45105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjNEI-0000UL-On for submit@debbugs.gnu.org; Mon, 03 Apr 2023 12:40:26 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:39767) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjNEG-0000U2-MP for 62038-done@debbugs.gnu.org; Mon, 03 Apr 2023 12:40:25 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 5F92260005; Mon, 3 Apr 2023 16:40:18 +0000 (UTC) From: Nicolas Goaziou To: Jack Hill Subject: Re: [bug#62038] [PATCH v3 0/2] python-hy update v3 (another typo fix) References: <820c5bf3-4d3d-0a2e-298b-5b446cf08e94@jackhill.us> Date: Mon, 03 Apr 2023 18:40:12 +0200 In-Reply-To: (Jack Hill's message of "Thu, 16 Mar 2023 18:23:18 -0400 (EDT)") Message-ID: <87r0t0or6b.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62038-done Cc: 62038-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Jack Hill writes: > Oops, I found yet another typo fix in the code comment. Here's a v3 Applied. Thank you. Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 03 13:59:58 2023 Received: (at 62038-done) by debbugs.gnu.org; 3 Apr 2023 17:59:59 +0000 Received: from localhost ([127.0.0.1]:45196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjOTG-0005HU-Me for submit@debbugs.gnu.org; Mon, 03 Apr 2023 13:59:58 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:40190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjOTF-0005HI-Hp for 62038-done@debbugs.gnu.org; Mon, 03 Apr 2023 13:59:57 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pjOTA-0005ax-45; Mon, 03 Apr 2023 13:59:52 -0400 Date: Mon, 3 Apr 2023 13:59:51 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: Nicolas Goaziou Subject: Re: bug#62038: [PATCH v3 0/2] python-hy update v3 (another typo fix) In-Reply-To: <87r0t0or6b.fsf@nicolasgoaziou.fr> Message-ID: References: <820c5bf3-4d3d-0a2e-298b-5b446cf08e94@jackhill.us> <87r0t0or6b.fsf@nicolasgoaziou.fr> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62038-done Cc: guix-patches@gnu.org, 62038-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mon, 3 Apr 2023, Nicolas Goaziou wrote: > Hello, > > Jack Hill writes: > >> Oops, I found yet another typo fix in the code comment. Here's a v3 > > Applied. Thank you. Great, thank you! From unknown Wed Jun 18 23:17:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 02 May 2023 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator