Skip to content

Commit

Permalink
🎉 v0.0.7 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMino committed Jul 19, 2021
1 parent d315a93 commit 2fe997e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,26 @@ This project adheres to [Semantic
Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
Nothing yet

## [0.0.7] - 2021-07-19
### Changed
- Default compression method is now set to `zipfile.ZIP_DEFLATED`.
- Wheels with directory entries in their `RECORD` files will now make
`WheelFile` raise `RecordContainsDirectoryError`.
- Lazy mode is now allowed, in a very limited version - most methods will still
raise exceptions, even when the documentation states that lazy mode
suppresses them.
- In anticipation of an actual implementation, `WheelFile.open()` raises
`NotImplementedError` now, as it should. Previously only a `def ...: pass`
stub was present.

Use it by specifying `l` in the `mode` argument, e.g.
`WheelFile("path/to/wheel", mode='rl')`. This may be used to read wheels
generated with previous version of wheelfile, which generated directory
entries in `RECORD`, making them incompatible with this release.

- In anticipation of an actual implementation, `WheelFile.open()` raises
`NotImplementedError` now, as it should. Previously only a `def ...: pass`
stub was present.

### Added
- Implemented `WheelFile.namelist()`, which, similarily to `ZipFile.namelist()`,
returns a list of archive members, but omits the metadata files which should
Expand Down Expand Up @@ -136,7 +140,8 @@ contributions - both of the fixes below came from them.
- First working version of the library.
- It's possible to create wheels from scratch.

[Unreleased]: https://github.com/mrmino/wheelfile/compare/v0.0.6...HEAD
[Unreleased]: https://github.com/mrmino/wheelfile/compare/v0.0.7...HEAD
[0.0.7]: https://github.com/mrmino/wheelfile/compare/v0.0.6...v0.0.7
[0.0.6]: https://github.com/mrmino/wheelfile/compare/v0.0.5...v0.0.6
[0.0.5]: https://github.com/mrmino/wheelfile/compare/v0.0.4...v0.0.5
[0.0.4]: https://github.com/mrmino/wheelfile/compare/v0.0.3...v0.0.4
Expand Down
2 changes: 1 addition & 1 deletion wheelfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

from typing import Optional, Union, List, Dict, IO, BinaryIO

__version__ = '0.0.6'
__version__ = '0.0.7'


# TODO: ensure that writing into `file/` arcname and then into `file/not/really`
Expand Down

0 comments on commit 2fe997e

Please sign in to comment.