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

Remote PyPi repository to pypiserver is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 2 - Critical
    • Resolution: Done
    • Affects Version/s: 6.11.0, 6.14.1, 6.17.0, 6.18.0
    • Fix Version/s: 7.5.0, 6.20.0
    • Component/s: PyPI
    • Labels:
    • Severity:
      Critical

      Description

      Steps to reproduce:
      1. Setup pypi server:

      docker run --name pypiserver -d -p 80:8080 -v ~/packages:/data/packages pypiserver/pypiserver:v1.2.3
      

      2. Put any .whl files in the "pckages" folder.
      3. Setup Artifactory with remote repository to the pypiserver.

      Resolving packages will not work as Artifactory is building the download URL for the packages in a wrong way.

      20200408102310|24|REQUEST|0:0:0:0:0:0:0:1|admin|GET|/api/pypi/pypi-remote/simple/pyyaml/packages/Packages/PyYAML-3.11-cp27-none-macosx_10_10_x86_64.whl|HTTP/1.1|404|0
      

      As you can see from above the download request is going to "simple/pyyaml/packages/Packages/PyYAML-3.11-cp27-none-macosx_10_10_x86_64.whl" instead of "packages/packages/Packages/PyYAML-3.11-cp27-none-macosx_10_10_x86_64.whl".

        Attachments

          Activity

            People

            Assignee:
            nadavy Nadav Yogev
            Reporter:
            arielk Ariel Kabov
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-21738 -
                SYNCHRONIZED
                • Last Sync Date: