14
0

- update to 5.0:

* It is now possible to specify a codec for archive entry
    metadata (`pathname`, `linkpath`, `uname` and `gname`)
  * **BREAKING:** If you use the `archive_read_class` and
    `archive_write_class` arguments, the classes you provide will
    receive a codec name as a second positional argument.
  * The `timestamp_nsec` arguments of the legacy
    `ArchiveEntry.set_{a,c,m}time` methods are now optional
  * Removed obsolete dependencies (`mock` and `six`) from
    `tox.ini` (#119).
  * Always use `UTF-8` when reading the `PKG-INFO` and
    `README.rst` files (#120).
  * Replaced `pytest-xdist` with `pytest-forked` in `tox.ini`
- drop python-libarchive-c-no-mock.patch (upstream)
    BREAKING & SECURITY: The archive extraction functions now pass 3 security flags (SECURE_NODOTDOT, SECURE_NOABSOLUTEPATHS

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libarchive-c?expand=0&rev=13
This commit is contained in:
2023-12-07 22:22:36 +00:00
committed by Git OBS Bridge
parent 03c7ebd5ab
commit d0bb7fcc8c
5 changed files with 25 additions and 33 deletions

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Dec 7 22:21:33 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 5.0:
* It is now possible to specify a codec for archive entry
metadata (`pathname`, `linkpath`, `uname` and `gname`)
* **BREAKING:** If you use the `archive_read_class` and
`archive_write_class` arguments, the classes you provide will
receive a codec name as a second positional argument.
* The `timestamp_nsec` arguments of the legacy
`ArchiveEntry.set_{a,c,m}time` methods are now optional
* Removed obsolete dependencies (`mock` and `six`) from
`tox.ini` (#119).
* Always use `UTF-8` when reading the `PKG-INFO` and
`README.rst` files (#120).
* Replaced `pytest-xdist` with `pytest-forked` in `tox.ini`
- drop python-libarchive-c-no-mock.patch (upstream)
-------------------------------------------------------------------
Thu Jun 2 12:48:05 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
@@ -19,7 +37,7 @@ Wed Mar 23 13:50:58 UTC 2022 - pgajdos@suse.com
- version update to 4.0
4.0
---
BREAKING & SECURITY: The archive extraction functions now pass 3 security flags (SECURE_NODOTDOT, SECURE_NOABSOLUTEPATHS
BREAKING & SECURITY: The archive extraction functions now pass 3 security flags (SECURE_NODOTDOT, SECURE_NOABSOLUTEPATHS
and SECURE_SYMLINKS) to libarchive by default, unless the current directory is the root.
BREAKING: The ArchiveEntry properties atime, mtime, ctime, birthtime and size now have the value None instead of 0 when they're unset.
BREAKING: The ArchiveEntry.pathname property now attempts to decode bytes using UTF-8. This breaks reading archives that