Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-17020

If Python metadata version is set to 2.1, then the metadata calculation fails

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.5.1, 5.8.4
    • Fix Version/s: 6.1.0
    • Component/s: PyPI
    • Labels:
      None

      Description

      When Python metadata version inside METADATA or PKG-INFO files are set to 2.1, metadata extraction fails:
      "Cannot extract metadata from <artifact> : No enum constant org.jfrog.repomd.pypi.model.PypiMetadata.MetadataVersion.v2_1. Metadata will not be updated"

      To reproduce:
      1. change the PKG-INFO file inside a python file and specify

      Metadata-Version: 2.1
      (same package attached)
      2. Deploy to artifactory and wait for indexing

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lizad Liza Dashevski (Inactive)
                Reporter:
                mattheww Matthew Wang
                Assigned QA:
                Konstantin Shenderov
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: