./devel/py-importlib-resources, Read resources from Python packages

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.4.5, Package name: py312-importlib-resources-6.4.5, Maintainer: pkgsrc-users

importlib_resources is a backport of Python standard library
importlib.resources module for older Pythons. The key goal of this module is to
replace parts of pkg_resources with a solution in Python's stdlib that relies
on well-defined APIs. This makes reading resources included in packages
easier, with more stable and consistent semantics.


Required to run:
[devel/py-setuptools] [lang/python37] [archivers/py-zipp]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

Filesize: 42.355 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-09-10 08:58:09 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-importlib-resources: updated to 6.4.5

v6.4.5

Bugfixes
- Omit sentinel values from a namespace path.
   2024-08-22 09:40:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-importlib-resources: updated to 6.4.4

v6.4.4

No significant changes.
   2024-08-20 13:14:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-importlib-resources: updated to 6.4.3

v6.4.3

Bugfixes

- When inferring the caller in ``files()`` correctly detect one's own module \ 
even when the resources package source is not present.
   2024-08-15 09:25:04 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-resources: updated to 6.4.2

v6.4.2

Bugfixes

- Merged fix for UTF-16 BOM handling in functional tests.

v6.4.1

Bugfixes

- When constructing ZipReader, only append the name if the indicated module is a \ 
package.
   2024-03-24 20:24:42 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-resources: updated to 6.4.0

v6.4.0

Features

- The functions
  ``is_resource()``,
  ``open_binary()``,
  ``open_text()``,
  ``path()``,
  ``read_binary()``, and
  ``read_text()`` are un-deprecated, and support
  subdirectories via multiple positional arguments.
  The ``contents()`` function also allows subdirectories,
  but remains deprecated.
- Deferred select imports in for a speedup.

v6.3.2

Bugfixes

- Restored expectation that local standard readers are preferred over degenerate \ 
readers.

v6.3.1

Bugfixes

- Restored expectation that stdlib readers are suppressed on Python 3.10.

v6.3.0

Features

- Add ``Anchor`` to ``importlib.resources`` (in order for the code to comply \ 
with the documentation)

v6.2.0

Features

- Future compatibility adapters now ensure that standard library readers are \ 
replaced without overriding non-standard readers.
   2024-03-07 17:35:41 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-resources: updated to 6.1.3

v6.1.3

No significant changes.
   2024-02-25 23:27:08 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-resources: updated to 6.1.2

v6.1.2

Bugfixes

- Fixed NotADirectoryError when calling files on a subdirectory of a namespace \ 
package.