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

docker-7.1.0 FTBFS: Invalid distribution metadata: license-expression for metadata 2.3

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Development Platform
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • AP Sprint 17
    • Moderate

      Description of problem:

      docker-7.1.0 fails to build from sources

      Version numbers (base image, wheels, builder, etc):

      v23.16.0

      Steps to Reproduce:

      See https://gitlab.com/redhat/rhel-ai/rhai/pipeline/-/jobs/11729885506

      Actual results:

      22:36:56 INFO docker-7.1.0: docker: sdist filename 'docker-7.1.0.tar.gz' has expected name 'docker' and version 7.1.0
      22:36:56 INFO docker-7.1.0: docker: wheel filename 'docker-7.1.0-8-py3-none-any.whl' has expected name 'docker' and version 7.1.0
      22:36:56 INFO docker-7.1.0: docker: preparing to upload /mnt/sdists-repo/builds/docker-7.1.0.tar.gz and /mnt/wheels-repo/build/docker-7.1.0-8-py3-none-any.whl
      22:36:58 ERROR docker-7.1.0: ['twine', 'upload', '--verbose', '--non-interactive', '--disable-progress-bar', '--repository', 'gitlab-cuda-ubi9-wheels', '--config-file', '/tmp/.pypirc', '/mnt/sdists-repo/builds/docker-7.1.0.tar.gz'] failed with INFO     Using configuration from /tmp/.pypirc                                  
      Uploading distributions to 
      https://gitlab.com/api/v4/projects/75342482/packages/pypi/
      ERROR    InvalidDistribution: Invalid distribution metadata: license-expression 
               introduced in metadata version 2.4, not 2.3    

      Expected results:

      No error

      Additional info:

      See AIPCC-4261 and AIPCC-947 for similar cases. We need to add a patch to builder to fix the package metadata.

              iangelak@redhat.com Ioannis Angelakopoulos
              cheimes@redhat.com Christian Heimes
              Antonio's Team
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: