Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update zipp to 3.21.0 #606

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pyup-bot
Copy link
Collaborator

This PR updates zipp from 0.6.0 to 3.21.0.

Changelog

3.21.0

=======

Features
--------

- Improve performances of :meth:`zipfile.Path.open` for non-reading modes. (1a1928d)
- Rely on cached_property to cache values on the instance.
- Rely on save_method_args to save method args.

3.20.2

=======

Bugfixes
--------

- Make zipp.compat.overlay.zipfile hashable. (126)

3.20.1

=======

Bugfixes
--------

- Replaced SanitizedNames with a more surgical fix for infinite loops, restoring support for names with special characters in the archive. (python/cpython123270)

3.20.0

=======

Features
--------

- Made the zipfile compatibility overlay available as zipp.compat.overlay.

3.19.3

=======

Bugfixes
--------

- Also match directories in Path.glob. (121)

3.19.2

=======

No significant changes.

3.19.1

=======

Bugfixes
--------

- Improved handling of malformed zip files. (119)

3.19.0

=======

Features
--------

- Implement is_symlink. (117)

3.18.2

=======

No significant changes.

3.18.1

=======

No significant changes.

3.18.0

=======

Features
--------

- Bypass ZipFile.namelist in glob for better performance. (106)
- Refactored glob functionality to support a more generalized solution with support for platform-specific path separators. (108)


Bugfixes
--------

- Add special accounting for pypy when computing the stack level for text encoding warnings. (114)

3.17.0

=======

Features
--------

- Added ``CompleteDirs.inject`` classmethod to make available for use elsewhere.


Bugfixes
--------

- Avoid matching path separators for '?' in glob.

3.16.2

=======

Bugfixes
--------

- In ``Path.match``, Windows path separators are no longer honored. The fact that they were was incidental and never supported. (92)
- Fixed name/suffix/suffixes/stem operations when no filename is present and the Path is not at the root of the zipfile. (96)
- Reworked glob utilizing the namelist directly. (101)

3.16.1

=======

Bugfixes
--------

- Replaced the ``fnmatch.translate`` with a fresh glob-to-regex translator for more correct matching behavior. (98)

3.16.0

=======

Features
--------

- Require Python 3.8 or later.

3.15.0

=======

* gh-102209: ``test_implied_dirs_performance`` now tests
measures the time complexity experimentally.

3.14.0

=======

* Minor cleanup in tests, including 93.

3.13.0

=======

* In tests, add a fallback when ``func_timeout`` isn't available.

3.12.1

=======

* gh-101566: In ``CompleteDirs``, override ``ZipFile.getinfo``
to supply a ``ZipInfo`` for implied dirs.

3.12.0

=======

* gh-101144: Honor ``encoding`` as positional parameter
to ``Path.open()`` and ``Path.read_text()``.

3.11.0

=======

* 85: Added support for new methods on ``Path``:

- ``match``
- ``glob`` and ``rglob``
- ``relative_to``
- ``is_symlink``

3.10.0

=======

* ``zipp`` is now a package.

3.9.1

======

* Removed 'print' expression in test_pickle.

* bpo-43651: Apply ``io.text_encoding`` on Python 3.10 and later.

3.9.0

======

* 81: ``Path`` objects are now pickleable if they've been
constructed from pickleable objects. Any restored objects
will re-construct the zip file with the original arguments.

3.8.1

======

Refreshed packaging.

Enrolled with Tidelift.

3.8.0

======

Removed compatibility code.

3.7.0

======

Require Python 3.7 or later.

3.6.0

======

78: Only ``Path`` is exposed in the public API.

3.5.1

======

77: Remove news file intended only for CPython.

3.5.0

======

74 and bpo-44095: Added ``.suffix``, ``.suffixes``,
and ``.stem`` properties.

3.4.2

======

Refresh package metadata.

3.4.1

======

Refresh packaging.

3.4.0

======

68 and bpo-42090: ``Path.joinpath`` now takes arbitrary
positional arguments and no longer accepts ``add`` as a
keyword argument.

3.3.2

======

Updated project metadata including badges.

3.3.1

======

bpo-42043: Add tests capturing subclassing requirements.

3.3.0

======

9: ``Path`` objects now expose a ``.filename`` attribute
and rely on that to resolve ``.name`` and ``.parent`` when
the ``Path`` object is at the root of the zipfile.

3.2.0

======

57 and bpo-40564: Mutate the passed ZipFile object
type instead of making a copy. Prevents issues when
both the local copy and the caller's copy attempt to
close the same file handle.

56 and bpo-41035: ``Path._next`` now honors
subclasses.

55: ``Path.is_file()`` now returns False for non-existent names.

3.1.0

======

47: ``.open`` now raises ``FileNotFoundError`` and
``IsADirectoryError`` when appropriate.

3.0.0

======

44: Merge with v1.2.0.

2.2.1

======

43: Merge with v1.1.1.

2.2.0

======

36: Rebuild package with minimum Python version declared both
in package metadata and in the python tag.

2.1.0

======

32: Merge with v1.1.0.

2.0.1

======

30: Corrected version inference (from jaraco/skeleton12).

2.0.0

======

Require Python 3.6 or later.

1.2.0

======

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.

1.1.1

======

43: Restored performance of implicit dir computation.

1.1.0

======

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).

1.0.0

======

Re-release of 0.6 to correspond with release as found in
Python 3.8.
Links

@pyup-bot pyup-bot mentioned this pull request Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant