On 6/26/23 14:14, Peter Robinson wrote:
On Mon, Jun 26, 2023 at 7:10 PM Miro Hrončok
<mhroncok(a)redhat.com> 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 "encouraged to ensure" doesn't sound like a hard
requirement to me based on a lot of specs I've dealt with, but it
depends a bit on how the specific spec defines "encouraged".
> alongside Python whenever possible (e.g. by declaring tzdata as a dependency
> for the python package).
> """
>
> from
https://peps.python.org/pep-0615/#system-time-zone-information
>
>
> By changing the Requires to Recommends, we would diverge from upstream
> recommendation.
I agree with Peter. The "Recommends:" will ensure tzdata is installed by
default.
This work lines up exactly with the Fedora Weak Dependencies Policy:
"Weak dependencies allow smaller minimal installations while keeping the default
installation feature rich."
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.
--
Cheers,
Carlos.