Help typeshed add support for Python 3.13!
The Python 3.13 beta 1 has just been released, and there's a lot of functions and classes that are either new or changed in Python 3.13! This is a great way you could help contribute with typeshed during the PyCon sprints.
How to help? Follow these steps:
-
Clone typeshed and create a new branch
-
Remove one or more entries in the section immediately under this comment in this file: https://github.com/python/typeshed/blob/f3ca3001eee5f5b068b61838ac06abf7c1d23158/stdlib/%40tests/stubtest_allowlists/py313.txt#L5
(I probably wouldn't try removing too many at once)
-
If you have Python 3.13 available locally:
- activate a Python 3.13 virtual environment
- Run
pip install -r requirements-tests.txt - Run
pip install git+https://github.com/python/mypy@e8a26308d5d06925cf769b62f41ef2e4bc546ada - Run
python tests/stubtest_stdlib.py - Fix the errors reported in step (4)
- Make a PR
Otherwise:
- Make a PR
- Fix the errors reported in GitHub's CI and push to the PR branch
Feel free to ping me, @JelleZijlstra or @hauntsaninja if you have any questions or difficulties! (We're all at the sprints!)
(cc. @tonybaloney, if you still have folks looking for good sprint contributions!)
(The PyCon sprints are over now, but this is still a great way to contribute, and we'll gladly accept PRs relating to it!)
I think this is basically done now!