Commit Graph

25 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Tomáš Chvátal
2c07857624 - Initial commit, needed by importlib-metadata
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipp?expand=0&rev=1
2019-01-31 13:21:47 +00:00