typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

More flexible Python version support for third-party packages

Open donbarbos opened this issue 4 months ago • 1 comments

Some libraries (usually deprecated or simply poorly maintained like cysimdjson) don't have releases for the latest versions of Python. Maybe it's worth giving them the ability to have type stubs in typeshed. Currently the only way to have these types is to create a separate package.

This is similar to issue #10722, but I thought it was worth discussing separately since I haven't seen anyone mention an upper bound.

donbarbos avatar Sep 29 '25 17:09 donbarbos

Note that upper bounds on Requires-Python are controversial (https://discuss.python.org/t/requires-python-upper-limits/12663); uv apparently ignores them. So we probably shouldn't be using them.

JelleZijlstra avatar Sep 29 '25 19:09 JelleZijlstra