Auth in Gitlab to the Gitlab hosted package repository does not work correctly #9694
Labels
area/auth
Related to the authenticator and keyring
area/publishing
Related to PyPI/PEP 503 publishing
kind/bug
Something isn't working as expected
status/triage
This issue needs to be triaged
Description
When the following is run in a CI job on GL, a 400 is returned, indicating that Auth succeeded (the 400 is expected on successful auth)
- "curl -v --header \"JOB-TOKEN: ${CI_JOB_TOKEN}\" \"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi\""
Using the following to attempt to push a package results in a 401, when from what I can tell, it shouldn't
Am I just doing something wrong?
Workarounds
The aim is to push a built python package into the GL registry. The work-around is to use Twine
Poetry Installation Method
pip
Operating System
Debian [python 3.12 image]
Poetry Version
Poetry (version 1.8.3)
Poetry Configuration
Python Sysconfig
No response
Example pyproject.toml
No response
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: