Hi, You're correct that the download_pypi_top.py script only downloads the latest version. I'm looking for projects impacted by incompatible changes. If the latest version is fine, a project just has to update its dependencies. If the latest version has an issue, it's very likely that old versions are also affected.
Victor On Fri, Dec 3, 2021 at 8:35 AM Michał Górny <mgo...@gentoo.org> wrote: > > On Fri, 2021-12-03 at 00:44 +0100, Victor Stinner wrote: > > I wrote two scripts based on the work of INADA-san's work to (1) > > download the source code of the PyPI top 5000 projects (2) search for > > a regex in these projects (compressed source archives). > > > > You can use these tools if you work on an incompatible Python or C API > > change to estimate how many projects are impacted. > > > > Am I correct that this script downloads only the newest version for each > package? It might be worth to add a disclaimer that since many Python > packages pin their dependencies to old versions, you are quite likely to > miss impact on projects that are using the deprecated API in old > versions that are still used because of their reverse dependencies. > > -- > Best regards, > Michał Górny > -- Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/6RZML4FAVDKL6A5TKPFGQJZ4FEGKHGV6/ Code of Conduct: http://python.org/psf/codeofconduct/