unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#71758] [PATCH python-team] gnu: python-immutables: Update to 0.20.
@ 2024-06-24 20:04 Felix Gruber
  2024-07-13 14:11 ` jgart via Guix-patches via
  0 siblings, 1 reply; 5+ messages in thread
From: Felix Gruber @ 2024-06-24 20:04 UTC (permalink / raw)
  To: 71758
  Cc: Felix Gruber, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Sharlatan Hellseher, Tanguy Le Carrour, jgart

* gnu/packages/python-xyz.scm (python-immutables): Update to 0.20.
  [origin]: Use git-fetch as pypi package does not contain test-data
  folder.

Change-Id: I9e7f632a9ff38d1b0f1f3efdb6a7dc0123214536
---
This fixes the build failure of python-immutables on the python-team
branch.

 gnu/packages/python-xyz.scm | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 30b84d284d..2b5829647f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15868,13 +15868,17 @@ (define-public python-xlwt
 (define-public python-immutables
   (package
     (name "python-immutables")
-    (version "0.18")
+    (version "0.20")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "immutables" version))
+       ;; The PyPI package does not contain the test-data directory.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/MagicStack/immutables")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1x4cinh0xbl6p6p2yfm2s07mxxy3lf0zzai9gqpydk4482bwfdjk"))))
+        (base32 "047z7xvdkr55c372sn7m3y8762w5kgh5yn1h9gq5qhcnzss04hbw"))))
     (build-system pyproject-build-system)
     (native-inputs
      (list python-mypy python-pytest python-setuptools python-wheel))

base-commit: e4ad2f178af65be6c8ca6e98a667787674cd8c82
-- 
2.45.1





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

* [bug#71758] [PATCH python-team] gnu: python-immutables: Update to 0.20.
  2024-06-24 20:04 [bug#71758] [PATCH python-team] gnu: python-immutables: Update to 0.20 Felix Gruber
@ 2024-07-13 14:11 ` jgart via Guix-patches via
  2024-07-16 19:07   ` Felix Gruber
  2024-07-16 19:24   ` [bug#71758] [PATCH v2] " Felix Gruber
  0 siblings, 2 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2024-07-13 14:11 UTC (permalink / raw)
  To: 71758; +Cc: Felix Gruber


Hi,

This doesn't apply for me.

Can you send with git send-email?

jgart@whereiseveryone:~/Code/guix-latest [env]$ mumi current 71758
#71758 [PATCH python-team] gnu: python-immutables: Update to 0.20.
opened on 24 Jun 15:06 -0500 by Felix Gruber
jgart@whereiseveryone:~/Code/guix-latest [env]$ mumi am -- -s -S
No patches found


-- 
all the best,
jgart




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

* [bug#71758] [PATCH python-team] gnu: python-immutables: Update to 0.20.
  2024-07-13 14:11 ` jgart via Guix-patches via
@ 2024-07-16 19:07   ` Felix Gruber
  2024-07-16 19:24   ` [bug#71758] [PATCH v2] " Felix Gruber
  1 sibling, 0 replies; 5+ messages in thread
From: Felix Gruber @ 2024-07-16 19:07 UTC (permalink / raw)
  To: jgart, 71758

Hi jgart,

On 7/13/24 4:11 PM, jgart wrote:
> This doesn't apply for me.
> 
> Can you send with git send-email?
> 
> jgart@whereiseveryone:~/Code/guix-latest [env]$ mumi current 71758
> #71758 [PATCH python-team] gnu: python-immutables: Update to 0.20.
> opened on 24 Jun 15:06 -0500 by Felix Gruber
> jgart@whereiseveryone:~/Code/guix-latest [env]$ mumi am -- -s -S
> No patches found

I had created this patch against the python-team branch, it shows a 
merge conflict if I try to apply it to master. I will shortly sent an 
updated patch, rebased to the master branch.

Kind regards,
Felix





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

* [bug#71758] [PATCH v2] gnu: python-immutables: Update to 0.20.
@ 2024-07-16 19:09 Felix Gruber
  0 siblings, 0 replies; 5+ messages in thread
From: Felix Gruber @ 2024-07-16 19:09 UTC (permalink / raw)
  To: 71758
  Cc: Felix Gruber, 87ed7xe60b.fsf, Lars-Dominik Braun, Marius Bakke,
	Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart

* gnu/packages/python-xyz.scm (python-immutables): Update to 0.20.
  [source]: Use git-fetch as pypi package does not contain test-data
  folder.
  [build-system] Use pyproject-build-system.
  [native-inputs] Add python-setuptools and python-wheel.

Change-Id: I9e7f632a9ff38d1b0f1f3efdb6a7dc0123214536
---
 gnu/packages/python-xyz.scm | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2a51320d59..ec42993728 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15728,15 +15728,20 @@ (define-public python-xlwt
 (define-public python-immutables
   (package
     (name "python-immutables")
-    (version "0.18")
+    (version "0.20")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "immutables" version))
+       ;; The PyPI package does not contain the test-data directory.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/MagicStack/immutables")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1x4cinh0xbl6p6p2yfm2s07mxxy3lf0zzai9gqpydk4482bwfdjk"))))
-    (build-system python-build-system)
-    (native-inputs (list python-mypy python-pytest))
+        (base32 "047z7xvdkr55c372sn7m3y8762w5kgh5yn1h9gq5qhcnzss04hbw"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-mypy python-pytest python-setuptools python-wheel))
     (home-page "https://github.com/MagicStack/immutables")
     (synopsis "High-performance immutable mapping type for Python")
     (description

base-commit: 325fed4c1514bffd084355455710fcc3f1c8da2c
-- 
2.43.0





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

* [bug#71758] [PATCH v2] gnu: python-immutables: Update to 0.20.
  2024-07-13 14:11 ` jgart via Guix-patches via
  2024-07-16 19:07   ` Felix Gruber
@ 2024-07-16 19:24   ` Felix Gruber
  1 sibling, 0 replies; 5+ messages in thread
From: Felix Gruber @ 2024-07-16 19:24 UTC (permalink / raw)
  To: 71758
  Cc: Felix Gruber, jgart, Lars-Dominik Braun, Marius Bakke,
	Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart

* gnu/packages/python-xyz.scm (python-immutables): Update to 0.20.
  [source]: Use git-fetch as pypi package does not contain test-data
  folder.
  [build-system] Use pyproject-build-system.
  [native-inputs] Add python-setuptools and python-wheel.

Change-Id: I9e7f632a9ff38d1b0f1f3efdb6a7dc0123214536
---
 gnu/packages/python-xyz.scm | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2a51320d59..ec42993728 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15728,15 +15728,20 @@ (define-public python-xlwt
 (define-public python-immutables
   (package
     (name "python-immutables")
-    (version "0.18")
+    (version "0.20")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "immutables" version))
+       ;; The PyPI package does not contain the test-data directory.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/MagicStack/immutables")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1x4cinh0xbl6p6p2yfm2s07mxxy3lf0zzai9gqpydk4482bwfdjk"))))
-    (build-system python-build-system)
-    (native-inputs (list python-mypy python-pytest))
+        (base32 "047z7xvdkr55c372sn7m3y8762w5kgh5yn1h9gq5qhcnzss04hbw"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-mypy python-pytest python-setuptools python-wheel))
     (home-page "https://github.com/MagicStack/immutables")
     (synopsis "High-performance immutable mapping type for Python")
     (description

base-commit: 325fed4c1514bffd084355455710fcc3f1c8da2c
-- 
2.43.0





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

end of thread, other threads:[~2024-07-16 19:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-24 20:04 [bug#71758] [PATCH python-team] gnu: python-immutables: Update to 0.20 Felix Gruber
2024-07-13 14:11 ` jgart via Guix-patches via
2024-07-16 19:07   ` Felix Gruber
2024-07-16 19:24   ` [bug#71758] [PATCH v2] " Felix Gruber
  -- strict thread matches above, loose matches on Subject: below --
2024-07-16 19:09 Felix Gruber

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