Skip to content

Enhance package migration to support PyPi packages

Xu Han requested to merge add-pypi-package-migration into master

This MR introduces the ability to migrate PyPi packages.

Using curl to migrate PyPi packages over does not populate crucial metadata such as the file SHA. We have to invoke twine which does not expose any APIs for us to use, so we identified key features that are required for package upload and are using twine as a library. This approach allows us to ensure that all necessary metadata, including the file SHA, is correctly transferred and preserved during the migration process.

Edited by Xu Han

Merge request reports