python-importlib-resources

Edit Package python-importlib-resources
No description set
Refresh
Refresh
Source Files
Filename Size Changed
importlib_resources-6.1.1.tar.gz 0000038620 37.7 KB
python-importlib-resources.changes 0000011640 11.4 KB
python-importlib-resources.spec 0000002696 2.63 KB
Revision 11 (latest revision is 12)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1129224 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 11)
- update to 6.1.1:
  * Added missed stream argument in simple.ResourceHandle. Ref
    python/cpython#111775.
  * MultiplexedPath now expects Traversable paths. String
    arguments to MultiplexedPath are now deprecated.
  * Enabled support for resources in namespace packages in zip
    files. (#287)

- Update to v5.10.1
  * #259: 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).
  * bpo-41490: contents is now also more aggressive about consuming
  * #110 and bpo-41490: path method is more aggressive about
    releasing handles to zipfile objects early, enabling use-cases
    like certifi to leave the context open but delete the
  * Package no longer exposes importlib_resources.__version__.
    Users that wish to inspect the version of importlib_resources
    should instead invoke .version('importlib_resources') from
    importlib-metadata ( stdlib or backport) directly. This change
  * Select pathlib and contextlib imports based on Python version
  * Loaders are no longer expected to implement the
    abc.TraversableResources interface, but are instead expected to
    return TraversableResources from their get_resource_reader
  * Traversable is now a Protocol instead of an Abstract Base Class
  * #79: Temporary files created will now reflect the filename of
  * For improved compatibility, importlib_resources.trees is now
  * Add extensibility support for non-standard loaders to supply
    Traversable resources. Introduces a new abstract base class
    abc.TraversableResources that supersedes (but implements for
    compatibility) abc.ResourceReader. Any loader that implements
    (implicitly or explicitly) the TraversableResources.files
Comments 0
openSUSE Build Service is sponsored by