Commit Graph

52 Commits

Author SHA256 Message Date
Ana Guerrero
b4fff9b96e Accepting request 1225379 from devel:languages:python
- update to 3.21.0:
  * 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.
  * Make zipp.compat.overlay.zipfile hashable.
  * Replaced SanitizedNames with a more surgical fix for infinite
    loops, restoring support for names with special characters in
    the archive. (python/cpython#123270)
  * Made the zipfile compatibility overlay available as
    zipp.compat.overlay.
  * Also match directories in Path.glob.

OBS-URL: https://build.opensuse.org/request/show/1225379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=23
2024-11-21 14:13:29 +00:00
c8d1f3e33a - update to 3.21.0:
* 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.
  * Make zipp.compat.overlay.zipfile hashable.
  * Replaced SanitizedNames with a more surgical fix for infinite
    loops, restoring support for names with special characters in
    the archive. (python/cpython#123270)
  * Made the zipfile compatibility overlay available as
    zipp.compat.overlay.
  * Also match directories in Path.glob.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=48
2024-11-20 17:30:04 +00:00
Ana Guerrero
6b26be3c18 Accepting request 1186491 from devel:languages:python
- Add CVE and bug link to the changelog
(CVE-2024-5569, bsc#1227547)

OBS-URL: https://build.opensuse.org/request/show/1186491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=22
2024-07-11 18:30:24 +00:00
5a10aa4700 - update to 3.19.2 (CVE-2024-5569, bsc#1227547):
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=46
2024-07-10 05:16:54 +00:00
Ana Guerrero
40a61f8e58 Accepting request 1179936 from devel:languages:python
- update to 3.19.2:
  * No significant changes.
  * Improved handling of malformed zip files.
  * Implement is_symlink.
  * No significant changes.

OBS-URL: https://build.opensuse.org/request/show/1179936
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=21
2024-06-11 16:27:08 +00:00
b7b8c60c09 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=44 2024-06-11 07:57:06 +00:00
354e3651e5 - update to 3.19.2:
* No significant changes.
  * Improved handling of malformed zip files.
  * Implement is_symlink.
  * No significant changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=43
2024-06-10 11:06:56 +00:00
Ana Guerrero
9508062ce4 Accepting request 1160959 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1160959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=20
2024-03-25 20:06:58 +00:00
0f841c06df - update to 3.18.1:
* No significant changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=41
2024-03-16 13:12:41 +00:00
3fa9d7f8f3 - update to 3.18.0:
* Bypass ZipFile.namelist in glob for better performance.
  * Refactored glob functionality to support a more generalized
    solution with support for platform-specific path separators.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=40
2024-03-14 13:52:01 +00:00
Ana Guerrero
c715b6c0b7 Accepting request 1129068 from devel:languages:python
- update to 3.17.0:
  * Added ``CompleteDirs.inject`` classmethod to make available
    for use elsewhere.
  * Avoid matching path separators for '?' in glob.
  * 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)
  * Replaced the ``fnmatch.translate`` with a fresh glob-to-regex
    translator for more correct matching behavior. (#98)
  * Require Python 3.8 or later.

  * Removed compatibility code.
- add python-rpm-macros buildrequires
  *  Remove news file intended only for CPython.
  * refresh packaging
  * When adding implicit dirs, ensure that ancestral directories
  * Declared package as backport.

OBS-URL: https://build.opensuse.org/request/show/1129068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=19
2023-11-28 21:18:08 +00:00
a2fd8b70c0 - update to 3.17.0:
* Added ``CompleteDirs.inject`` classmethod to make available
    for use elsewhere.
  * Avoid matching path separators for '?' in glob.
  * 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)
  * Replaced the ``fnmatch.translate`` with a fresh glob-to-regex
    translator for more correct matching behavior. (#98)
  * Require Python 3.8 or later.
  * Removed compatibility code.
- add python-rpm-macros buildrequires
  *  Remove news file intended only for CPython.
  * refresh packaging
  * When adding implicit dirs, ensure that ancestral directories
  * Declared package as backport.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=38
2023-11-27 09:08:21 +00:00
Dominique Leuenberger
14786f19cc Accepting request 1081794 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=18
2023-04-22 19:59:08 +00:00
69deed6d02 Accepting request 1081705 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081705
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=36
2023-04-21 13:57:29 +00:00
Dominique Leuenberger
8aa8165fcf Accepting request 1079595 from devel:languages:python
- update to 3.15.0:
  * gh-102209: ``test_implied_dirs_performance`` now tests
  * measures the time complexity experimentally.
  * Minor cleanup in tests, including #93.
  * In tests, add a fallback when ``func_timeout`` isn't
    available.
  * gh-101566: In ``CompleteDirs``, override ``ZipFile.getinfo``
  * to supply a ``ZipInfo`` for implied dirs.
  * gh-101144: Honor ``encoding`` as positional parameter
  * to ``Path.open()`` and ``Path.read_text()``.
  * #85: Added support for new methods on ``Path``:
  * ``match`` * ``glob`` and ``rglob`` * ``relative_to``
  * ``is_symlink``
  * Removed 'print' expression in test_pickle.
  * bpo-43651: Apply ``io.text_encoding`` on Python 3.10 and
    later.
  * #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.

OBS-URL: https://build.opensuse.org/request/show/1079595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=17
2023-04-16 14:06:49 +00:00
f3cb204a0a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=34 2023-04-15 14:11:44 +00:00
20af1bfcf0 - update to 3.15.0:
* gh-102209: ``test_implied_dirs_performance`` now tests
  * measures the time complexity experimentally.
  * Minor cleanup in tests, including #93.
  * In tests, add a fallback when ``func_timeout`` isn't
    available.
  * gh-101566: In ``CompleteDirs``, override ``ZipFile.getinfo``
  * to supply a ``ZipInfo`` for implied dirs.
  * gh-101144: Honor ``encoding`` as positional parameter
  * to ``Path.open()`` and ``Path.read_text()``.
  * #85: Added support for new methods on ``Path``:
  * ``match`` * ``glob`` and ``rglob`` * ``relative_to``
  * ``is_symlink``
  * Removed 'print' expression in test_pickle.
  * bpo-43651: Apply ``io.text_encoding`` on Python 3.10 and
    later.
  * #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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=33
2023-04-15 10:24:39 +00:00
Dominique Leuenberger
6b94c98ca1 Accepting request 999761 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/999761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=16
2022-08-30 12:48:11 +00:00
Steve Kowalik
cd54ae9e07 Accepting request 999484 from home:bnavigator:branches:devel:languages:python
Restoring the build for Py 3.6

- Remove deprecated setup.py hack: move to PEP517 build
- Fix requirements
  * Neither jaraco.itertools nor jaraco.tidelift are used outside
    testing or documentation building
- Ignore that upstream requires Python 3.7 or later since version
  3.7.0

OBS-URL: https://build.opensuse.org/request/show/999484
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=31
2022-08-29 04:59:34 +00:00
be08e56240 - update to 3.8.1:
* enrolled in tidelift

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=30
2022-08-23 20:36:29 +00:00
Dominique Leuenberger
56473f3c99 Accepting request 979729 from devel:languages:python
- update to 3.8.0:
  * Removed compatibility code.

OBS-URL: https://build.opensuse.org/request/show/979729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=15
2022-05-31 13:46:46 +00:00
be761f80fa - update to 3.8.0:
* Removed compatibility code.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=28
2022-05-29 19:03:04 +00:00
Dominique Leuenberger
0f1658aba7 Accepting request 945425 from devel:languages:python
- update to 3.7.0:
  * Require Python 3.7 or later.

- add python-rpm-macros buildrequires

OBS-URL: https://build.opensuse.org/request/show/945425
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=14
2022-01-11 20:17:10 +00:00
651cdb7667 - update to 3.7.0:
* Require Python 3.7 or later.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=27
2022-01-04 16:48:03 +00:00
66e6b53f82 - add python-rpm-macros buildrequires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=26
2022-01-04 14:41:47 +00:00
Dominique Leuenberger
fd16dfde90 Accepting request 925743 from devel:languages:python
- update to 3.6.0:
  *  Only ``Path`` is exposed in the public API.
  *  Remove news file intended only for CPython.

OBS-URL: https://build.opensuse.org/request/show/925743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=13
2021-10-20 18:23:29 +00:00
e8f7e84b35 - update to 3.6.0:
*  Only ``Path`` is exposed in the public API.
  *  Remove news file intended only for CPython.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=25
2021-10-16 19:43:11 +00:00
Dominique Leuenberger
e814415634 Accepting request 906829 from devel:languages:python
- update to 3.5.0:
  * Added ``.suffix``, ``.suffixes``, and ``.stem`` properties.

OBS-URL: https://build.opensuse.org/request/show/906829
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=12
2021-07-21 17:05:35 +00:00
e0801663d8 - update to 3.5.0:
* Added ``.suffix``, ``.suffixes``, and ``.stem`` properties.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=24
2021-07-17 13:36:33 +00:00
Dominique Leuenberger
90d4adccda Accepting request 877636 from devel:languages:python
- update to 3.4.1:
  * refresh packaging

OBS-URL: https://build.opensuse.org/request/show/877636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=11
2021-03-12 12:31:02 +00:00
1ec0a092d6 - update to 3.4.1:
* refresh packaging

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=22
2021-03-08 09:07:16 +00:00
Dominique Leuenberger
3cd5529500 Accepting request 850769 from devel:languages:python
- update to 3.4.0:
  #68 and bpo-42090: ``Path.joinpath`` now takes arbitrary
  positional arguments and no longer accepts ``add`` as a
  keyword argument.
  Updated project metadata including badges.
  bpo-42043: Add tests capturing subclassing requirements.
  #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.

OBS-URL: https://build.opensuse.org/request/show/850769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=10
2020-11-29 11:26:56 +00:00
7bbd3c0efb - update to 3.4.0:
#68 and bpo-42090: ``Path.joinpath`` now takes arbitrary
  positional arguments and no longer accepts ``add`` as a
  keyword argument.
  Updated project metadata including badges.
  bpo-42043: Add tests capturing subclassing requirements.
  #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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=20
2020-11-25 14:52:58 +00:00
Dominique Leuenberger
31a72c2616 Accepting request 838271 from devel:languages:python
- update to 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.

OBS-URL: https://build.opensuse.org/request/show/838271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=9
2020-10-29 08:46:13 +00:00
d730c76af2 - update to 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=18
2020-09-28 12:04:18 +00:00
Dominique Leuenberger
7cb7b5d05f Accepting request 784549 from devel:languages:python
- Drop not-removed py2 dependencies

- 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/784549
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=8
2020-04-19 19:40:01 +00:00
Tomáš Chvátal
0b6d35d0b2 - Drop not-removed py2 dependencies
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=16
2020-03-13 07:52:23 +00:00
Tomáš Chvátal
a4d9cbd7c7 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
2020-03-09 13:31:47 +00:00
Dominique Leuenberger
9b2464869f Accepting request 727096 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/727096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=7
2019-09-04 06:56:37 +00:00
Tomáš Chvátal
2d8cddc6c0 Accepting request 727034 from home:mcalabkova:branches:devel:languages:python
- update to 0.6.0
  * When adding implicit dirs, ensure that ancestral directories 
    are added and that duplicates are excluded.
  * The library now relies on more_itertools.

OBS-URL: https://build.opensuse.org/request/show/727034
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=13
2019-08-30 00:48:40 +00:00
Dominique Leuenberger
f232fe3430 Accepting request 717548 from devel:languages:python
- Update to 0.5.2:
  * #7: Parent of a directory now actually returns the parent.

OBS-URL: https://build.opensuse.org/request/show/717548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=6
2019-07-30 11:04:30 +00:00
Tomáš Chvátal
052e65533b - Update to 0.5.2:
* #7: Parent of a directory now actually returns the parent.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=11
2019-07-22 11:27:23 +00:00
Dominique Leuenberger
51392cb5d1 Accepting request 708170 from devel:languages:python
- Switch to mulitbuild to avoid build cycle

OBS-URL: https://build.opensuse.org/request/show/708170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=5
2019-06-13 20:38:01 +00:00
Tomáš Chvátal
0852c8f492 - Switch to mulitbuild to avoid build cycle
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=9
2019-06-06 15:52:12 +00:00
Dominique Leuenberger
db65f69eec Accepting request 703557 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/703557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=4
2019-05-20 08:26:59 +00:00
Tomáš Chvátal
7ceb21b3cd Accepting request 703554 from home:anandrit:branches:devel:languages:python
- update to 0.5.1
  * Declared package as backport.

OBS-URL: https://build.opensuse.org/request/show/703554
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=7
2019-05-16 21:01:03 +00:00
Dominique Leuenberger
3bca646c87 Accepting request 703034 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/703034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=3
2019-05-16 20:00:03 +00:00
Tomáš Chvátal
2601f011b4 Accepting request 703029 from home:SVasudevan:branches:devel:languages:python
- Update to 0.5.0
  * no changelog found
  * Added runtime dependencies python-unittest2 and python-contextlib2

OBS-URL: https://build.opensuse.org/request/show/703029
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=5
2019-05-14 23:32:38 +00:00
Dominique Leuenberger
ffbf65cc69 Accepting request 701008 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/701008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=2
2019-05-07 21:12:18 +00:00
Tomáš Chvátal
e00be51d52 Accepting request 701004 from home:pgajdos
- version update to 0.4.0
  * #4: Add support for zip files with implied directories.

OBS-URL: https://build.opensuse.org/request/show/701004
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=3
2019-05-06 09:04:16 +00:00