kellyjonbrazil / jc

CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
MIT License
7.91k stars 210 forks source link

[dependency] Add typing extensions and EOLs #533

Closed lyterk closed 9 months ago

lyterk commented 9 months ago

I'd like to add the package typing_extensions.

It's maintained by the Python team itself to backport new types and peps that eventually land in typing.

In my recent PR this is useful for typing.TypedDict (3.8) and typing.Self (3.11).

We may be able to uninstall it as versions < 3.11 go EOL.

Also, I wanted to discuss removing builds for 3.6 and 3.7, EOL in 2021 and 2023 respectively

kellyjonbrazil commented 9 months ago

Regarding the EOL, it looks like we need to support Python 3.6 until June 30, 2028 when Centos7 Extended life cycle support (ELS) add-on ends.

https://access.redhat.com/support/policy/updates/errata

lyterk commented 9 months ago

Ah I see. Makes sense. Does typing_extensions sound ok to you?

kellyjonbrazil commented 9 months ago

Unfortunately it doesn't look like this will work for us since typing_extensions requires Python 3.8 and higher. Also, unless we vendor this into the project, it complicates packaging of jc for different OS types and linux distros.