Skip to content

PyPi release 1.7.2

Compare
Choose a tag to compare
@mikedarcy mikedarcy released this 14 Mar 21:51
· 6 commits to master since this release

Release Notes

Minor feature addition and bugfixes

  • Introducing support for bag idempotentcy, or reproducible bags. A reproducible bag is a bag that has content-equivalence (in both payload and metadata, including manifests) to another bag created a different time with the same content, structure, bagging tool, and profile (if used). When this bag creation and bag archive mode is enabled, two separately created bags (or bag archive files) with content-equivalence will hash equally, whether the hash is calculated on the bytes of the resultant archive file or calculated on the equivalently ordered set of individual file hashes of the bag's contents. See the API Guide for additional information.
  • PR: #59 Only require the external package importlib_metadata for Python < 3.8. This module is already included as importlib.metadata in Python versions 3.8 and above.
  • Fix issue with HTTP fetch handler and auth header bearer-token stripping on redirects not getting restored to the cached requests session after redirect.
  • Remove dependency on deprecated distutils and distutils.util.strtobool function.
  • The is_bag API function will no longer attempt to instantiate a Bag object on non-directories.