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

Lack of headers causes pip to ignore wheel cache

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Priority: 3 - High
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 6.6.0
    • Component/s: PyPI
    • Labels:
      None

      Description

      According to the pip docs, it will use a wheel cache for packages when possible. The url for these packages is part of the cache keying but it appears that what determines if it should download instead of cache is the following:

      https://pip.pypa.io/en/stable/reference/pip_install/#caching

      We've observed that even being explicit with cache location, pip still goes to download the package. I'm not sure if the lack of expire/cache control headers is the culprit yet or if it's the url in some way (i.e. being redirected to a different path).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              lusis John E Vincent (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

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