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

[5.4.10] Pypi API change requires two remote repositories

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.10.4
    • Component/s: PyPI
    • Labels:
      None

      Description

      Symptoms: Some pip packages install successfully while others do not after going to the patched version of Artifactory

      Steps to reproduce:

      1. Upgrade Artifactory 5.4.6 to 5.4.10
      2. Change the PyPi remote repository URL to be https://files.pythonhosted.org
      3. run "pip install pandas_market_calendars"
      4. Observe the failure to install the package:

      root@b5277ae992a5:/opt/jfrog/artifactory# pip install pandas_market_calendars
      Downloading/unpacking pandas-market-calendars
      Real name of requirement pandas_market_calendars is pandas-market-calendars
      http://localhost:8081/artifactory/api/pypi/pypi/simple/pandas-market-calendars/ uses an insecure transport scheme (http). Consider using https if localhost:8081 has it available
      Could not find any downloads that satisfy the requirement pandas-market-calendars
      Cleaning up...
      No distributions at all found for pandas-market-calendars
      Storing debug log for failure in /root/.pip/pip.log

       

      Workaround: You can create a virtual repository with 2 remote repositories pointed at https://files.pythonhosted.org and https://pypi.org and aggregate them with a virtual repository.

       

      This behavior was not reproduced in 5.10.4.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              patrickr Patrick Russell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: