Patool

Latest version: v4.0.0

Safety actively analyzes 714772 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 9

4.0.0

* Detect and use archive programs from Peazip installations.
Closes: GH bug 51
* Require Python >= 3.11

3.1.3

* Expand rar detection logic to all 7zip programs
Thanks Alfred Wingate for the patch!
* Detect if 7zip programs support COMPRESS (.Z) archives, since 7za 24.09 does not support it anymore.
This fixes test errors on newer Ubuntu systems.

3.1.2

* Add workaround for an error using uv publish.

3.1.1

* Improved RAR support detection for the 7-Zip archiver.
Closes: GH bug 175, 176
* Enable file(1) detection of ALZ archives, and improved handling of RAR detection for file 5.46.
Thanks Alfred Wingate for the patches!

3.1.0

* Added support for UDF (.udf) archives with 7z.
Closes: GH bug 80
* The options --quiet and --verbose are now mutually exclusive options.
* When --quiet is given twice, output on stderr from archive commands is
suppressed. When using the API functions, set verbosity to -2.

3.0.3

* Fix UnicodeDecode errors when logging, especially on windows systems.
Closes: GH bug 170
* Added support for WIM (windows image) archives with 7z.
* If the MIME database cannot detect the file type, check again with a lowercase filenanme extension.
* Use 7z option -aou to rename files when extracting instead of overwriting them.
* Use rar option -or to rename files when extracting instead of overwriting them.
* Use rar option -kb to keep files when extracting broken RAR archives.

Page 1 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.