unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68424] [PATCH 1/3] gnu: hypercorn: Add missing propagated-inputs.
  2024-01-13 11:52 [bug#68424] [PATCH 0/3] Fix python-hypercorn Troy Figiel
@ 2024-01-13 11:26 ` Troy Figiel
  2024-01-13 11:36 ` [bug#68424] [PATCH 2/3] gnu: hypercorn: Remove unnecessary native-input Troy Figiel
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Troy Figiel @ 2024-01-13 11:26 UTC (permalink / raw)
  To: 68424

* gnu/packages/python-web.scm (hypercorn)[propagated-inputs]: Add
python-exceptiongroup and python-tomli. Remove python-toml and python-typing-extensions.
---
 gnu/packages/python-web.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 567b01f396..dd85581032 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2392,11 +2392,11 @@ (define-public hypercorn
     (build-system pyproject-build-system)
     ;; Propagate because Hypercorn also exposes functionality over a module.
     (propagated-inputs
-     (list python-h11
+     (list python-exceptiongroup
+           python-h11
            python-h2
            python-priority
-           python-toml
-           python-typing-extensions
+           python-tomli
            python-wsproto))
     (native-inputs
      (list python-hypothesis
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#68424] [PATCH 2/3] gnu: hypercorn: Remove unnecessary native-input.
  2024-01-13 11:52 [bug#68424] [PATCH 0/3] Fix python-hypercorn Troy Figiel
  2024-01-13 11:26 ` [bug#68424] [PATCH 1/3] gnu: hypercorn: Add missing propagated-inputs Troy Figiel
@ 2024-01-13 11:36 ` Troy Figiel
  2024-01-13 11:40 ` [bug#68424] [PATCH 3/3] gnu: hypercorn: Reformat with guix style Troy Figiel
  2024-01-15 22:50 ` bug#68424: (no subject) Sharlatan Hellseher
  3 siblings, 0 replies; 6+ messages in thread
From: Troy Figiel @ 2024-01-13 11:36 UTC (permalink / raw)
  To: 68424

* gnu/packages/python-web.scm (hypercorn)[native-inputs]: Remove python-mock.
---
 gnu/packages/python-web.scm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index dd85581032..f88ea6437e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2400,7 +2400,6 @@ (define-public hypercorn
            python-wsproto))
     (native-inputs
      (list python-hypothesis
-           python-mock
            python-poetry-core
            python-pytest
            python-pytest-asyncio
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#68424] [PATCH 3/3] gnu: hypercorn: Reformat with guix style.
  2024-01-13 11:52 [bug#68424] [PATCH 0/3] Fix python-hypercorn Troy Figiel
  2024-01-13 11:26 ` [bug#68424] [PATCH 1/3] gnu: hypercorn: Add missing propagated-inputs Troy Figiel
  2024-01-13 11:36 ` [bug#68424] [PATCH 2/3] gnu: hypercorn: Remove unnecessary native-input Troy Figiel
@ 2024-01-13 11:40 ` Troy Figiel
  2024-01-15 22:50 ` bug#68424: (no subject) Sharlatan Hellseher
  3 siblings, 0 replies; 6+ messages in thread
From: Troy Figiel @ 2024-01-13 11:40 UTC (permalink / raw)
  To: 68424

* gnu/packages/python-web.scm (hypercorn): Reformat with guix style.
---
 gnu/packages/python-web.scm | 46 ++++++++++++++++++-------------------
 1 file changed, 22 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f88ea6437e..ee1a4d8a3f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2380,32 +2380,30 @@ (define-public hypercorn
   (package
     (name "hypercorn")
     (version "0.14.4")
-    (source (origin
-              (method git-fetch) ;PyPI does not have tests
-              (uri (git-reference
-                    (url "https://github.com/pgjones/hypercorn")
-                    (commit version)))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0zyf5b8959sd12ycmqzvsb8746i3gn76rz55gxvix5cwj672m7yx"))))
+    (source
+     (origin
+       (method git-fetch) ;PyPI does not have tests
+       (uri (git-reference
+             (url "https://github.com/pgjones/hypercorn")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0zyf5b8959sd12ycmqzvsb8746i3gn76rz55gxvix5cwj672m7yx"))))
     (build-system pyproject-build-system)
     ;; Propagate because Hypercorn also exposes functionality over a module.
-    (propagated-inputs
-     (list python-exceptiongroup
-           python-h11
-           python-h2
-           python-priority
-           python-tomli
-           python-wsproto))
-    (native-inputs
-     (list python-hypothesis
-           python-poetry-core
-           python-pytest
-           python-pytest-asyncio
-           python-pytest-cov
-           python-pytest-trio
-           python-trio))
+    (propagated-inputs (list python-exceptiongroup
+                             python-h11
+                             python-h2
+                             python-priority
+                             python-tomli
+                             python-wsproto))
+    (native-inputs (list python-hypothesis
+                         python-poetry-core
+                         python-pytest
+                         python-pytest-asyncio
+                         python-pytest-cov
+                         python-pytest-trio
+                         python-trio))
     (home-page "https://gitlab.com/pgjones/hypercorn/")
     (synopsis "ASGI Server based on Hyper libraries")
     (description
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#68424] [PATCH 0/3] Fix python-hypercorn
@ 2024-01-13 11:52 Troy Figiel
  2024-01-13 11:26 ` [bug#68424] [PATCH 1/3] gnu: hypercorn: Add missing propagated-inputs Troy Figiel
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Troy Figiel @ 2024-01-13 11:52 UTC (permalink / raw)
  To: 68424

This patch series is actually a fix for python-ajsonrpc and python-quart. Due to missing propagated-inputs, these dependencies of python-hypercorn failed to build. Interestingly, python-hypercorn itself builds successfully against the current master.

Troy Figiel (3):
  gnu: hypercorn: Add missing propagated-inputs.
  gnu: hypercorn: Remove unnecessary native-input.
  gnu: hypercorn: Reformat with guix style.

 gnu/packages/python-web.scm | 47 +++++++++++++++++--------------------
 1 file changed, 22 insertions(+), 25 deletions(-)


base-commit: c0b303aaa3d6154acbe054120d11467eb98e6d33
-- 
2.42.0





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#68424: (no subject)
  2024-01-13 11:52 [bug#68424] [PATCH 0/3] Fix python-hypercorn Troy Figiel
                   ` (2 preceding siblings ...)
  2024-01-13 11:40 ` [bug#68424] [PATCH 3/3] gnu: hypercorn: Reformat with guix style Troy Figiel
@ 2024-01-15 22:50 ` Sharlatan Hellseher
  2024-01-16  0:37   ` [bug#68424] keeping the subject (was: Re: bug#68424: (no subject)) Clément Lassieur
  3 siblings, 1 reply; 6+ messages in thread
From: Sharlatan Hellseher @ 2024-01-15 22:50 UTC (permalink / raw)
  To: 68424-done; +Cc: troy

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]


Hi,

Squashed into one commit: 

- gnu: hypercorn: Adjust inputs.
  - 1/3 gnu: hypercorn: Add missing propagated-inputs.
  - 2/3 gnu: hypercorn: Remove unnecessary native-input.
    
> Building the following 1 package would ensure 2 dependent packages are rebuilt:
> python-ajsonrpc@1.2.0

It's built successfully, thank you for your work!

Pushed as eb0f35e16db46642550cddca9f13c7c39f6c2da5.

Thanks,
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#68424] keeping the subject (was: Re: bug#68424: (no subject))
  2024-01-15 22:50 ` bug#68424: (no subject) Sharlatan Hellseher
@ 2024-01-16  0:37   ` Clément Lassieur
  0 siblings, 0 replies; 6+ messages in thread
From: Clément Lassieur @ 2024-01-16  0:37 UTC (permalink / raw)
  To: sharlatanus; +Cc: troy, 68424

Hi Oleg,

This is unrelated to this bug, I'm really sorry.

Could you keep the "subject" when you write emails please?  This would
allow a lot of people to skip the email without having to open it.

Thank you very much!
Clément




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-01-16  0:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-13 11:52 [bug#68424] [PATCH 0/3] Fix python-hypercorn Troy Figiel
2024-01-13 11:26 ` [bug#68424] [PATCH 1/3] gnu: hypercorn: Add missing propagated-inputs Troy Figiel
2024-01-13 11:36 ` [bug#68424] [PATCH 2/3] gnu: hypercorn: Remove unnecessary native-input Troy Figiel
2024-01-13 11:40 ` [bug#68424] [PATCH 3/3] gnu: hypercorn: Reformat with guix style Troy Figiel
2024-01-15 22:50 ` bug#68424: (no subject) Sharlatan Hellseher
2024-01-16  0:37   ` [bug#68424] keeping the subject (was: Re: bug#68424: (no subject)) Clément Lassieur

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).