14
0
forked from pool/python-zipp

Accepting request 782924 from home:pgajdos:python

- version update to 3.1.0
  * #47: ``.open`` now raises ``FileNotFoundError`` and
    ``IsADirectoryError`` when appropriate.
  * #44: ``zipp.Path.open()`` now supports a compatible signature
    as ``pathlib.Path.open()``, accepting text (default) or binary
    modes and soliciting keyword parameters passed through to
    ``io.TextIOWrapper`` (encoding, newline, etc). The stream is
    opened in text-mode by default now. ``open`` no
    longer accepts ``pwd`` as a positional argument and does not
    accept the ``force_zip64`` parameter at all. This change is
    a backward-incompatible change for that single function.
  * #43: Restored performance of implicit dir computation.
  * #36: Rebuild package with minimum Python version declared both
    in package metadata and in the python tag.
  * #32: For read-only zip files, complexity of ``.exists`` and
    ``joinpath`` is now constant time instead of ``O(n)``, preventing
    quadratic time in common use-cases and rendering large
    zip files unusable for Path. Big thanks to Benjy Weinberger
    for the bug report and contributed fix (#33).

OBS-URL: https://build.opensuse.org/request/show/782924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=15
This commit is contained in:
Tomáš Chvátal
2020-03-09 13:31:47 +00:00
committed by Git OBS Bridge
parent 2d8cddc6c0
commit a4d9cbd7c7
4 changed files with 36 additions and 6 deletions

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Mar 9 12:20:53 UTC 2020 - pgajdos@suse.com
- version update to 3.1.0
* #47: ``.open`` now raises ``FileNotFoundError`` and
``IsADirectoryError`` when appropriate.
* #44: ``zipp.Path.open()`` now supports a compatible signature
as ``pathlib.Path.open()``, accepting text (default) or binary
modes and soliciting keyword parameters passed through to
``io.TextIOWrapper`` (encoding, newline, etc). The stream is
opened in text-mode by default now. ``open`` no
longer accepts ``pwd`` as a positional argument and does not
accept the ``force_zip64`` parameter at all. This change is
a backward-incompatible change for that single function.
* #43: Restored performance of implicit dir computation.
* #36: Rebuild package with minimum Python version declared both
in package metadata and in the python tag.
* #32: For read-only zip files, complexity of ``.exists`` and
``joinpath`` is now constant time instead of ``O(n)``, preventing
quadratic time in common use-cases and rendering large
zip files unusable for Path. Big thanks to Benjy Weinberger
for the bug report and contributed fix (#33).
-------------------------------------------------------------------
Thu Aug 29 14:07:59 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>