21 Commits

Author SHA256 Message Date
0b6be849ee Accepting request 1287720 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1287720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py7zr?expand=0&rev=10
2025-06-23 13:04:39 +00:00
966e4df82c - Update to 1.0.0
* Changed
    - CI: check on Linux on ARM64 with GitHub hosted ARM64 runner.
    - Improve issue report template
    - Remove Travis-CI button from Documentation
- Changes from 0.22.0
  * Added
    - Add mode "x" for SevenZipFile (#588)
    - Add SevenZipFile#namelist method (#600)
  * Fixed
    - Append mode on non-existent files (#604)
    - Fix NUMBER encoding of integer when 8 bytes(#591)
  * Changed
    - Minimum required Python version to be Python 3.8 (#601)
    - Remove pyannotate from pyproject.toml (#598)
  * Document
    - Update user guide (#596)
- Changes from 0.21.1
  * Fixed
    - Follow shutil.register_unpack_format() convention of raising a ReadError when the library cannot handle a file (#583)
    - ensure unpack_7zarchive closes the archive (#584)
    - 64bit OS detection (#580)
  * Added
    - Add recursive sub-directories and files extraction (#585)
  * Changed
    - check targets argument type for read and extract method (#577)
    - Treat zero byte stream as a file (#551)
- Changes from 0.21.0
  * Changed
    - Speed up extraction when number of files is very large (#555)
    - Replace deprecated functions on python 3.12 (#550)
  * Added
    - Add report_update() for logging large files extraction (#558)
  * Document
    - Add subsection of multi-volume creation (#568)
- Drop py7zr-remove-pyannotate.patch because no more needed.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py7zr?expand=0&rev=20
2025-06-22 16:29:34 +00:00
92b139305b Accepting request 1147146 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1147146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py7zr?expand=0&rev=9
2024-02-18 19:23:16 +00:00
55d028b886 Accepting request 1147132 from home:bnavigator:branches:devel:languages:python
- Remove bogus unmaintained pyannotate test dependency
  * Add py7zr-remove-pyannotate.patch gh#miurahr/py7zr#552

OBS-URL: https://build.opensuse.org/request/show/1147132
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py7zr?expand=0&rev=18
2024-02-16 16:36:37 +00:00
79fbb02ada Accepting request 1136541 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1136541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py7zr?expand=0&rev=8
2024-01-04 14:58:18 +00:00
ff4b2e95a2 - update to 0.20.8:
* Detect brotli import error (#543)
  * refactor: hardening SevenZipFile constructor (#547)
  * refactor: improve type safe functions (#545)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py7zr?expand=0&rev=16
2023-12-27 14:00:00 +00:00
70fba9b7a9 Accepting request 1133368 from devel:languages:python
- update to 0.20.7:
    * Support Python 3.12
- update to 0.20.6
    * fix: sanitize path when write (#525)
    * fix: allow specify target path in relative path (#530)
    * Avoid AttributeError on OpenBSD (#521)
    * Error appending file: KeyError: 'lastwritetime' (#517)
    * Fixing a string quote in user_guide document(#524)

OBS-URL: https://build.opensuse.org/request/show/1133368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py7zr?expand=0&rev=7
2023-12-15 20:49:37 +00:00
38a5e9c263 - update to 0.20.7:
* Support Python 3.12
- update to 0.20.6
    * fix: sanitize path when write (#525)
    * fix: allow specify target path in relative path (#530)
    * Avoid AttributeError on OpenBSD (#521)
    * Error appending file: KeyError: 'lastwritetime' (#517)
    * Fixing a string quote in user_guide document(#524)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py7zr?expand=0&rev=14
2023-12-15 09:40:50 +00:00
397b2d9bd7 Accepting request 1133246 from home:ecsos:python
- Update to 0.20.7:
  * Changed
    - Support Python 3.12 (#541)
- Update to 0.20.6
  * Fixed
    - fix: sanitize path when write (#525)
    - fix: allow specify target path in relative path (#530)
    - Avoid AttributeError on OpenBSD (#521)
    - Error appending file: KeyError: 'lastwritetime' (#517)
  * Document
    - Fixing a string quote in user_guide document(#524)

OBS-URL: https://build.opensuse.org/request/show/1133246
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py7zr?expand=0&rev=13
2023-12-15 09:40:17 +00:00
3d4058d259 Accepting request 1094470 from devel:languages:python
Forwarded request #1094348 from ecsos

- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1094470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py7zr?expand=0&rev=6
2023-06-21 20:40:32 +00:00
e0bc9a957f Accepting request 1094348 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1094348
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py7zr?expand=0&rev=11
2023-06-21 17:26:22 +00:00
46d7701c78 Accepting request 1084851 from devel:languages:python
- update to 0.20.5:
  * Remove root reference from file names (#513)
  * fix typo in the readme (#510)
  * Drop manual GC to improve performance when many files are
    handled. (#489, #490)
  * Fix mypy error
  * Skip deflate64 compression/decompression test on pypy
  * There is an issue in dependency inflate64 library that causes
    SIGABORT and SIGSEGV on pypy

OBS-URL: https://build.opensuse.org/request/show/1084851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py7zr?expand=0&rev=5
2023-05-05 13:57:59 +00:00
e99d3b0245 - update to 0.20.5:
* Remove root reference from file names (#513)
  * fix typo in the readme (#510)
  * Drop manual GC to improve performance when many files are
    handled. (#489, #490)
  * Fix mypy error
  * Skip deflate64 compression/decompression test on pypy
  * There is an issue in dependency inflate64 library that causes
    SIGABORT and SIGSEGV on pypy

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py7zr?expand=0&rev=9
2023-05-04 19:20:19 +00:00
25a4739194 Accepting request 1044224 from devel:languages:python
- Update to 0.20.2
  * Fix error with good path data, when detecting wrong path with
    new canonical_path(), and drop resolve() call on path.
- Release 0.20.1
  ## Security
  * Fix sanity check for path traversal attack(#480)
  * Add path checker in writef() and writestr() methods that
    ignores evil pass.
    - When pass arcname as evil path such as
      "../../../../tmp/evil.sh"
    - it raises ValueError
  * Check symlink and junction is under target folder when
    extraction
- Release 0.20.0
  * Support enhanced deflate compression.(#472)
  * Bump setuptools@63 and setuptools_scm@7 (#473)
  * Deprecate Python 3.6 support (#473)
- Fixes boo#1206141 CVE-2022-44900
- Update to version 0.19.0
  * big changelog
- Move tests to multibuild

OBS-URL: https://build.opensuse.org/request/show/1044224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py7zr?expand=0&rev=4
2022-12-24 13:51:30 +00:00
31a408395e Accepting request 1044074 from home:bnavigator:branches:devel:languages:python
- Update to 0.20.2
  * Fix error with good path data, when detecting wrong path with
    new canonical_path(), and drop resolve() call on path.
- Release 0.20.1
  ## Security
  * Fix sanity check for path traversal attack(#480)
  * Add path checker in writef() and writestr() methods that
    ignores evil pass.
    - When pass arcname as evil path such as
      "../../../../tmp/evil.sh"
    - it raises ValueError
  * Check symlink and junction is under target folder when
    extraction
- Release 0.20.0
  * Support enhanced deflate compression.(#472)
  * Bump setuptools@63 and setuptools_scm@7 (#473)
  * Deprecate Python 3.6 support (#473)
- Fixes boo#1206141 CVE-2022-44900

- Update to version 0.19.0
  * big changelog
- Move tests to multibuild

OBS-URL: https://build.opensuse.org/request/show/1044074
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py7zr?expand=0&rev=7
2022-12-22 10:44:16 +00:00
3b06224811 Accepting request 989323 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/989323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py7zr?expand=0&rev=3
2022-07-15 11:52:44 +00:00
c965e2733e Accepting request 989252 from home:bnavigator:branches:devel:languages:python:py7zrminimal
- Remove ancient python-pathlib from the build requirements but
  leave the version as is. An update to the latest version 0.19.0
  would require to package many more dependencies.
- Clean up the spec-file a little bit
- Use pytest. No pure python package should ever be untested.

OBS-URL: https://build.opensuse.org/request/show/989252
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py7zr?expand=0&rev=5
2022-07-15 06:56:08 +00:00
Richard Brown
afe145d081 Accepting request 883194 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/883194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py7zr?expand=0&rev=2
2021-04-06 15:31:09 +00:00
9cbccbece9 Accepting request 882798 from home:namtrac:branches:devel:languages:python
This fixes a wrong dependency on python2

- Fix sed line to use python3 and add a replacement for /usr/bin/python
  as well.

OBS-URL: https://build.opensuse.org/request/show/882798
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py7zr?expand=0&rev=3
2021-04-06 08:30:13 +00:00
e0a89cf849 Accepting request 866548 from devel:languages:python
New package, needed for calibre >= 5.10.0

OBS-URL: https://build.opensuse.org/request/show/866548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py7zr?expand=0&rev=1
2021-02-26 20:59:02 +00:00
cd2cf46e61 Accepting request 866427 from home:ecsos
Need for calibre

OBS-URL: https://build.opensuse.org/request/show/866427
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py7zr?expand=0&rev=1
2021-01-25 09:29:20 +00:00