Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
typing_extensions
required on all Python versions
The extent of our use of `typing_extensions` has fluctuated over time, but we've often had a dependency on it. This is typically not an onerous dependency, being pure Python, and is not uncommon for other packages. We've often had an upper limit on the Python version for it, just for the principle of least requirements, but this has led to a subtle bug recently where we began using a Python 3.12 feature from it (`Unpack`) with the requirement left at `python_version<'3.11'` from before. This was caught by our nightly full test suite, but for unrelated reasons, that's not commenting correctly on issues at the moment. This error is quite likely to repeat; we only use the backport package for Python versions that _aren't_ the newest, but our PR CI tests only oldest and newest. This commit simply lifts the upper limit on the package; the impact should be minimal since most environments will already be installing it.