Marcel Telka
2024-03-24 ccde790bab46257c0e32938a2399b07fa9e0aedd
python/importlib_resources: update to 6.4.0

5 files modified
42 ■■■■ changed files
components/python/importlib_resources/Makefile 6 ●●●● patch | view | raw | blame | history
components/python/importlib_resources/importlib_resources-PYVER.p5m 2 ●●●●● patch | view | raw | blame | history
components/python/importlib_resources/manifests/sample-manifest.p5m 2 ●●●●● patch | view | raw | blame | history
components/python/importlib_resources/patches/01-no-ruff.patch 6 ●●●● patch | view | raw | blame | history
components/python/importlib_resources/test/results-all.master 26 ●●●● patch | view | raw | blame | history
components/python/importlib_resources/Makefile
@@ -19,11 +19,11 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        importlib_resources
HUMAN_VERSION =            6.3.2
HUMAN_VERSION =            6.4.0
COMPONENT_SUMMARY =        importlib_resources - Read resources from Python packages
COMPONENT_PROJECT_URL =        https://github.com/python/importlib_resources
COMPONENT_ARCHIVE_HASH =    \
    sha256:963eb79649252b0160c1afcfe5a1d3fe3ad66edd0a8b114beacffb70c0674223
    sha256:cdb2b453b8046ca4e3798eb1d84f3cce1446a0e8e7b5ef4efb600f19fc398145
COMPONENT_LICENSE =        Apache-2.0
COMPONENT_LICENSE_FILE =    LICENSE
@@ -35,7 +35,7 @@
PYTHON_REQUIRED_PACKAGES += library/python/wheel
PYTHON_REQUIRED_PACKAGES += library/python/zipp
PYTHON_REQUIRED_PACKAGES += runtime/python
TEST_REQUIRED_PACKAGES.python += library/python/jaraco-collections
TEST_REQUIRED_PACKAGES.python += library/python/jaraco-test
TEST_REQUIRED_PACKAGES.python += library/python/pytest
TEST_REQUIRED_PACKAGES.python += library/python/pytest-checkdocs
TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
components/python/importlib_resources/importlib_resources-PYVER.p5m
@@ -35,6 +35,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/compat/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/compat/py38.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/compat/py39.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/functional.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/future/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/future/adapters.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/py.typed
@@ -65,6 +66,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_contents.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_custom.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_files.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_functional.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_open.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_path.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_read.py
components/python/importlib_resources/manifests/sample-manifest.p5m
@@ -35,6 +35,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/compat/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/compat/py38.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/compat/py39.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/functional.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/future/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/future/adapters.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/py.typed
@@ -65,6 +66,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_contents.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_custom.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_files.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_functional.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_open.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_path.py
file path=usr/lib/python$(PYVER)/vendor-packages/importlib_resources/tests/test_read.py
components/python/importlib_resources/patches/01-no-ruff.patch
@@ -1,8 +1,8 @@
We have no pytest-ruff support yet.
see https://github.com/tikv/jemallocator/issues/58
--- importlib_resources-6.3.2/setup.cfg.orig
+++ importlib_resources-6.3.2/setup.cfg
--- importlib_resources-6.4.0/setup.cfg.orig
+++ importlib_resources-6.4.0/setup.cfg
@@ -28,7 +28,6 @@
     pytest-mypy; \
     python_implementation != "PyPy"
@@ -10,4 +10,4 @@
-    pytest-ruff >= 0.2.1
     
     zipp >= 3.17
     jaraco.collections
     jaraco.test >= 5.4
components/python/importlib_resources/test/results-all.master
@@ -5,7 +5,7 @@
cachedir: .tox/py$(PYV)/.pytest_cache
rootdir: $(@D)
configfile: pytest.ini
collecting ... collected 222 items
collecting ... collected 242 items
.::project PASSED
.::project PASSED
@@ -21,6 +21,7 @@
importlib_resources/compat/__init__.py::mypy PASSED
importlib_resources/compat/py$(PYV).py::mypy PASSED
importlib_resources/compat/py38.py::mypy PASSED
importlib_resources/functional.py::mypy PASSED
importlib_resources/future/__init__.py::mypy PASSED
importlib_resources/future/adapters.py::mypy PASSED
importlib_resources/readers.py::mypy PASSED
@@ -82,6 +83,25 @@
importlib_resources/tests/test_files.py::OpenZipTests::test_read_text PASSED
importlib_resources/tests/test_files.py::OpenZipTests::test_traversable PASSED
importlib_resources/tests/test_files.py::mypy PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_ModuleAnchor::test_common_errors PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_ModuleAnchor::test_contents PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_ModuleAnchor::test_is_resource PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_ModuleAnchor::test_open_binary PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_ModuleAnchor::test_open_text PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_ModuleAnchor::test_path PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_ModuleAnchor::test_read_binary PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_ModuleAnchor::test_read_text PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_ModuleAnchor::test_text_errors PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_StringAnchor::test_common_errors PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_StringAnchor::test_contents PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_StringAnchor::test_is_resource PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_StringAnchor::test_open_binary PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_StringAnchor::test_open_text PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_StringAnchor::test_path PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_StringAnchor::test_read_binary PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_StringAnchor::test_read_text PASSED
importlib_resources/tests/test_functional.py::FunctionalAPITest_StringAnchor::test_text_errors PASSED
importlib_resources/tests/test_functional.py::mypy PASSED
importlib_resources/tests/test_open.py::CommonBinaryTests::test_extant_path PASSED
importlib_resources/tests/test_open.py::CommonBinaryTests::test_importing_module_as_side_effect PASSED
importlib_resources/tests/test_open.py::CommonBinaryTests::test_missing_path PASSED
@@ -232,7 +252,7 @@
===================================== mypy =====================================
Success: no issues found in 34 source files
======== 221 passed, 1 skipped ========
Success: no issues found in 36 source files
======== 241 passed, 1 skipped ========
  py$(PYV): OK
  congratulations :)