Test the next Python¶
To evolve and remain relevant, incompatible changes must happen in Python. The problem is how to migrate existing code to the “next” Python with these incompatible changes.
DeprecationWarning and PendingDeprecationWarning warnings are hidden by
default, to not bother users. Developers can use
command line option on Python which displays these warnings.
What’s New in Python 3.9: You should check for DeprecationWarning in your code section.
Top 5000 PyPI packages¶
Download sdist and code search¶
You can download a list of top 5000 PyPI packages in JSON format from hugovk site.
INADA-san’s script to download sdist packages from the JSON file: download_sdist.py.
Note that this script doesn’t download packages without sdist (e.g. only universal wheel). It is because INADA-san has searched Python/C API. The pain of the removal can be reduced by fixing most of top 4000 packages.
Searching deprecated API usage¶
Test Rawhide (future Fedora 33) with Python 3.9 as the “system Python”: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/