Source: python-graphene Version: 3.3.0-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240313 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > PYTHONPATH=. \ > dh_auto_test -- --system=custom --test-args="{interpreter} -m pytest" > I: pybuild base:305: python3.12 -m pytest > ============================= test session starts > ============================== > platform linux -- Python 3.12.2, pytest-8.0.2, pluggy-1.4.0 > benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False > min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 > warmup=False warmup_iterations=100000) > rootdir: /<<PKGBUILDDIR>> > configfile: tox.ini > plugins: cov-4.1.0, asyncio-0.20.3, benchmark-4.0.0, mock-3.12.0 > asyncio: mode=Mode.STRICT > collected 468 items > > examples/starwars/tests/test_query.py sssssssssssss [ > 2%] > examples/starwars_relay/tests/test_connections.py s [ > 2%] > examples/starwars_relay/tests/test_mutation.py s [ > 3%] > examples/starwars_relay/tests/test_objectidentification.py ssssss [ > 4%] > graphene/relay/tests/test_connection.py .............. [ > 7%] > graphene/relay/tests/test_connection_async.py . [ > 7%] > graphene/relay/tests/test_connection_query.py ..................... [ > 12%] > graphene/relay/tests/test_custom_global_id.py EEEEEEEE [ > 13%] > graphene/relay/tests/test_global_id.py .... [ > 14%] > graphene/relay/tests/test_mutation.py ......... [ > 16%] > graphene/relay/tests/test_mutation_async.py .. [ > 17%] > graphene/relay/tests/test_node.py .............. [ > 20%] > graphene/relay/tests/test_node_custom.py ........... [ > 22%] > graphene/tests/issues/test_1293.py . [ > 22%] > graphene/tests/issues/test_1394.py .. [ > 23%] > graphene/tests/issues/test_1419.py ............. [ > 25%] > graphene/tests/issues/test_313.py . [ > 26%] > graphene/tests/issues/test_356.py . [ > 26%] > graphene/tests/issues/test_425.py ......... [ > 28%] > graphene/tests/issues/test_490.py . [ > 28%] > graphene/tests/issues/test_720.py . [ > 28%] > graphene/tests/issues/test_881.py . [ > 28%] > graphene/tests/issues/test_956.py . [ > 29%] > graphene/types/tests/test_argument.py .......... [ > 31%] > graphene/types/tests/test_base.py ..... [ > 32%] > graphene/types/tests/test_base64.py ....... [ > 33%] > graphene/types/tests/test_datetime.py ............. [ > 36%] > graphene/types/tests/test_decimal.py .... [ > 37%] > graphene/types/tests/test_definition.py ........... [ > 39%] > graphene/types/tests/test_dynamic.py ..... [ > 40%] > graphene/types/tests/test_enum.py .............................. [ > 47%] > graphene/types/tests/test_field.py .............. [ > 50%] > graphene/types/tests/test_generic.py .. [ > 50%] > graphene/types/tests/test_inputfield.py ...... [ > 51%] > graphene/types/tests/test_inputobjecttype.py .......... [ > 54%] > graphene/types/tests/test_interface.py ........... [ > 56%] > graphene/types/tests/test_json.py .... [ > 57%] > graphene/types/tests/test_mountedtype.py .. [ > 57%] > graphene/types/tests/test_mutation.py ......... [ > 59%] > graphene/types/tests/test_objecttype.py ............................ [ > 65%] > graphene/types/tests/test_query.py .................... [ > 69%] > graphene/types/tests/test_resolver.py ....... [ > 71%] > graphene/types/tests/test_scalar.py ................. [ > 75%] > graphene/types/tests/test_scalars_serialization.py .... [ > 75%] > graphene/types/tests/test_schema.py ...... [ > 77%] > graphene/types/tests/test_structures.py ................ [ > 80%] > graphene/types/tests/test_subscribe_async.py .... [ > 81%] > graphene/types/tests/test_type_map.py ........... [ > 83%] > graphene/types/tests/test_union.py .... [ > 84%] > graphene/types/tests/test_uuid.py .... [ > 85%] > graphene/utils/tests/test_crunch.py ............... [ > 88%] > graphene/utils/tests/test_dataloader.py .................... [ > 92%] > graphene/utils/tests/test_deduplicator.py ..... [ > 94%] > graphene/utils/tests/test_deprecated.py ...... [ > 95%] > graphene/utils/tests/test_module_loading.py ..... [ > 96%] > graphene/utils/tests/test_orderedtype.py ..... [ > 97%] > graphene/utils/tests/test_resolve_only_args.py . [ > 97%] > graphene/utils/tests/test_str_converters.py .. [ > 98%] > graphene/utils/tests/test_trim_docstring.py . [ > 98%] > graphene/validation/tests/test_depth_limit_validator.py ...... [ > 99%] > graphene/validation/tests/test_disable_introspection.py .. > [100%] > > ==================================== ERRORS > ==================================== > __________ ERROR at setup of TestUUIDGlobalID.test_str_schema_correct > __________ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7f8ae4bc1120> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <graphene.relay.tests.test_custom_global_id.TestUUIDGlobalID object at > 0x7f8ae47eb920> > request = <SubRequest '_xunit_setup_method_fixture_TestUUIDGlobalID' for > <Function test_str_schema_correct>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestUUIDGlobalID::test_str_schema_correct > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > ______________ ERROR at setup of TestUUIDGlobalID.test_get_by_id > _______________ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7f8ae458e160> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <graphene.relay.tests.test_custom_global_id.TestUUIDGlobalID object at > 0x7f8ae48171a0> > request = <SubRequest '_xunit_setup_method_fixture_TestUUIDGlobalID' for > <Function test_get_by_id>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestUUIDGlobalID::test_get_by_id > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > _________ ERROR at setup of TestSimpleGlobalID.test_str_schema_correct > _________ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7f8ae4426ca0> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <graphene.relay.tests.test_custom_global_id.TestSimpleGlobalID object > at 0x7f8ae4814b30> > request = <SubRequest '_xunit_setup_method_fixture_TestSimpleGlobalID' for > <Function test_str_schema_correct>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestSimpleGlobalID::test_str_schema_correct > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > _____________ ERROR at setup of TestSimpleGlobalID.test_get_by_id > ______________ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7f8ae458e160> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <graphene.relay.tests.test_custom_global_id.TestSimpleGlobalID object > at 0x7f8ae4815a30> > request = <SubRequest '_xunit_setup_method_fixture_TestSimpleGlobalID' for > <Function test_get_by_id>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestSimpleGlobalID::test_get_by_id > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > _________ ERROR at setup of TestCustomGlobalID.test_str_schema_correct > _________ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7f8ae438f420> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <graphene.relay.tests.test_custom_global_id.TestCustomGlobalID object > at 0x7f8ae4816300> > request = <SubRequest '_xunit_setup_method_fixture_TestCustomGlobalID' for > <Function test_str_schema_correct>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestCustomGlobalID::test_str_schema_correct > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > _____________ ERROR at setup of TestCustomGlobalID.test_get_by_id > ______________ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7f8ae438eca0> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <graphene.relay.tests.test_custom_global_id.TestCustomGlobalID object > at 0x7f8ae48166f0> > request = <SubRequest '_xunit_setup_method_fixture_TestCustomGlobalID' for > <Function test_get_by_id>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestCustomGlobalID::test_get_by_id > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > _ ERROR at setup of > TestIncompleteCustomGlobalID.test_must_define_to_global_id _ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7f8ae438dd00> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = > <graphene.relay.tests.test_custom_global_id.TestIncompleteCustomGlobalID > object at 0x7f8ae4817f20> > request = <SubRequest > '_xunit_setup_method_fixture_TestIncompleteCustomGlobalID' for <Function > test_must_define_to_global_id>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestIncompleteCustomGlobalID::test_must_define_to_global_id > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > _ ERROR at setup of > TestIncompleteCustomGlobalID.test_must_define_resolve_global_id _ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7f8ae438d580> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = > <graphene.relay.tests.test_custom_global_id.TestIncompleteCustomGlobalID > object at 0x7f8ae48142c0> > request = <SubRequest > '_xunit_setup_method_fixture_TestIncompleteCustomGlobalID' for <Function > test_must_define_resolve_global_id>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestIncompleteCustomGlobalID::test_must_define_resolve_global_id > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > =============================== warnings summary > =============================== > ../../../usr/lib/python3/dist-packages/graphql/pyutils/is_iterable.py:22: 83 > warnings > graphene/relay/tests/test_connection.py: 7 warnings > graphene/relay/tests/test_custom_global_id.py: 24 warnings > graphene/tests/issues/test_1293.py: 4 warnings > graphene/tests/issues/test_1419.py: 26 warnings > graphene/tests/issues/test_313.py: 7 warnings > graphene/tests/issues/test_356.py: 2 warnings > graphene/tests/issues/test_490.py: 2 warnings > graphene/tests/issues/test_720.py: 2 warnings > graphene/types/tests/test_definition.py: 44 warnings > graphene/types/tests/test_enum.py: 25 warnings > graphene/types/tests/test_inputobjecttype.py: 4 warnings > graphene/types/tests/test_interface.py: 14 warnings > graphene/types/tests/test_mutation.py: 12 warnings > graphene/types/tests/test_objecttype.py: 5 warnings > graphene/types/tests/test_query.py: 54 warnings > graphene/types/tests/test_schema.py: 16 warnings > graphene/types/tests/test_subscribe_async.py: 3 warnings > graphene/types/tests/test_type_map.py: 31 warnings > graphene/utils/tests/test_dataloader.py: 3 warnings > graphene/utils/tests/test_deduplicator.py: 5 warnings > graphene/validation/tests/test_depth_limit_validator.py: 6 warnings > graphene/validation/tests/test_disable_introspection.py: 2 warnings > /usr/lib/python3/dist-packages/graphql/pyutils/is_iterable.py:22: > DeprecationWarning: 'typing.ByteString' is deprecated and slated for removal > in Python 3.14 > return isinstance(value, collection_types) and not isinstance( > > graphene/tests/issues/test_1293.py:12 > /<<PKGBUILDDIR>>/graphene/tests/issues/test_1293.py:12: DeprecationWarning: > datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal > in a future version. Use timezone-aware objects to represent datetimes in > UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). > default_value=datetime.datetime.utcfromtimestamp(1434549820776 / 1000), > > graphene/tests/issues/test_1293.py:16 > /<<PKGBUILDDIR>>/graphene/tests/issues/test_1293.py:16: DeprecationWarning: > datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal > in a future version. Use timezone-aware objects to represent datetimes in > UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). > default_value=datetime.datetime.utcfromtimestamp(1444549820776 / 1000), > > graphene/relay/tests/test_connection.py: 1 warning > graphene/relay/tests/test_connection_async.py: 1 warning > graphene/relay/tests/test_connection_query.py: 21 warnings > graphene/relay/tests/test_node_custom.py: 3 warnings > graphene/types/tests/test_query.py: 307 warnings > graphene/types/tests/test_schema.py: 67 warnings > graphene/utils/tests/test_dataloader.py: 1 warning > graphene/utils/tests/test_deduplicator.py: 1 warning > /usr/lib/python3/dist-packages/graphql/pyutils/is_iterable.py:29: > DeprecationWarning: 'typing.ByteString' is deprecated and slated for removal > in Python 3.14 > return isinstance(value, iterable_types) and not isinstance( > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > > -------------------------------------------------------------------------------------------------------------------------------------------- > benchmark: 6 tests > ------------------------------------------------------------------------------------------------------------------------------------------- > Name (time in ns) > Min Max Mean > StdDev Median IQR > Outliers OPS Rounds Iterations > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > test_objecttype_container_benchmark > 615.9971 (1.0) 148,662.9990 (1.0) 693.3746 > (1.0) 991.1087 (1.0) 669.9993 (1.0) > 18.9975 (1.0) 128;6758 1,442,221.7598 (1.0) 111001 1 > test_big_list_of_containers_query_benchmark > 7,203,349.9964 (>1000.0) 8,080,824.9986 (54.36) 7,618,460.0269 > (>1000.0) 195,498.0390 (197.25) 7,602,076.9993 (>1000.0) > 263,991.0017 (>1000.0) 35;0 131.2601 (0.00) 110 1 > test_big_list_query_benchmark > 14,623,506.0020 (>1000.0) 17,645,546.9991 (118.69) 15,187,947.8842 > (>1000.0) 432,736.3066 (436.62) 15,077,312.0040 (>1000.0) > 348,253.5049 (>1000.0) 10;5 65.8417 (0.00) 69 1 > test_big_list_of_containers_multiple_fields_custom_resolvers_query_benchmark > 17,125,326.0050 (>1000.0) 18,451,914.9989 (124.12) 17,697,051.6667 > (>1000.0) 264,404.4784 (266.78) 17,662,879.9964 (>1000.0) > 327,311.2507 (>1000.0) 14;1 56.5066 (0.00) 57 1 > test_big_list_of_containers_multiple_fields_query_benchmark > 18,514,913.9943 (>1000.0) 19,864,898.0004 (133.62) 19,028,198.6739 > (>1000.0) 264,054.3502 (266.42) 19,062,059.0001 (>1000.0) > 293,709.9962 (>1000.0) 17;1 52.5536 (0.00) 52 1 > test_big_list_query_compiled_query_benchmark > 194,325,788.0048 (>1000.0) 209,884,849.0059 (>1000.0) 198,587,536.5038 > (>1000.0) 5,697,021.4960 (>1000.0) 196,734,389.0028 (>1000.0) > 2,655,792.0064 (>1000.0) 1;1 5.0356 (0.00) 6 > 1 > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Legend: > Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) > from 1st Quartile and 3rd Quartile. > OPS: Operations Per Second, computed as 1 / Mean > =========================== short test summary info > ============================ > ERROR > graphene/relay/tests/test_custom_global_id.py::TestUUIDGlobalID::test_str_schema_correct > ERROR > graphene/relay/tests/test_custom_global_id.py::TestUUIDGlobalID::test_get_by_id > ERROR > graphene/relay/tests/test_custom_global_id.py::TestSimpleGlobalID::test_str_schema_correct > ERROR > graphene/relay/tests/test_custom_global_id.py::TestSimpleGlobalID::test_get_by_id > ERROR > graphene/relay/tests/test_custom_global_id.py::TestCustomGlobalID::test_str_schema_correct > ERROR > graphene/relay/tests/test_custom_global_id.py::TestCustomGlobalID::test_get_by_id > ERROR > graphene/relay/tests/test_custom_global_id.py::TestIncompleteCustomGlobalID::test_must_define_to_global_id > ERROR > graphene/relay/tests/test_custom_global_id.py::TestIncompleteCustomGlobalID::test_must_define_resolve_global_id > =========== 439 passed, 21 skipped, 785 warnings, 8 errors in 11.26s > =========== > E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: > python3.12 -m pytest > I: pybuild base:305: python3.11 -m pytest > ============================= test session starts > ============================== > platform linux -- Python 3.11.8, pytest-8.0.2, pluggy-1.4.0 > benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False > min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 > warmup=False warmup_iterations=100000) > rootdir: /<<PKGBUILDDIR>> > configfile: tox.ini > plugins: cov-4.1.0, asyncio-0.20.3, benchmark-4.0.0, mock-3.12.0 > asyncio: mode=Mode.STRICT > collected 468 items > > examples/starwars/tests/test_query.py sssssssssssss [ > 2%] > examples/starwars_relay/tests/test_connections.py s [ > 2%] > examples/starwars_relay/tests/test_mutation.py s [ > 3%] > examples/starwars_relay/tests/test_objectidentification.py ssssss [ > 4%] > graphene/relay/tests/test_connection.py .............. [ > 7%] > graphene/relay/tests/test_connection_async.py . [ > 7%] > graphene/relay/tests/test_connection_query.py ..................... [ > 12%] > graphene/relay/tests/test_custom_global_id.py EEEEEEEE [ > 13%] > graphene/relay/tests/test_global_id.py .... [ > 14%] > graphene/relay/tests/test_mutation.py ......... [ > 16%] > graphene/relay/tests/test_mutation_async.py .. [ > 17%] > graphene/relay/tests/test_node.py .............. [ > 20%] > graphene/relay/tests/test_node_custom.py ........... [ > 22%] > graphene/tests/issues/test_1293.py . [ > 22%] > graphene/tests/issues/test_1394.py .. [ > 23%] > graphene/tests/issues/test_1419.py ............. [ > 25%] > graphene/tests/issues/test_313.py . [ > 26%] > graphene/tests/issues/test_356.py . [ > 26%] > graphene/tests/issues/test_425.py ......... [ > 28%] > graphene/tests/issues/test_490.py . [ > 28%] > graphene/tests/issues/test_720.py . [ > 28%] > graphene/tests/issues/test_881.py . [ > 28%] > graphene/tests/issues/test_956.py . [ > 29%] > graphene/types/tests/test_argument.py .......... [ > 31%] > graphene/types/tests/test_base.py ..... [ > 32%] > graphene/types/tests/test_base64.py ....... [ > 33%] > graphene/types/tests/test_datetime.py ............. [ > 36%] > graphene/types/tests/test_decimal.py .... [ > 37%] > graphene/types/tests/test_definition.py ........... [ > 39%] > graphene/types/tests/test_dynamic.py ..... [ > 40%] > graphene/types/tests/test_enum.py .............................. [ > 47%] > graphene/types/tests/test_field.py .............. [ > 50%] > graphene/types/tests/test_generic.py .. [ > 50%] > graphene/types/tests/test_inputfield.py ...... [ > 51%] > graphene/types/tests/test_inputobjecttype.py .......... [ > 54%] > graphene/types/tests/test_interface.py ........... [ > 56%] > graphene/types/tests/test_json.py .... [ > 57%] > graphene/types/tests/test_mountedtype.py .. [ > 57%] > graphene/types/tests/test_mutation.py ......... [ > 59%] > graphene/types/tests/test_objecttype.py ............................ [ > 65%] > graphene/types/tests/test_query.py .................... [ > 69%] > graphene/types/tests/test_resolver.py ....... [ > 71%] > graphene/types/tests/test_scalar.py ................. [ > 75%] > graphene/types/tests/test_scalars_serialization.py .... [ > 75%] > graphene/types/tests/test_schema.py ...... [ > 77%] > graphene/types/tests/test_structures.py ................ [ > 80%] > graphene/types/tests/test_subscribe_async.py .... [ > 81%] > graphene/types/tests/test_type_map.py ........... [ > 83%] > graphene/types/tests/test_union.py .... [ > 84%] > graphene/types/tests/test_uuid.py .... [ > 85%] > graphene/utils/tests/test_crunch.py ............... [ > 88%] > graphene/utils/tests/test_dataloader.py .................... [ > 92%] > graphene/utils/tests/test_deduplicator.py ..... [ > 94%] > graphene/utils/tests/test_deprecated.py ...... [ > 95%] > graphene/utils/tests/test_module_loading.py ..... [ > 96%] > graphene/utils/tests/test_orderedtype.py ..... [ > 97%] > graphene/utils/tests/test_resolve_only_args.py . [ > 97%] > graphene/utils/tests/test_str_converters.py .. [ > 98%] > graphene/utils/tests/test_trim_docstring.py . [ > 98%] > graphene/validation/tests/test_depth_limit_validator.py ...... [ > 99%] > graphene/validation/tests/test_disable_introspection.py .. > [100%] > > ==================================== ERRORS > ==================================== > __________ ERROR at setup of TestUUIDGlobalID.test_str_schema_correct > __________ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc724f63560> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <graphene.relay.tests.test_custom_global_id.TestUUIDGlobalID object at > 0x7fc724a6ca10> > request = <SubRequest '_xunit_setup_method_fixture_TestUUIDGlobalID' for > <Function test_str_schema_correct>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestUUIDGlobalID::test_str_schema_correct > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > ______________ ERROR at setup of TestUUIDGlobalID.test_get_by_id > _______________ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc724816480> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <graphene.relay.tests.test_custom_global_id.TestUUIDGlobalID object at > 0x7fc724a6ed90> > request = <SubRequest '_xunit_setup_method_fixture_TestUUIDGlobalID' for > <Function test_get_by_id>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestUUIDGlobalID::test_get_by_id > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > _________ ERROR at setup of TestSimpleGlobalID.test_str_schema_correct > _________ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc7248ec040> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <graphene.relay.tests.test_custom_global_id.TestSimpleGlobalID object > at 0x7fc724a6f3d0> > request = <SubRequest '_xunit_setup_method_fixture_TestSimpleGlobalID' for > <Function test_str_schema_correct>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestSimpleGlobalID::test_str_schema_correct > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > _____________ ERROR at setup of TestSimpleGlobalID.test_get_by_id > ______________ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc724f63560> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <graphene.relay.tests.test_custom_global_id.TestSimpleGlobalID object > at 0x7fc724a6f250> > request = <SubRequest '_xunit_setup_method_fixture_TestSimpleGlobalID' for > <Function test_get_by_id>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestSimpleGlobalID::test_get_by_id > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > _________ ERROR at setup of TestCustomGlobalID.test_str_schema_correct > _________ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc7247fb880> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <graphene.relay.tests.test_custom_global_id.TestCustomGlobalID object > at 0x7fc724a6fc90> > request = <SubRequest '_xunit_setup_method_fixture_TestCustomGlobalID' for > <Function test_str_schema_correct>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestCustomGlobalID::test_str_schema_correct > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > _____________ ERROR at setup of TestCustomGlobalID.test_get_by_id > ______________ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc7247f98a0> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <graphene.relay.tests.test_custom_global_id.TestCustomGlobalID object > at 0x7fc724a6fd50> > request = <SubRequest '_xunit_setup_method_fixture_TestCustomGlobalID' for > <Function test_get_by_id>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestCustomGlobalID::test_get_by_id > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > _ ERROR at setup of > TestIncompleteCustomGlobalID.test_must_define_to_global_id _ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc72472a160> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = > <graphene.relay.tests.test_custom_global_id.TestIncompleteCustomGlobalID > object at 0x7fc724aa6c50> > request = <SubRequest > '_xunit_setup_method_fixture_TestIncompleteCustomGlobalID' for <Function > test_must_define_to_global_id>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestIncompleteCustomGlobalID::test_must_define_to_global_id > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > _ ERROR at setup of > TestIncompleteCustomGlobalID.test_must_define_resolve_global_id _ > > cls = <class '_pytest.runner.CallInfo'> > func = <function call_runtest_hook.<locals>.<lambda> at 0x7fc7247f98a0> > when = 'setup' > reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call( > cls, > func: Callable[[], TResult], > when: Literal["collect", "setup", "call", "teardown"], > reraise: Optional[ > Union[Type[BaseException], Tuple[Type[BaseException], ...]] > ] = None, > ) -> "CallInfo[TResult]": > """Call func, wrapping the result in a CallInfo. > > :param func: > The function to call. Called without arguments. > :param when: > The phase in which the function is called. > :param reraise: > Exception or exceptions that shall propagate if raised by the > function, instead of being wrapped in the CallInfo. > """ > excinfo = None > start = timing.time() > precise_start = timing.perf_counter() > try: > > result: Optional[TResult] = func() > > /usr/lib/python3/dist-packages/_pytest/runner.py:342: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in > pytest_runtest_setup > yield from unraisable_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in > unraisable_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup > yield from self._runtest_for(item, "setup") > /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for > yield > /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in > pytest_runtest_setup > yield from thread_exception_runtest_hook() > /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in > thread_exception_runtest_hook > yield > /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup > item.session._setupstate.setup(item) > /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup > raise exc > /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup > col.setup() > /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup > self._request._fillfixtures() > /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures > item.funcargs[argname] = self.getfixturevalue(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue > fixturedef = self._get_active_fixturedef(argname) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in > _get_active_fixturedef > self._compute_fixture_value(fixturedef) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in > _compute_fixture_value > fixturedef.execute(request=subrequest) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute > result = ihook.pytest_fixture_setup(fixturedef=self, request=request) > /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__ > return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in > pytest_fixture_setup > return (yield) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in > pytest_fixture_setup > result = call_fixture_func(fixturefunc, request, kwargs) > /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func > fixture_result = next(generator) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = > <graphene.relay.tests.test_custom_global_id.TestIncompleteCustomGlobalID > object at 0x7fc724aa7dd0> > request = <SubRequest > '_xunit_setup_method_fixture_TestIncompleteCustomGlobalID' for <Function > test_must_define_resolve_global_id>> > > @fixtures.fixture( > autouse=True, > scope="function", > # Use a unique name to speed up lookup. > name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", > ) > def xunit_setup_method_fixture(self, request) -> Generator[None, None, > None]: > method = request.function > if setup_method is not None: > func = getattr(self, setup_name) > _call_with_optional_argument(func, method) > if emit_nose_setup_warning: > > warnings.warn( > NOSE_SUPPORT_METHOD.format( > nodeid=request.node.nodeid, method="setup" > ), > stacklevel=2, > ) > E pytest.PytestRemovedIn8Warning: Support for nose tests is > deprecated and will be removed in a future release. > E > graphene/relay/tests/test_custom_global_id.py::TestIncompleteCustomGlobalID::test_must_define_resolve_global_id > is using nose-specific method: `setup(self)` > E To remove this warning, rename it to `setup_method(self)` > E See docs: > https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > > /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning > > ------------------------------------------------------------------------------------------------------------------------------------------- > benchmark: 6 tests > ------------------------------------------------------------------------------------------------------------------------------------------ > Name (time in ns) > Min Max Mean > StdDev Median IQR > Outliers OPS Rounds Iterations > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > test_objecttype_container_benchmark > 610.9985 (1.0) 92,429.9966 (1.0) 694.6070 > (1.0) 896.0135 (1.0) 673.9938 (1.0) 20.9984 > (1.0) 106;6690 1,439,663.0901 (1.0) 119304 1 > test_big_list_of_containers_query_benchmark > 7,431,070.9970 (>1000.0) 8,582,406.9974 (92.85) 7,763,124.3574 > (>1000.0) 176,148.8701 (196.59) 7,742,173.9988 (>1000.0) 230,700.2542 > (>1000.0) 37;1 128.8141 (0.00) 123 1 > test_big_list_query_benchmark > 15,127,142.0036 (>1000.0) 18,716,883.9984 (202.50) 15,623,310.5080 > (>1000.0) 531,908.5210 (593.64) 15,518,680.0039 (>1000.0) 302,885.2534 > (>1000.0) 5;5 64.0069 (0.00) 65 1 > test_big_list_of_containers_multiple_fields_custom_resolvers_query_benchmark > 17,527,513.9991 (>1000.0) 20,719,665.9976 (224.17) 18,037,046.7994 > (>1000.0) 426,003.1941 (475.44) 17,963,761.9949 (>1000.0) 269,352.7476 > (>1000.0) 3;2 55.4414 (0.00) 55 1 > test_big_list_of_containers_multiple_fields_query_benchmark > 19,039,279.0028 (>1000.0) 20,522,769.9989 (222.04) 19,706,274.0770 > (>1000.0) 299,146.1612 (333.86) 19,663,103.0012 (>1000.0) 343,134.0047 > (>1000.0) 13;2 50.7453 (0.00) 52 1 > test_big_list_query_compiled_query_benchmark > 195,600,138.9990 (>1000.0) 199,821,007.9983 (>1000.0) 196,733,600.3327 > (>1000.0) 1,566,929.2831 (>1000.0) 196,320,852.9996 (>1000.0) 971,788.9989 > (>1000.0) 1;1 5.0830 (0.00) 6 1 > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Legend: > Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) > from 1st Quartile and 3rd Quartile. > OPS: Operations Per Second, computed as 1 / Mean > =========================== short test summary info > ============================ > ERROR > graphene/relay/tests/test_custom_global_id.py::TestUUIDGlobalID::test_str_schema_correct > ERROR > graphene/relay/tests/test_custom_global_id.py::TestUUIDGlobalID::test_get_by_id > ERROR > graphene/relay/tests/test_custom_global_id.py::TestSimpleGlobalID::test_str_schema_correct > ERROR > graphene/relay/tests/test_custom_global_id.py::TestSimpleGlobalID::test_get_by_id > ERROR > graphene/relay/tests/test_custom_global_id.py::TestCustomGlobalID::test_str_schema_correct > ERROR > graphene/relay/tests/test_custom_global_id.py::TestCustomGlobalID::test_get_by_id > ERROR > graphene/relay/tests/test_custom_global_id.py::TestIncompleteCustomGlobalID::test_must_define_to_global_id > ERROR > graphene/relay/tests/test_custom_global_id.py::TestIncompleteCustomGlobalID::test_must_define_resolve_global_id > ================== 439 passed, 21 skipped, 8 errors in 11.21s > ================== > E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: > python3.11 -m pytest > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 > 3.11" --system=custom "--test-args={interpreter} -m pytest" returned exit > code 13 The full build log is available from: http://qa-logs.debian.net/2024/03/13/python-graphene_3.3.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.