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

PyPI virtual repository resolution order is not honored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 6.23.13, 7.16.3, 6.23.28, 7.28.7
    • Fix Version/s: 6.23.36, 7.31.10
    • Component/s: PyPI
    • Labels:
      None
    • Location:
      External

      Description

      Steps to reproduce:
      1. Create a local PyPI repository "bloo-pypi-dev-local"
      2. Create a local PyPI repository "bb-python-release-local"
      3. Create a virtual PyPI repository "bloo-pypi-dev", include "bloo-pypi-dev-local" as the first repository, "bb-python-release-local" as the second in order.
      4. Publish the attached "bloo-cloudstorage-0.11.0-py3-none-any.whl" package to "bloo-pypi-dev-local", make sure to deploy it with the name "cloudstorage-0.11.0-py3-none-any.whl". (as we need the names to be identical)
      5. Publish the attached "bb-cloudstorage-0.11.0-py3-none-any.whl" package to "bb-python-release-local", make sure to deploy it with the name "cloudstorage-0.11.0-py3-none-any.whl".
      6. Run the below and inspect the referenced sha256

      curl -uadmin:password localhost:8082/artifactory/api/pypi/bloo-pypi-dev/simple/cloudstorage -L                
                                                                                                            
      <html><head><title>Simple Index</title><meta name="api-version" value="2" /></head><body>
      <a href="../../cloudstorage-0.11.0-py3-none-any.whl#sha256=f15a7f3874a9c27505296dc454e323b2f50de47a5f8dd7f4483b38cdba2de7b2" rel="internal">cloudstorage-0.11.0-py3-none-any.whl</a><br />
      </body></html>%
      

      7. Confirm that the "f15a7..." checksum is of the package that we deployed to "bb-python-release-local", which is the 2nd repository in order.

      Expected behaviour:
      The returned package should be of the 1st repository in order.

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              arielk Ariel Kabov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

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