Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-09-27 Thread Carlos O'Donell
On 9/27/23 04:43, Peter Robinson wrote: > On Wed, Sep 27, 2023 at 6:24 AM Remi Collet wrote: >> >> Le 26/09/2023 à 19:32, Carlos O'Donell a écrit : >> In version 8.3 (F40) we'll includes the UTC definition in our patch to use system tzdata, UTC being use as the fallback value. >>> >

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-09-27 Thread Peter Robinson
On Wed, Sep 27, 2023 at 6:24 AM Remi Collet wrote: > > Le 26/09/2023 à 19:32, Carlos O'Donell a écrit : > > >> In version 8.3 (F40) we'll includes the UTC definition > >> in our patch to use system tzdata, UTC being use > >> as the fallback value. > > > > I'm curious; what does this patch look lik

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-09-26 Thread Remi Collet
Le 26/09/2023 à 19:32, Carlos O'Donell a écrit : In version 8.3 (F40) we'll includes the UTC definition in our patch to use system tzdata, UTC being use as the fallback value. I'm curious; what does this patch look like? (trivial) patch to our system tzdata patch attached In short, if file

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-09-26 Thread Carlos O'Donell
On Mon, Sep 25, 2023 at 4:39 AM Vít Ondruch wrote: > Dne 22. 09. 23 v 16:01 Zbigniew Jędrzejewski-Szmek napsal(a): > > On Fri, Sep 22, 2023 at 10:43:05AM +0200, Vít Ondruch wrote: > >> https://bugzilla.redhat.com/show_bug.cgi?id=2233281#c3 > >> > >> This probably answers my question. So heads up t

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-09-26 Thread Carlos O'Donell
On Mon, Sep 25, 2023 at 4:52 AM Remi Collet wrote: > > Le 25/09/2023 à 10:38, Vít Ondruch a écrit : > > > > Dne 22. 09. 23 v 16:01 Zbigniew Jędrzejewski-Szmek napsal(a): > >> On Fri, Sep 22, 2023 at 10:43:05AM +0200, Vít Ondruch wrote: > >>> https://bugzilla.redhat.com/show_bug.cgi?id=2233281#c3 >

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-09-25 Thread Remi Collet
Le 25/09/2023 à 10:38, Vít Ondruch a écrit : Dne 22. 09. 23 v 16:01 Zbigniew Jędrzejewski-Szmek napsal(a): On Fri, Sep 22, 2023 at 10:43:05AM +0200, Vít Ondruch wrote: https://bugzilla.redhat.com/show_bug.cgi?id=2233281#c3 This probably answers my question. So heads up to others. Dne 22. 09.

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-09-25 Thread Vít Ondruch
Dne 22. 09. 23 v 16:01 Zbigniew Jędrzejewski-Szmek napsal(a): On Fri, Sep 22, 2023 at 10:43:05AM +0200, Vít Ondruch wrote: https://bugzilla.redhat.com/show_bug.cgi?id=2233281#c3 This probably answers my question. So heads up to others. Dne 22. 09. 23 v 10:39 Vít Ondruch napsal(a): Was this i

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-09-22 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Sep 22, 2023 at 10:43:05AM +0200, Vít Ondruch wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=2233281#c3 > > This probably answers my question. So heads up to others. > > Dne 22. 09. 23 v 10:39 Vít Ondruch napsal(a): > > Was this implemented in past days? I am asking because this FTB

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-09-22 Thread Vít Ondruch
https://bugzilla.redhat.com/show_bug.cgi?id=2233281#c3 This probably answers my question. So heads up to others. Vít Dne 22. 09. 23 v 10:39 Vít Ondruch napsal(a): Was this implemented in past days? I am asking because this FTBFS suggest so: https://koschei.fedoraproject.org/package/rubyge

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-09-22 Thread Vít Ondruch
Was this implemented in past days? I am asking because this FTBFS suggest so: https://koschei.fedoraproject.org/package/rubygem-timecop?collection=f40 Vít Dne 26. 06. 23 v 17:54 Aoife Moloney napsal(a): https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata This document represents a

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-07-06 Thread Patsy Griffin
On Fri, Jun 30, 2023 at 11:54 AM Chris Adams wrote: > Once upon a time, Jonathan Wakely said: > > From the change proposal: > > > > == Feedback == > > In June of 2021, we proposed creating a new tzdata sub-package that > > would only provide the UTC timezone. As part of the discussion around >

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-30 Thread Stephen Smoogen
On Fri, 30 Jun 2023 at 11:50, Jonathan Wakely wrote: > On Fri, 30 Jun 2023 at 16:38, Ian Pilcher wrote: > > Rather than expecting runtimes and applications to be fixed to work > > without any timezone information, perhaps the best way forward would be > > to create a tzdata-utc (and similar Java

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-30 Thread Chris Adams
Once upon a time, Jonathan Wakely said: > From the change proposal: > > == Feedback == > In June of 2021, we proposed creating a new tzdata sub-package that > would only provide the UTC timezone. As part of the discussion around > this proposal, it was recommended that we completely remove tzdat

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-30 Thread Jonathan Wakely
On Fri, 30 Jun 2023 at 16:38, Ian Pilcher wrote: > Rather than expecting runtimes and applications to be fixed to work > without any timezone information, perhaps the best way forward would be > to create a tzdata-utc (and similar Java and Python packages). > > (Sorry if this has already been sugge

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-30 Thread Stephen Smoogen
On Fri, 30 Jun 2023 at 11:39, Ian Pilcher wrote: > On 6/30/23 10:22, Jonathan Wakely wrote: > > On Mon, 26 Jun 2023 at 19:10, Miro Hrončok wrote: > >> We would also need to ensure UTC work even without tzdata installed. > > > > Yes, that would be useful. > > > > Although IMHO even that seems lik

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-30 Thread Ian Pilcher
On 6/30/23 10:22, Jonathan Wakely wrote: On Mon, 26 Jun 2023 at 19:10, Miro Hrončok wrote: We would also need to ensure UTC work even without tzdata installed. Yes, that would be useful. Although IMHO even that seems like a nice-to-have not an absolute showstopper. Most containerized workloa

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-30 Thread Jonathan Wakely
On Mon, 26 Jun 2023 at 19:10, Miro Hrončok wrote: > > Hello Patsy, > > On 26. 06. 23 17:54, Aoife Moloney wrote: > > https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata > > > > == Summary == > > Allow the removal of tzdata especially on containers in order to minimize > > size. > > ... >

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-29 Thread Miro Hrončok
On 29. 06. 23 17:57, Carlos O'Donell wrote: On 6/29/23 00:44, Miro Hrončok wrote: On 29. 06. 23 0:31, Carlos O'Donell wrote: Can we allow users to create a minimal installation by hand, while still complying with PEP-615 for default installs? The size savings for a minimal container that is U

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-29 Thread Carlos O'Donell
On 6/28/23 19:54, Michael Catanzaro wrote: > Because Recommends and Supplements are installed by default, we need > to be careful and use them sparingly, only when it really makes sense > for some package to be pulled in for almost all users of another > package. Thus far, Fedora and RHEL have done

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-29 Thread Carlos O'Donell
On 6/29/23 00:44, Miro Hrončok wrote: > On 29. 06. 23 0:31, Carlos O'Donell wrote: >> Can we allow users to create a minimal installation by hand, while still >> complying >> with PEP-615 for default installs? >> >> The size savings for a minimal container that is UTC-only would be quite >> valua

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-28 Thread Miro Hrončok
On 29. 06. 23 0:31, Carlos O'Donell wrote: Can we allow users to create a minimal installation by hand, while still complying with PEP-615 for default installs? The size savings for a minimal container that is UTC-only would be quite valuable for Fedora minimal containers. Yes, but see the re

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-28 Thread Michael Catanzaro
On Thu, Jun 29 2023 at 12:24:23 AM +0200, Fabio Valentini wrote: Thanks for the clarification, though this is only partially reassuring: I'm not sure how this accounts for the fact that there are some situations in which weak dependencies are *not installed at all*. Most notably, they are no

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-28 Thread Carlos O'Donell
On 6/28/23 18:24, Fabio Valentini wrote: > On Thu, Jun 29, 2023 at 12:15 AM Carlos O'Donell > wrote: >> >> On 6/26/23 16:12, Fabio Valentini wrote: >>> So all this considered, I'm not sure whether this change is >>> actually worth it, if tzdata databases of some form will likely >>> be pulled int

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-28 Thread Carlos O'Donell
On 6/26/23 14:14, Peter Robinson wrote: > On Mon, Jun 26, 2023 at 7:10 PM Miro Hrončok wrote: >> *PEP 615 – Support for the IANA Time Zone Database in the Standard Library* >> says: >> >> >> """ >> Python distributors are encouraged to ensure that time zone data is installed > > The wording of "

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-28 Thread Fabio Valentini
On Thu, Jun 29, 2023 at 12:15 AM Carlos O'Donell wrote: > > On 6/26/23 16:12, Fabio Valentini wrote: > > So all this considered, I'm not sure whether this change is actually > > worth it, if tzdata databases of some form will likely be pulled into > > installs anyway. > > Quoting the "Weak Depende

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-28 Thread Carlos O'Donell
On 6/26/23 14:40, Vít Ondruch wrote: > Yep, this is the case for rubygem-tzinfo. It would deserve recommends > at minimum, because in theory, the tzdata can be suplied by > tzinfo-data gem instead. Thank you for adding the `Recommends: tzdata`! -- Cheers, Carlos.

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-28 Thread Carlos O'Donell
On 6/26/23 16:12, Fabio Valentini wrote: > So all this considered, I'm not sure whether this change is actually > worth it, if tzdata databases of some form will likely be pulled into > installs anyway. Quoting the "Weak Dependencies Policy": "Weak dependencies allow smaller minimal installations

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-28 Thread Carlos O'Donell
On 6/27/23 05:38, Jiri Vanek wrote: > JDK will behave similarly. We ave (small) advantage that we have also > in-jdk-bundled tzdata. However fallback in case of removed system > tzdata is not automatic, and requires human touch. Long ago we have a > patch in jdk which looked to system tzdata - if

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-28 Thread Carlos O'Donell
On 6/28/23 03:44, Miroslav Lichvar wrote: > On Mon, Jun 26, 2023 at 04:54:00PM +0100, Aoife Moloney wrote: >> * Other developers: Some packages need to change their spec files from >> `Requires: tzdata` to `Recommends: tzdata`. It would be beneficial if >> all packages switched in this way, but it

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-28 Thread Vít Ondruch
Dne 27. 06. 23 v 10:13 Vít Ondruch napsal(a): Dne 26. 06. 23 v 22:12 Fabio Valentini napsal(a): On Mon, Jun 26, 2023 at 8:40 PM Vít Ondruch wrote: Dne 26. 06. 23 v 20:24 Fabio Valentini napsal(a): On Mon, Jun 26, 2023 at 8:10 PM Miro Hrončok wrote: (snip) --- The current problem with

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-28 Thread Miroslav Lichvar
On Mon, Jun 26, 2023 at 04:54:00PM +0100, Aoife Moloney wrote: > * Other developers: Some packages need to change their spec files from > `Requires: tzdata` to `Recommends: tzdata`. It would be beneficial if > all packages switched in this way, but it is not required. Supporting > optional tzdata i

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-27 Thread John Reiser
On 6/27/23 02:00, Miro Hrončok wrote: On 26. 06. 23 20:24, Fabio Valentini wrote: On Mon, Jun 26, 2023 at 8:10 PM Miro Hrončok wrote: (snip) --- The current problem with Python without tzdata is: ===   >>> from zoneinfo

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-27 Thread Patsy Griffin
Hi Miro, Very much appreciate the feedback. Please see my responses below. Thank you, Patsy On Mon, Jun 26, 2023 at 2:09 PM Miro Hrončok wrote: > Hello Patsy, > > On 26. 06. 23 17:54, Aoife Moloney wrote: > > https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata > > > > == Summary == > >

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-27 Thread Jiri Vanek
JDK will behave similarly. We ave (small) advantage that we have also in-jdk-bundled tzdata. However fallback in case of removed system tzdata is not automatic, and requires human touch. Long ago we have a patch in jdk which looked to system tzdata - if they were present, they were used. If not,

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-27 Thread Miro Hrončok
On 26. 06. 23 20:24, Fabio Valentini wrote: On Mon, Jun 26, 2023 at 8:10 PM Miro Hrončok wrote: (snip) --- The current problem with Python without tzdata is: === >>> from zoneinfo import ZoneInfo >>> ZoneInfo("Europe

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-27 Thread Vít Ondruch
Dne 26. 06. 23 v 22:12 Fabio Valentini napsal(a): On Mon, Jun 26, 2023 at 8:40 PM Vít Ondruch wrote: Dne 26. 06. 23 v 20:24 Fabio Valentini napsal(a): On Mon, Jun 26, 2023 at 8:10 PM Miro Hrončok wrote: (snip) --- The current problem with Python without tzdata is: ==

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-26 Thread Fabio Valentini
On Mon, Jun 26, 2023 at 8:40 PM Vít Ondruch wrote: > > > Dne 26. 06. 23 v 20:24 Fabio Valentini napsal(a): > > On Mon, Jun 26, 2023 at 8:10 PM Miro Hrončok wrote: > > (snip) > > > >> --- > >> > >> The current problem with Python without tzdata is: > >> > >> ===

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-26 Thread Vít Ondruch
Dne 26. 06. 23 v 20:24 Fabio Valentini napsal(a): On Mon, Jun 26, 2023 at 8:10 PM Miro Hrončok wrote: (snip) --- The current problem with Python without tzdata is: === >>> from zoneinfo import ZoneInfo >>> ZoneInfo("Eur

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-26 Thread Fabio Valentini
On Mon, Jun 26, 2023 at 8:10 PM Miro Hrončok wrote: > (snip) > --- > > The current problem with Python without tzdata is: > > === > >>> from zoneinfo import ZoneInfo > >>> ZoneInfo("Europe/Prague") > Traceback (most recent cal

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-26 Thread Peter Robinson
On Mon, Jun 26, 2023 at 7:10 PM Miro Hrončok wrote: > > Hello Patsy, > > On 26. 06. 23 17:54, Aoife Moloney wrote: > > https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata > > > > == Summary == > > Allow the removal of tzdata especially on containers in order to minimize > > size. > > ...

Re: F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-26 Thread Miro Hrončok
Hello Patsy, On 26. 06. 23 17:54, Aoife Moloney wrote: https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata == Summary == Allow the removal of tzdata especially on containers in order to minimize size. ... In order for this to work, we need packages that use tzdata at run time to switch

F39 Change Proposal: Allow Removal of tzdata (System-Wide)

2023-06-26 Thread Aoife Moloney
https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Com