Page MenuHomePhabricator

[gitlab-ci] twine 6.1.0 breaks pypi deploy
Closed, ResolvedPublicBUG REPORT

Description

The pypi deploy gitlab job fails because twine 6.1.0 was released and the cicd pipeline automatically upgrades pypi.

It turns out that pypi 6.1.0 replaced pkginfo with packaging and this is causing twine to fail while trying to upload to pypi.

More about this can be seen here:
https://github.com/pypa/twine/commit/aa3a910cdef8e0a3cb4e893f4c371b58015f52e0
https://github.com/pypa/twine/pull/1180
https://github.com/pypa/setuptools/issues/4759

Since the issue is still open, the workaround here should be to force pip to specifically install twine==6.0.1

We can monitor this and revert the workaround when the issue has been fixed

Details

Other Assignee
Raymond_Ndibe
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
[gitlab-ci] use twine 6.0.1 for nowrepos/cloud/cicd/gitlab-ci!48raymond-ndibeuse_twine_6.0.1main
Customize query in GitLab

Related Objects

StatusSubtypeAssignedTask
ResolvedBUG REPORTRaymond_Ndibe
ResolvedBUG REPORTRaymond_Ndibe

Event Timeline

Raymond_Ndibe changed the task status from Open to In Progress.Feb 7 2025, 1:53 AM
Raymond_Ndibe claimed this task.
Raymond_Ndibe moved this task from In Review to Done on the Toolforge (Toolforge iteration 17) board.