Skip to content

Updatin gpypi upload to not use multipartencoder

Overview

This code change simplifies how Python package data is prepared for uploading to GitLab. Previously, the system used a multipart encoder to bundle all the package information together into one data structure because requests didn't support MultiPart data out of the box. Now, it separates the file content from the other package metadata, sending them as distinct parts of the request since httpx can handle multipart data natively.

Tasks

  • Update docs if needed (workflow, runbooks, README, migration metrics, etc.)

Acceptance Criteria

  • Existing UTs pass locally. If you need help updating any tests, refer to our writing tests documentation

Merge request reports

Loading