Skip to content

v0.0.9

Latest
Compare
Choose a tag to compare
@MrMino MrMino released this 18 Jul 23:11
· 3 commits to master since this release

0.0.9 - 2024-07-19

Changed

  • Dropped support of Python versions lower than Python 3.9.
  • The WheelFile.writestr_* methods will now preserve as ZipInfo attributes,
    if a ZipInfo object has been passed instead of the filename.
  • WheelFile.from_wheelfile constructor will now preserve ZipInfo
    attributes of the files from distinfo and data directories of the original
    archive. This includes file permissions.
  • Unconstrained packaging requirement. At the time of writing this, all
    versions up to packaging==24.1 pass the tests on Linux.

Fixed

  • Lazy mode will no longer confuse corrupted wheeldata with metadata - if
    WHEEL file is corrupted or wrong, the .wheeldata will be set to None,
    as opposed to .metadata as was the case previously. Thanks to
    mboisson for spotting this and the fix.
  • Writing a .dist-info/RECORD file in a subdirectory of the archive will no
    longer trigger an AssertionError. This should help with vendoring packages
    inside wheels. Thanks to mboisson for
    providing a fix.