pypa / pyproject-hooks

A low-level library for calling build-backends in `pyproject.toml`-based project
https://pyproject-hooks.readthedocs.io/
MIT License
124 stars 49 forks source link

Drop support for Python 3.7 #168

Open pradyunsg opened 1 year ago

pradyunsg commented 1 year ago

Python 3.7 goes EOL in 2 months and 3 weeks (https://endoflife.date/python). Filing an issue to track dropping support.

pradyunsg commented 1 year ago

For posterity, https://github.com/pypa/pyproject-hooks/commit/69ed8b1dac92e33d6a2d18c1b3a3cfad57020d90 is a commit with most of the work toward this. The missing bits are dropping the string literal for "SubprocessRunner" and directly documenting the protocol class as well.

henryiii commented 2 months ago

I'd also like the types to be available at runtime for pypa/build, Python 3.7 support is preventing this.