unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73655] [PATCH] * gnu/packages/python-xyz.scm (python-icalendar): Update to 5.0.13.
@ 2024-10-06 10:55 Fabio Natali via Guix-patches via
  2024-10-09 17:52 ` [bug#73655] [PATCH] gnu: Update python-icalendar Fabio Natali via Guix-patches via
  0 siblings, 1 reply; 7+ messages in thread
From: Fabio Natali via Guix-patches via @ 2024-10-06 10:55 UTC (permalink / raw)
  To: 73655
  Cc: Fabio Natali, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Sharlatan Hellseher, Tanguy Le Carrour, jgart

Change-Id: Iafa906540df87db84cd4752cb4b345d838bff15c
---
Hi All,

This is to update python-icalendar to 5.0.13.

I hope everything looks good.

Thanks, best wishes, Fabio.


 gnu/packages/python-xyz.scm | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ac3e224d1d..ff58dcec6d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18517,19 +18517,29 @@ (define-public python-execnet
 (define-public python-icalendar
   (package
     (name "python-icalendar")
-    (version "4.1.0")
+    (version "5.0.13")
     (source (origin
              (method url-fetch)
              (uri (pypi-uri "icalendar" version))
              (sha256
               (base32
-               "15dkq42rkqjdi17rpvmd1plnbwn4daby0nk1s1c3xi7w5v0bfj4p"))))
-    (build-system python-build-system)
+               "01lp0advx60z8wgng8aga1p1668ydn1r6d9qm3d622yfikg9yycj"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "pytest" "-vv" "src/icalendar/tests")))))))
     (propagated-inputs
-     (list python-dateutil python-pytz))
-    (synopsis "Python library for parsing iCalendar files")
-    (description "The icalendar package is a parser/generator of iCalendar
-files for use with Python.")
+     (list python-dateutil python-tzdata))
+    (native-inputs
+     (list python-pytest python-pytz))
+    (synopsis "Python library for parsing and generating iCalendar files")
+    (description
+     "@code{icalendar} is a Python library for parsing and generating iCalendar files.")
     (home-page "https://github.com/collective/icalendar")
     (license license:bsd-2)))
 

base-commit: a873666d3bf716a5ae29275efaa000eaf6d1e2a8
-- 
2.46.0





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

* [bug#73655] [PATCH] gnu: Update python-icalendar.
  2024-10-06 10:55 [bug#73655] [PATCH] * gnu/packages/python-xyz.scm (python-icalendar): Update to 5.0.13 Fabio Natali via Guix-patches via
@ 2024-10-09 17:52 ` Fabio Natali via Guix-patches via
  2024-10-09 19:44   ` jgart via Guix-patches via
  0 siblings, 1 reply; 7+ messages in thread
From: Fabio Natali via Guix-patches via @ 2024-10-09 17:52 UTC (permalink / raw)
  To: 73655
  Cc: Fabio Natali, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Sharlatan Hellseher, Tanguy Le Carrour, jgart

* gnu/packages/python-xyz.scm (python-icalendar): Update to 5.0.13.
[propagated-inputs]: Add python-tzdata.
[native-inputs]: Add python-pytest, python-pytz.

Change-Id: Iafa906540df87db84cd4752cb4b345d838bff15c
---
 gnu/packages/python-xyz.scm | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ac3e224d1d..1b1a5c095f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18517,19 +18517,29 @@ (define-public python-execnet
 (define-public python-icalendar
   (package
     (name "python-icalendar")
-    (version "4.1.0")
+    (version "5.0.13")
     (source (origin
              (method url-fetch)
              (uri (pypi-uri "icalendar" version))
              (sha256
               (base32
-               "15dkq42rkqjdi17rpvmd1plnbwn4daby0nk1s1c3xi7w5v0bfj4p"))))
-    (build-system python-build-system)
+               "01lp0advx60z8wgng8aga1p1668ydn1r6d9qm3d622yfikg9yycj"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "pytest" "-vv" "src/icalendar/tests")))))))
     (propagated-inputs
-     (list python-dateutil python-pytz))
-    (synopsis "Python library for parsing iCalendar files")
-    (description "The icalendar package is a parser/generator of iCalendar
-files for use with Python.")
+     (list python-dateutil python-pytz python-tzdata))
+    (native-inputs
+     (list python-pytest python-pytz))
+    (synopsis "Python library for parsing and generating iCalendar files")
+    (description
+     "@code{icalendar} is a Python library for parsing and generating iCalendar files.")
     (home-page "https://github.com/collective/icalendar")
     (license license:bsd-2)))
 

base-commit: a873666d3bf716a5ae29275efaa000eaf6d1e2a8
-- 
2.46.0





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

* [bug#73655] [PATCH] gnu: Update python-icalendar.
  2024-10-09 17:52 ` [bug#73655] [PATCH] gnu: Update python-icalendar Fabio Natali via Guix-patches via
@ 2024-10-09 19:44   ` jgart via Guix-patches via
  2024-10-09 20:13     ` jgart via Guix-patches via
  0 siblings, 1 reply; 7+ messages in thread
From: jgart via Guix-patches via @ 2024-10-09 19:44 UTC (permalink / raw)
  To: Fabio Natali, 73655
  Cc: Sharlatan Hellseher, Munyoki Kilyungi, Lars-Dominik Braun,
	Marius Bakke, Tanguy Le Carrour, Fabio Natali

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

Hi Fabio,

Thanks for the patch and for contributing to GNU Guix.

This update to python-icalendar breaks xandikos:

https://toys.whereis.みんな/?search=xandikos https://toys.whereis.xn--q9jyb4c/?search=xandikos 

Updating xandikos would require an update to python-dulwich.

The latest release of python-dulwich requires packaging various Rust crates.

todoman is currently/previously broken from what I see so we can ignore that as a blocker for updating python-icalendar.

I realize that this increases the scope of updating python-icalendar.

Try the following command to see what packages depend on python-icalendar:

guix refresh -l python-icalendar

all best,

jgart

[-- Attachment #2: Type: text/html, Size: 1149 bytes --]

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

* [bug#73655] [PATCH] gnu: Update python-icalendar.
  2024-10-09 19:44   ` jgart via Guix-patches via
@ 2024-10-09 20:13     ` jgart via Guix-patches via
  2024-10-09 22:38       ` Fabio Natali via Guix-patches via
  0 siblings, 1 reply; 7+ messages in thread
From: jgart via Guix-patches via @ 2024-10-09 20:13 UTC (permalink / raw)
  To: Fabio Natali, 73655
  Cc: Sharlatan Hellseher, Munyoki Kilyungi, Lars-Dominik Braun,
	Marius Bakke, Tanguy Le Carrour, Fabio Natali

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

> 
> This update to python-icalendar breaks xandikos
> 
The other option is to provide two different versions of python-icalendar so that xandikos doesn't break with the python-icalendar update.

all best,

jgart

[-- Attachment #2: Type: text/html, Size: 450 bytes --]

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

* [bug#73655] [PATCH] gnu: Update python-icalendar.
  2024-10-09 20:13     ` jgart via Guix-patches via
@ 2024-10-09 22:38       ` Fabio Natali via Guix-patches via
  2024-10-09 22:52         ` jgart via Guix-patches via
  0 siblings, 1 reply; 7+ messages in thread
From: Fabio Natali via Guix-patches via @ 2024-10-09 22:38 UTC (permalink / raw)
  To: jgart, 73655
  Cc: Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour,
	Lars-Dominik Braun, Marius Bakke

On 2024-10-09, 20:13 +0000, "jgart" <jgart@dismail.de> wrote:
>> This update to python-icalendar breaks xandikos
>>
> The other option is to provide two different versions of
> python-icalendar so that xandikos doesn't break with the
> python-icalendar update.

Hi jgart, thanks for looking at my patch and providing feedback - and
all this additional context.

I feel I should have checked things with 'guix refresh -l' before
submitting the patch, sorry about that. That was mentioned to my at the
Guix meetup we had earlier this evening, but we didn't get as far as
checking xandikos - we checked the other two packages though.

I'm not desperately in need of python-icalendar[0]. Perhaps it'd be more
beneficial to simply work on something else, instead of necessarily
pushing for a double python-icalendar version...

Glad to hear what you think if we have the chance to speak tomorrow or
maybe I can reach out on IRC.

Best wishes, Fabio.


- [0] Not that it's of any relevance, but here's some context:
  https://octodon.social/@fabionatali/113266015407495506


-- 
Fabio Natali
https://fabionatali.com




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

* [bug#73655] [PATCH] gnu: Update python-icalendar.
  2024-10-09 22:38       ` Fabio Natali via Guix-patches via
@ 2024-10-09 22:52         ` jgart via Guix-patches via
  2024-10-11  3:20           ` bug#73655: [PATCH] * gnu/packages/python-xyz.scm (python-icalendar): Update to 5.0.13 jgart via Guix-patches via
  0 siblings, 1 reply; 7+ messages in thread
From: jgart via Guix-patches via @ 2024-10-09 22:52 UTC (permalink / raw)
  To: Fabio Natali, 73655
  Cc: Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour,
	Lars-Dominik Braun, Marius Bakke

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

> 
> I feel I should have checked things with 'guix refresh -l' before
> submitting the patch, sorry about that.
> 
No worries, it's happened to me before as well on various ocassions  ;()

I would recommend working on something else until someone can upgrade python-dulwich properly or we figure out another approach.

Another option is to create your own Guix channel for these extra versions that you need.

If you do create your own Guix channel, feel free to join toys so that your channel is indexed there:

https://git.sr.ht/~whereiseveryone/toys#join

all the best,

jgart

[-- Attachment #2: Type: text/html, Size: 1018 bytes --]

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

* bug#73655: [PATCH] * gnu/packages/python-xyz.scm (python-icalendar): Update to 5.0.13.
  2024-10-09 22:52         ` jgart via Guix-patches via
@ 2024-10-11  3:20           ` jgart via Guix-patches via
  0 siblings, 0 replies; 7+ messages in thread
From: jgart via Guix-patches via @ 2024-10-11  3:20 UTC (permalink / raw)
  To: 73655-done; +Cc: jgart, Fabio Natali


Thanks, I made some edits, updates, and added the library update.

Thanks for your contribution.
-- 
all the best,
jgart




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

end of thread, other threads:[~2024-10-11  3:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-06 10:55 [bug#73655] [PATCH] * gnu/packages/python-xyz.scm (python-icalendar): Update to 5.0.13 Fabio Natali via Guix-patches via
2024-10-09 17:52 ` [bug#73655] [PATCH] gnu: Update python-icalendar Fabio Natali via Guix-patches via
2024-10-09 19:44   ` jgart via Guix-patches via
2024-10-09 20:13     ` jgart via Guix-patches via
2024-10-09 22:38       ` Fabio Natali via Guix-patches via
2024-10-09 22:52         ` jgart via Guix-patches via
2024-10-11  3:20           ` bug#73655: [PATCH] * gnu/packages/python-xyz.scm (python-icalendar): Update to 5.0.13 jgart via Guix-patches via

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