Subject: CVS commit: pkgsrc/devel/py-importlib-resources
From: Adam Ciarcinski
Date: 2022-10-26 12:56:27
Message id: 20221026105628.03D5BFA90@cvs.NetBSD.org

Log Message:
py-importlib-resources: updated to 5.10.0

v5.10.0
=======
* Lifted restriction on modules passed to ``files``.
  Now modules need not be a package and if a non-package
  module is passed, resources will be resolved adjacent to
  those modules, even for modules not found in any package.
  For example, ``files(import_module('mod.py'))`` will
  resolve resources found at the root. The parameter to
  files was renamed from 'package' to 'anchor', with a
  compatibility shim for those passing by keyword.

* ``files`` no longer requires the anchor to be
  specified and can infer the anchor from the caller's scope
  (defaults to the caller's module).

v5.9.0
======
* ``as_file`` now also supports a ``Traversable``
  representing a directory and (when needed) renders the
  full tree to a temporary directory.

v5.8.1
======
* In ``MultiplexedPath``, restore expectation that
  a compound path with a non-existent directory does not
  raise an exception.

v5.8.0
======
* Now ``Traversable.joinpath`` provides a concrete
  implementation, replacing the implementation in ``.simple``
  and converging with the behavior in ``MultiplexedPath``.

v5.7.1
======
* In ``simple.ResourceContainer.joinpath``, honor
  names split by ``posixpath.sep``.

v5.7.0
======
* ``abc.Traversable.joinpath`` now allows for multiple
  arguments and specifies that ``posixpath.sep`` is allowed
  in any argument to accept multiple arguments, matching the
  behavior found in ``zipfile.Path`` and ``pathlib.Path``.

  ``simple.ResourceContainer`` now honors this behavior.

v5.6.0
======
* Add type declarations in ABCs.

v5.5.0
======
* Require Python 3.7 or later.
* Fix error when no ``__pycache__`` directories exist
  when testing ``update-zips``.

v5.4.0
======
* Test suite now relies entirely on the traversable
  API.

v5.3.0
======
* Now raise a ``DeprecationWarning`` for all legacy
  functions. Instead, users should rely on the ``files()``
  API introduced in importlib_resources 1.3. See
  `Migrating from Legacy \ 
<https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_
  for guidance on avoiding the deprecated functions.

v5.2.3
======
* Updated readme to reflect current behavior and show
  which versions correspond to which behavior in CPython.

v5.0.7
======
* bpo-45419: Correct ``DegenerateFiles.Path`` ``.name``
  and ``.open()`` interfaces to match ``Traversable``.

v5.2.2
======
* Fix refleak in ``as_file`` caught by CPython tests.

v5.2.1
======
* bpo-38291: Avoid DeprecationWarning on ``typing.io``.

v5.2.0
======
* Legacy API (``path``, ``contents``, ...)
  is now supported entirely by the ``.files()`` API with
  a compatibility shim supplied for resource loaders without
  that functionality.

Files:
RevisionActionfile
1.12modifypkgsrc/devel/py-importlib-resources/Makefile
1.8modifypkgsrc/devel/py-importlib-resources/PLIST
1.10modifypkgsrc/devel/py-importlib-resources/distinfo