Closed dokterbob closed 4 days ago
Thanks for the report! Sorry for the bother here.
Perhaps
stubdefaulter
should be added torequirements-tests.txt
, or the docs should mention it's requirements for creating baseline stubs?
It's actually already listed, but only on Python <3.13, because the last time we attempted to install it on Python 3.13 there weren't any py313 wheels available for libCST
yet:
Not sure if that's changed yet; possibly we can remove the environment marker now?
Not sure if that's changed yet; possibly we can remove the environment marker now?
And if not, we should prevent create_baseline_stubs.py from running with an appropriate error message. (E.g. "... not supported on Python 3.13.")
Indeed: we added the environment marker on October 6, in https://github.com/python/typeshed/commit/0aa51868264178b49a9881730c2843aea24f48dc, but libCST
added wheels for Python 3.13 in v1.5.0 on October 10: https://github.com/Instagram/LibCST/releases/tag/v1.5.0.
So we can just remove the environment marker now.
When generating baseline stubs for a new package based on CONTRIBUTING.md:
Full log:
Resolved by manually installing
stubdefaulter
:Perhaps
stubdefaulter
should be added torequirements-tests.txt
, or the docs should mention it's requirements for creating baseline stubs?