summaryrefslogtreecommitdiff
path: root/src/wheel/wheelfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace bespoke logger with Python logging logger, restoring ↵python-loggingJason R. Coombs2021-12-261-2/+2
| | | | info/debug/warning levels to logged messages. Fixed missing f-string for 'wheelfile_path'.
* Merge branch 'main' into remove-distutilsAlex Grönholm2021-12-261-26/+19
|\
| * Eliminated more py2 compatibility codeAlex Grönholm2021-12-241-25/+19
| | | | | | | | | | - Got rid of as_bytes(), as_unicode() and native() - Eliminated the py2 code path in _update_crc()
* | Fixed one more distutils importAlex Grönholm2021-12-241-3/+3
|/
* Adopted isort and applied it to the codebaseAlex Grönholm2021-12-241-3/+3
|
* Adopted black and reformatted the codebase to matchAlex Grönholm2021-12-241-40/+65
|
* Upgraded to py3.7+ syntaxAlex Grönholm2021-12-221-6/+6
|
* Dropped support for unmaintained Python versionsAlex Grönholm2021-12-221-15/+3
|
* Support unpacking wheels that contain files with commas in their names (#427)Hood Chatham2021-12-221-17/+29
| | | | | The csv module is now being used to read RECORD. Co-authored-by: Alex Grönholm <alex.gronholm@nextday.fi>
* Fix resource leak in WheelFile.open() (#338)Jon Dufresne2020-03-241-4/+4
| | | | | | | | | | | In WheelFile.open(), if the hash does not exist, avoid opening the file before raising the exception. Previously would leak the open file resource which could result in a ResourceWarning when Python warnings are enabled: ResourceWarning: unclosed file <_io.FileIO name='…/test_testzip_missing_hash0/test-1.0-py2.py3-none-any.whl' mode='rb' closefd=True> Python warnings are now enabled during tests to help catch these earlier.
* Added the --compression option to bdist_wheel (#316)Alex Grönholm2020-01-261-4/+4
| | | Fixes #313.
* Migrated to the src layoutAlex Grönholm2020-01-221-0/+169
Fixes #37.