
On Wed, 2021-03-17 at 18:40 +0100, Erik Skultety wrote:
One more thing, what is the Python 3.<minor> acceptance policy for scripts? I mean we expect the scripts to work with 3.X as we declare on libvirt.org, but f-strings for example are 3.6+ and 3.9 essentially makes the typing module deprecated since it integrated most of the hints to standard collections [1], IOW instead of writing "List[Dict[type, type]]" you can now use the standard containers for that as well: "list[dict[type, type]]" without importing anything, so basically the list/dict builtin can serve as both container constructors as well as static type hints.
All target platforms, including CentOS 7 and Debian 10, have 3.6+ so it's okay to use f-strings. -- Andrea Bolognani / Red Hat / Virtualization