From 483245506b8ad8b9eb6d2a858172aa6cbabbc46e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Dec 2022 16:00:12 -0800 Subject: [PATCH] Bump importlib-resources from 5.10.0 to 5.10.1 (#1918) * Bump importlib-resources from 5.10.0 to 5.10.1 Bumps [importlib-resources](https://github.com/python/importlib_resources) from 5.10.0 to 5.10.1. - [Release notes](https://github.com/python/importlib_resources/releases) - [Changelog](https://github.com/python/importlib_resources/blob/main/CHANGES.rst) - [Commits](https://github.com/python/importlib_resources/compare/v5.10.0...v5.10.1) --- updated-dependencies: - dependency-name: importlib-resources dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Update importlib-resources==5.10.1 Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> [skip ci] --- lib/importlib_resources/_common.py | 3 ++- package/requirements-package.txt | 2 +- requirements.txt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/importlib_resources/_common.py b/lib/importlib_resources/_common.py index 9f19784d..6a338c61 100644 --- a/lib/importlib_resources/_common.py +++ b/lib/importlib_resources/_common.py @@ -203,5 +203,6 @@ def _write_contents(target, source): for item in source.iterdir(): _write_contents(child, item) else: - child.open('wb').write(source.read_bytes()) + with child.open('wb') as fp: + fp.write(source.read_bytes()) return child diff --git a/package/requirements-package.txt b/package/requirements-package.txt index 7dc0227b..6260d288 100644 --- a/package/requirements-package.txt +++ b/package/requirements-package.txt @@ -1,6 +1,6 @@ apscheduler==3.9.1.post1 importlib-metadata==5.0.0 -importlib-resources==5.10.0 +importlib-resources==5.10.1 pyinstaller==5.6.2 pyopenssl==22.1.0 pycryptodomex==3.15.0 diff --git a/requirements.txt b/requirements.txt index 647d8dd7..6e82f4e1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,7 +19,7 @@ html5lib==1.1 httpagentparser==1.9.5 idna==3.4 importlib-metadata==5.0.0 -importlib-resources==5.10.0 +importlib-resources==5.10.1 git+https://github.com/Tautulli/ipwhois.git@master#egg=ipwhois IPy==1.01 Mako==1.2.4