Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-6753

userpath-1.9.2: FTBFS: Invalid distribution metadata: license-expression for metadata 2.1

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Accelerator Enablement
    • 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:

              rh-ee-aoguntay Anu Oguntayo
              cheimes@redhat.com Christian Heimes
              Frank's Team
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: