Marcel Telka
2023-08-15 fda2cabc6f043ec5739ded0760e1a9de65379571
python/exceptiongroup: update to 1.1.3

3 files modified
53 ■■■■ changed files
components/python/exceptiongroup/Makefile 9 ●●●●● patch | view | raw | blame | history
components/python/exceptiongroup/python-integrate-project.conf 3 ●●●●● patch | view | raw | blame | history
components/python/exceptiongroup/test/results-all.master 41 ●●●●● patch | view | raw | blame | history
components/python/exceptiongroup/Makefile
@@ -19,12 +19,12 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        exceptiongroup
HUMAN_VERSION =            1.1.2
HUMAN_VERSION =            1.1.3
COMPONENT_SUMMARY =        exceptiongroup - Backport of PEP 654 (exception groups)
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/55/09/5d2079ecab0ca483e527a1707a483562bdc17abf829d3e73f0c1a73b61c7/exceptiongroup-1.1.2.tar.gz
    https://files.pythonhosted.org/packages/c2/e1/5561ad26f99b7779c28356f73f69a8b468ef491d0f6adf20d7ed0ac98ec1/exceptiongroup-1.1.3.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:12c3e887d6485d16943a309616de20ae5582633e0a2eda17f4e10fd61c1e8af5
    sha256:097acd85d473d75af5bb98e41b61ff7fe35efe6675e4f9370ec6ec5126d160e9
COMPONENT_LICENSE =        MIT AND PSF-2.0
COMPONENT_LICENSE_FILE =    LICENSE
@@ -34,9 +34,6 @@
PYTHON_TEST_BOOTSTRAP = yes
include $(WS_MAKE_RULES)/common.mk
# mypy tests fails
PYTEST_ADDOPTS += -p no:mypy
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/flit-scm
components/python/exceptiongroup/python-integrate-project.conf
@@ -18,9 +18,6 @@
# bootstrapped too.
# - pytest (test bootstrap)
PYTHON_TEST_BOOTSTRAP = yes
%include-3%
# mypy tests fails
PYTEST_ADDOPTS += -p no:mypy
%hook-manifest%
# both licenses apply, but license-detector is unable to detect that
sed -i -e 's/^\(COMPONENT_LICENSE =.*\) OR \(.*\)$/\1 AND \2/' Makefile
components/python/exceptiongroup/test/results-all.master
@@ -9,13 +9,12 @@
configfile: pyproject.toml
testpaths: tests
asyncio: mode=strict
collecting ... collected 89 items
collecting ... collected 86 items
tests/__init__.py::BLACK PASSED
tests/conftest.py::BLACK PASSED
tests/test_catch.py::BLACK PASSED
tests/test_catch.py::test_async_handler PASSED
tests/test_catch.py::test_bad_arg PASSED
tests/test_catch.py::test_bad_handler PASSED
tests/test_catch.py::test_bare_raise_in_handler PASSED
tests/test_catch.py::test_catch_exceptiongroup[iterable_basegroup] PASSED
tests/test_catch.py::test_catch_exceptiongroup[iterable_group] PASSED
tests/test_catch.py::test_catch_exceptiongroup[naked_basegroup] PASSED
@@ -28,7 +27,6 @@
tests/test_catch.py::test_catch_single_no_match PASSED
tests/test_catch.py::test_catch_subclass PASSED
tests/test_catch.py::test_catch_ungrouped PASSED
tests/test_exceptions.py::BLACK PASSED
tests/test_exceptions.py::BadConstructorArgs::test_bad_EG_construction__bad_excs_sequence PASSED
tests/test_exceptions.py::BadConstructorArgs::test_bad_EG_construction__bad_message PASSED
tests/test_exceptions.py::BadConstructorArgs::test_bad_EG_construction__nested_non_exceptions PASSED
@@ -72,7 +70,6 @@
tests/test_exceptions.py::TestExceptionGroupTypeHierarchy::test_exception_group_is_generic_type PASSED
tests/test_exceptions.py::TestExceptionGroupTypeHierarchy::test_exception_group_types PASSED
tests/test_exceptions.py::test_repr PASSED
tests/test_formatting.py::BLACK PASSED
tests/test_formatting.py::test_bug_suggestions_attributeerror_no_obj[patched] PASSED
tests/test_formatting.py::test_bug_suggestions_attributeerror_no_obj[unpatched] PASSED
tests/test_formatting.py::test_exceptiongroup_as_cause PASSED
@@ -101,37 +98,7 @@
tests/test_formatting.py::test_print_exception[unpatched-oldstyle] PASSED
tests/test_formatting.py::test_works_around_httperror_bug PASSED
=============================== warnings summary ===============================
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:147
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:147
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:147
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:147
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:147
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:147
  $(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:147: PytestDeprecationWarning: <class 'pytest_black.BlackItem'> is not using a cooperative constructor and only takes {'parent', 'fspath'}.
  See https://docs.pytest.org/en/stable/deprecations.html#constructors-of-custom-pytest-node-subclasses-should-take-kwargs for more details.
    warnings.warn(
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:263
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:263
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:263
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:263
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:263
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:263
  $(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:263: PytestRemovedIn8Warning: The (fspath: py.path.local) argument to BlackItem is deprecated. Please use the (path: pathlib.Path) argument instead.
  See https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path
    return cls._create(parent=parent, **kw)
../../../../../../../..$(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:719
  $(PYTHON_DIR)/vendor-packages/_pytest/nodes.py:719: PytestWarning: BlackItem is an Item subclass and should not be a collector, however its bases File are collectors.
  Please split the Collectors and the Item into separate node types.
  Pytest Doc example: https://docs.pytest.org/en/latest/example/nonpython.html
  example pull request on a plugin: https://github.com/asmeurer/pytest-flakes/pull/40/
    warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
======== 85 passed, 4 skipped, 13 warnings ========
======== 82 passed, 4 skipped ========
  py$(PYV): OK
  congratulations :)