#257: importlib_resources (backport) now gives
precedence to built-in readers (file system, zip,
namespace packages), providing forward-compatibility
of behaviors like MultiplexedPath.
v5.11.1
v5.10.4
#280: Fixed one more EncodingWarning in test suite.
v5.11.0
#265: MultiplexedPath now honors multiple subdirectories
in iterdir and joinpath.
v5.10.3
Packaging refresh, including fixing EncodingWarnings
and some tests cleanup.
v5.10.2
#274: Prefer write_bytes to context manager as
proposed in gh-100586.
#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.
... (truncated)
Commits
7f4fbb5 Merge pull request #268 from python/feature/future-is-here
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note**
> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
⚠️ Dependabot is rebasing this PR ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Bumps importlib-resources from 5.9.0 to 5.12.0.
Changelog
Sourced from importlib-resources's changelog.
... (truncated)
Commits
7f4fbb5
Merge pull request #268 from python/feature/future-is-heref5af908
Update changelog.8da2027
Give the local zip/namespace/file readers precedence over the native reader.68be8b4
Disable native reader even if it supplies files, because it might not have fe...2bd9048
Add tests capturing expectation of custom loaders. Ref #268.1f0a098
Update changelog.59e212e
Merge commit 'v5.10.4'28d26e8
Pass 'encoding' to target.open in test_open_text_FileNotFoundError. Fixes #280.5d9fb42
Merge pull request #278 from python/bugfix/multiplexed-descendants289aadb
Merge branch 'main' into bugfix/multiplexed-descendantsYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)