./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-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.
   2023-11-10 19:36:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-importlib-resources: updated to 6.1.1

v6.1.1

Bugfixes

- Added missed stream argument in simple.ResourceHandle.
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-10-04 23:44:03 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-resources: updated to 6.1.0

v6.1.0

Features
- MultiplexedPath now expects Traversable paths. String arguments to \ 
MultiplexedPath are now deprecated.

Bugfixes
- Enabled support for resources in namespace packages in zip files.
   2023-08-07 07:21:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-importlib-resources: updated to 6.0.1

v6.0.1

Bugfixes
- Restored Apache license
   2023-07-08 06:42:03 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-resources: updated to 6.0.0

v6.0.0

Deprecations and Removals
- Removed legacy functions deprecated in 5.3.