Revisions of python-importlib-resources
buildservice-autocommit
accepted
request 1157096
from
Steve Kowalik (StevenK)
(revision 27)
baserev update by copy to link target
Steve Kowalik (StevenK)
committed
(revision 26)
- Explicitly BuildRequires zipp, it is now used by the testsuite, and was pulled in anyway.
buildservice-autocommit
accepted
request 1129224
from
Dirk Mueller (dirkmueller)
(revision 25)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 24)
- 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 method will be capable of supplying resources with subdirectory
buildservice-autocommit
accepted
request 1102872
from
Dirk Mueller (dirkmueller)
(revision 23)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 22)
- update to 6.0.1: * Bugfixes * Restored Apache license. (#285) * Deprecations and Removals * Removed legacy functions deprecated in 5.3. (#80) * Features * Require Python 3.8 or later
buildservice-autocommit
accepted
request 1085431
from
Dirk Mueller (dirkmueller)
(revision 21)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1085366
from
Johannes Kastl (ojkastl_buildservice)
(revision 20)
add sle15_python_module_pythons
Dirk Mueller (dirkmueller)
committed
(revision 19)
- update to 5.12.0: * importlib_resources (backport) now gives precedence to built-in readers (file system, zip, namespace packages), providing forward-compatibility of behaviors like ``MultiplexedPath``. * #280: Fixed one more ``EncodingWarning`` in test suite. * #265: ``MultiplexedPath`` now honors multiple subdirectories in ``iterdir`` and ``joinpath``. * Packaging refresh, including fixing EncodingWarnings and some tests cleanup.
buildservice-autocommit
accepted
request 1063146
from
Dirk Mueller (dirkmueller)
(revision 18)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1062933
from
Benjamin Greiner (bnavigator)
(revision 17)
- Remove obsolete cache compilation for tests * fixes d:l:p:backports 15.4_py39 build failure. - Avoid building for not supported Python <= 3.6
buildservice-autocommit
accepted
request 1046280
from
Dirk Mueller (dirkmueller)
(revision 16)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 15)
- update to 5.10.2: * Prefer ``write_bytes`` to context manager as proposed in gh-100586.
buildservice-autocommit
accepted
request 1042891
from
Dirk Mueller (dirkmueller)
(revision 14)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1042713
from
Yogalakshmi Arunachalam (yarunachalam)
(revision 13)
- Update to v5.10.1 * v5.10.1 #274: Fixed ResourceWarning in _common.
buildservice-autocommit
accepted
request 1032378
from
Matej Cepl (mcepl)
(revision 12)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1032011
from
Yogalakshmi Arunachalam (yarunachalam)
(revision 11)
- Update to v5.10.0 * #203: 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. * #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).
buildservice-autocommit
accepted
request 1003114
from
Matej Cepl (mcepl)
(revision 10)
baserev update by copy to link target
Matej Cepl (mcepl)
committed
(revision 9)
- Update to 5.9.0: - #228: as_file now also supports a Traversable representing a directory and (when needed) renders the full tree to a temporary directory. - #253: In MultiplexedPath, restore expectation that a compound path with a non-existent directory does not raise an exception. - #250: Now Traversable.joinpath provides a concrete implementation, replacing the implementation in .simple and converging with the behavior in MultiplexedPath. - #249: In simple.ResourceContainer.joinpath, honor names split by posixpath.sep. - #248: 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 - #244: Add type declarations in ABCs Require Python 3.7 or later - #243: Fix error when no __pycache__ directories exist when testing update-zips. - Remove BR on python-zipp to break a dependency cycle; it is strictly not needed for build (although it is Requires), because ZipReader is not tested.
Steve Kowalik (StevenK)
committed
(revision 8)
Displaying revisions 1 - 20 of 27