* [bug#62038] [PATCH 0/2] update python-hy
@ 2023-03-07 19:55 Jack Hill
2023-03-07 19:57 ` [bug#62038] [PATCH 1/2] gnu: python-hy: Update to 0.26.0 Jack Hill
2023-03-16 22:15 ` [bug#62038] [PATCH v2 0/2] python-hy update v2 (typo fix) Jack Hill
0 siblings, 2 replies; 11+ messages in thread
From: Jack Hill @ 2023-03-07 19:55 UTC (permalink / raw)
To: 62038
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#62038] [PATCH 1/2] gnu: python-hy: Update to 0.26.0.
2023-03-07 19:55 [bug#62038] [PATCH 0/2] update python-hy Jack Hill
@ 2023-03-07 19:57 ` Jack Hill
2023-03-07 19:57 ` [bug#62038] [PATCH 2/2] gnu: python-hy: Report version Jack Hill
2023-03-16 22:15 ` [bug#62038] [PATCH v2 0/2] python-hy update v2 (typo fix) Jack Hill
1 sibling, 1 reply; 11+ messages in thread
From: Jack Hill @ 2023-03-07 19:57 UTC (permalink / raw)
To: 62038
* 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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#62038] [PATCH 2/2] gnu: python-hy: Report version.
2023-03-07 19:57 ` [bug#62038] [PATCH 1/2] gnu: python-hy: Update to 0.26.0 Jack Hill
@ 2023-03-07 19:57 ` Jack Hill
0 siblings, 0 replies; 11+ messages in thread
From: Jack Hill @ 2023-03-07 19:57 UTC (permalink / raw)
To: 62038
* 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 <pjotr.guix@thebird.nl>
;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2019 Sam <smbaines8@gmail.com>
-;;; Copyright © 2019 Jack Hill <jackhill@jackhill.us>
+;;; Copyright © 2019, 2023 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2019, 2020, 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2019, 2020, 2021, 2022 Pierre Langlois <pierre.langlois@gmx.com>
@@ -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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#62038] [PATCH v2 0/2] python-hy update v2 (typo fix)
2023-03-07 19:55 [bug#62038] [PATCH 0/2] update python-hy Jack Hill
2023-03-07 19:57 ` [bug#62038] [PATCH 1/2] gnu: python-hy: Update to 0.26.0 Jack Hill
@ 2023-03-16 22:15 ` Jack Hill
2023-03-16 22:17 ` [bug#62038] [PATCH v2 1/2] gnu: python-hy: Update to 0.26.0 Jack Hill
2023-03-16 22:23 ` [bug#62038] [PATCH v3 0/2] python-hy update v3 (another typo fix) Jack Hill
1 sibling, 2 replies; 11+ messages in thread
From: Jack Hill @ 2023-03-16 22:15 UTC (permalink / raw)
To: 62038
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#62038] [PATCH v2 1/2] gnu: python-hy: Update to 0.26.0.
2023-03-16 22:15 ` [bug#62038] [PATCH v2 0/2] python-hy update v2 (typo fix) Jack Hill
@ 2023-03-16 22:17 ` Jack Hill
2023-03-16 22:17 ` [bug#62038] [PATCH v2 2/2] gnu: python-hy: Report version Jack Hill
2023-03-16 22:23 ` [bug#62038] [PATCH v3 0/2] python-hy update v3 (another typo fix) Jack Hill
1 sibling, 1 reply; 11+ messages in thread
From: Jack Hill @ 2023-03-16 22:17 UTC (permalink / raw)
To: 62038
* 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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#62038] [PATCH v2 2/2] gnu: python-hy: Report version.
2023-03-16 22:17 ` [bug#62038] [PATCH v2 1/2] gnu: python-hy: Update to 0.26.0 Jack Hill
@ 2023-03-16 22:17 ` Jack Hill
0 siblings, 0 replies; 11+ messages in thread
From: Jack Hill @ 2023-03-16 22:17 UTC (permalink / raw)
To: 62038
* 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 <pjotr.guix@thebird.nl>
;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2019 Sam <smbaines8@gmail.com>
-;;; Copyright © 2019 Jack Hill <jackhill@jackhill.us>
+;;; Copyright © 2019, 2023 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2019, 2020, 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2019, 2020, 2021, 2022 Pierre Langlois <pierre.langlois@gmx.com>
@@ -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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#62038] [PATCH v3 0/2] python-hy update v3 (another typo fix)
2023-03-16 22:15 ` [bug#62038] [PATCH v2 0/2] python-hy update v2 (typo fix) Jack Hill
2023-03-16 22:17 ` [bug#62038] [PATCH v2 1/2] gnu: python-hy: Update to 0.26.0 Jack Hill
@ 2023-03-16 22:23 ` Jack Hill
2023-03-16 22:24 ` [bug#62038] [PATCH v3 1/2] gnu: python-hy: Update to 0.26.0 Jack Hill
2023-04-03 16:40 ` bug#62038: [PATCH v3 0/2] python-hy update v3 (another typo fix) Nicolas Goaziou
1 sibling, 2 replies; 11+ messages in thread
From: Jack Hill @ 2023-03-16 22:23 UTC (permalink / raw)
To: 62038
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#62038] [PATCH v3 1/2] gnu: python-hy: Update to 0.26.0.
2023-03-16 22:23 ` [bug#62038] [PATCH v3 0/2] python-hy update v3 (another typo fix) Jack Hill
@ 2023-03-16 22:24 ` Jack Hill
2023-03-16 22:24 ` [bug#62038] [PATCH v3 2/2] gnu: python-hy: Report version Jack Hill
2023-04-03 16:40 ` bug#62038: [PATCH v3 0/2] python-hy update v3 (another typo fix) Nicolas Goaziou
1 sibling, 1 reply; 11+ messages in thread
From: Jack Hill @ 2023-03-16 22:24 UTC (permalink / raw)
To: 62038
* 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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#62038] [PATCH v3 2/2] gnu: python-hy: Report version.
2023-03-16 22:24 ` [bug#62038] [PATCH v3 1/2] gnu: python-hy: Update to 0.26.0 Jack Hill
@ 2023-03-16 22:24 ` Jack Hill
0 siblings, 0 replies; 11+ messages in thread
From: Jack Hill @ 2023-03-16 22:24 UTC (permalink / raw)
To: 62038
* 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 <pjotr.guix@thebird.nl>
;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2019 Sam <smbaines8@gmail.com>
-;;; Copyright © 2019 Jack Hill <jackhill@jackhill.us>
+;;; Copyright © 2019, 2023 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2019, 2020, 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2019, 2020, 2021, 2022 Pierre Langlois <pierre.langlois@gmx.com>
@@ -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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* bug#62038: [PATCH v3 0/2] python-hy update v3 (another typo fix)
2023-03-16 22:23 ` [bug#62038] [PATCH v3 0/2] python-hy update v3 (another typo fix) Jack Hill
2023-03-16 22:24 ` [bug#62038] [PATCH v3 1/2] gnu: python-hy: Update to 0.26.0 Jack Hill
@ 2023-04-03 16:40 ` Nicolas Goaziou
2023-04-03 17:59 ` [bug#62038] " Jack Hill
1 sibling, 1 reply; 11+ messages in thread
From: Nicolas Goaziou @ 2023-04-03 16:40 UTC (permalink / raw)
To: Jack Hill; +Cc: 62038-done
Hello,
Jack Hill <jackhill@jackhill.us> writes:
> Oops, I found yet another typo fix in the code comment. Here's a v3
Applied. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#62038] [PATCH v3 0/2] python-hy update v3 (another typo fix)
2023-04-03 16:40 ` bug#62038: [PATCH v3 0/2] python-hy update v3 (another typo fix) Nicolas Goaziou
@ 2023-04-03 17:59 ` Jack Hill
0 siblings, 0 replies; 11+ messages in thread
From: Jack Hill @ 2023-04-03 17:59 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: 62038, 62038-done
On Mon, 3 Apr 2023, Nicolas Goaziou wrote:
> Hello,
>
> Jack Hill <jackhill@jackhill.us> writes:
>
>> Oops, I found yet another typo fix in the code comment. Here's a v3
>
> Applied. Thank you.
Great, thank you!
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2023-04-03 18:00 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-07 19:55 [bug#62038] [PATCH 0/2] update python-hy Jack Hill
2023-03-07 19:57 ` [bug#62038] [PATCH 1/2] gnu: python-hy: Update to 0.26.0 Jack Hill
2023-03-07 19:57 ` [bug#62038] [PATCH 2/2] gnu: python-hy: Report version Jack Hill
2023-03-16 22:15 ` [bug#62038] [PATCH v2 0/2] python-hy update v2 (typo fix) Jack Hill
2023-03-16 22:17 ` [bug#62038] [PATCH v2 1/2] gnu: python-hy: Update to 0.26.0 Jack Hill
2023-03-16 22:17 ` [bug#62038] [PATCH v2 2/2] gnu: python-hy: Report version Jack Hill
2023-03-16 22:23 ` [bug#62038] [PATCH v3 0/2] python-hy update v3 (another typo fix) Jack Hill
2023-03-16 22:24 ` [bug#62038] [PATCH v3 1/2] gnu: python-hy: Update to 0.26.0 Jack Hill
2023-03-16 22:24 ` [bug#62038] [PATCH v3 2/2] gnu: python-hy: Report version Jack Hill
2023-04-03 16:40 ` bug#62038: [PATCH v3 0/2] python-hy update v3 (another typo fix) Nicolas Goaziou
2023-04-03 17:59 ` [bug#62038] " Jack Hill
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).