-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
Description of problem:
userpath-1.9.2 sdist fails to upload
Version numbers (base image, wheels, builder, etc):
userpath-1.9.2
Steps to Reproduce:
https://gitlab.com/redhat/rhel-ai/rhai/pipeline/-/jobs/11969706021
Actual results:
16:50:52 ERROR userpath-1.9.2: ['twine', 'upload', '--verbose', '--non-interactive', '--disable-progress-bar', '--repository', 'gitlab-cpu-ubi9-wheels', '--config-file', '/tmp/.pypirc', '/mnt/sdists-repo/builds/userpath-1.9.2.tar.gz'] failed with INFO Using configuration from /tmp/.pypirc Uploading distributions to https://gitlab.com/api/v4/projects/75721485/packages/pypi/ ERROR InvalidDistribution: Invalid distribution metadata: license-expression introduced in metadata version 2.4, not 2.1 16:50:52 ERROR userpath-1.9.2: Command '['twine', 'upload', '--verbose', '--non-interactive', '--disable-progress-bar', '--repository', 'gitlab-cpu-ubi9-wheels', '--config-file', '/tmp/.pypirc', '/mnt/sdists-repo/builds/userpath-1.9.2.tar.gz']' returned non-zero exit status 1.
Expected results:
Additional info: