1. 15 Nov, 2021 9 commits
  2. 14 Nov, 2021 25 commits
  3. 13 Nov, 2021 4 commits
  4. 12 Nov, 2021 2 commits
    • fix: Broken cache on Windows (#4531) · 315f9e4d
      Closes #4479
      
      The previous implementation would fail to install packages on Windows
      because it creates a `Path` starting with a slash. Such a `Path` is
      invalid on Windows. Instead, use `Link` and `url_to_path`.
      Ambrose Chua committed
    • Improves hash mismatch exception language (#4573) · 51a112f1
      * Improves wording of exception when calculated hash absent from lockfile and
      extracts archive hashing and validation to a separate method
      
      I think this could be further improved by representing the hashes as
      a dataclass containing the hash type and the string digest. The types of
      hashes would be more robust then instead of hardcoding sha256 here and
      in `FileDependency.hash()`. It would also enable enumeration of
      hash types of known hashes so that `FileDependency.hash()` could return
      a list of hashes based on requested types.
      
      Doing this might alleviate the md5/sha256 problems arising from changes
      in poetry-core 1.0.6+ that affect Poetry 1.1.7+ users using Artifactory.
      
      Co-authored-by: Arun Babu Neelicattu <arun.neelicattu@gmail.com>
      Colin Dean committed