[Bug 1904271] Re: Python 3.9 package is missing dependency on tzdata
Installing -full package will pull in all the things and make all the things work. We absolutely have a wrath of people complaining about the size of tzdata and that it must not be in their containers / systems, even though they otherwise use python. so would you rather not ship zoneinfo module, such that the import fails? and then move it to like python3-zoneinfo package and make regular std recommend it, but not depend on it. That way classic server / desktop installs have it, but specifically docker containers will not, because they are required to ship without tzdata. if i recall correctly, we only ship minimal docker containers with just the UTC timezone. Such that lookups of UTC should work. At the moment, the way we ship python is a compromise between the wrath of people who deploy these things in production and demand to shrink the size of python and its deps. And the polar oposite of the typical desire to have all the things enabled / ship all the things. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904271 Title: Python 3.9 package is missing dependency on tzdata To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.9/+bug/1904271/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1904271] Re: Python 3.9 package is missing dependency on tzdata
we just removed tzdata to be not required. and it will make core snaps larger, because normally we exclude tzdata from minimal installs. ** Changed in: python3.9 (Ubuntu) Status: New => Confirmed ** Changed in: python3.9 (Ubuntu) Importance: Undecided => Wishlist -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904271 Title: Python 3.9 package is missing dependency on tzdata To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.9/+bug/1904271/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1904271] Re: Python 3.9 package is missing dependency on tzdata
** Tags added: rls-gg-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904271 Title: Python 3.9 package is missing dependency on tzdata To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.9/+bug/1904271/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1904271] Re: Python 3.9 package is missing dependency on tzdata
Matthias, your comment #2 is mistaken for two reasons: * In Ubuntu, tzdata is Priority: important, not Priority: required. * Only dependencies on Essential packages may be omitted; merely being Priority: required is not sufficient. See Debian policy 3.5. ** Changed in: python3.9 (Ubuntu) Status: Invalid => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904271 Title: Python 3.9 package is missing dependency on tzdata To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.9/+bug/1904271/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1904271] Re: Python 3.9 package is missing dependency on tzdata
As I mentioned on the Arch Linux tracker, I think there are good reasons for declaring an explicit dependency on tzdata even if it the dependency should be satisfied transitively or implicitly: https://bugs.archlinux.org/task/68642?project=1=python Presumably it doesn't hurt anything to explicitly add a dependency on this (since the reason for *not* doing so is that the package is already required), and it would prevent bugs like the one that Christian pointed out. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904271 Title: Python 3.9 package is missing dependency on tzdata To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.9/+bug/1904271/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1904271] Re: Python 3.9 package is missing dependency on tzdata
Required or not, it's not part of the Ubuntu container image and therefore not available in minimal container setups. My initial comment contains a reproducer for the issue. It shows that zoneinfo module is broken in Ubuntu Groovy container. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904271 Title: Python 3.9 package is missing dependency on tzdata To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.9/+bug/1904271/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1904271] Re: Python 3.9 package is missing dependency on tzdata
tzdata is a required package. See Debian policy 2.5. ** Changed in: python3.9 (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904271 Title: Python 3.9 package is missing dependency on tzdata To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.9/+bug/1904271/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1904271] Re: Python 3.9 package is missing dependency on tzdata
** Tags added: groovy packaging -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904271 Title: Python 3.9 package is missing dependency on tzdata To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.9/+bug/1904271/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1904271] Re: Python 3.9 package is missing dependency on tzdata
# export DEBIAN_FRONTEND="noninteractive" # apt install -yq tzdata # python3.9 -c 'import zoneinfo; print(zoneinfo.ZoneInfo("CET"))' CET -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904271 Title: Python 3.9 package is missing dependency on tzdata To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.9/+bug/1904271/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs