Skip to content

Conversation

@Zylphrex
Copy link
Member

@Zylphrex Zylphrex commented Jan 30, 2025

Seems new with black==25.1.0

@codecov
Copy link

codecov bot commented Jan 30, 2025

❌ 71 Tests Failed:

Tests completed Failed Passed Skipped
22109 71 22038 5708
View the top 3 failed tests by shortest run time
tests.integrations.aiohttp.test_aiohttp test_crumb_capture
Stack Traces | 0.002s run time
file .../integrations/aiohttp/test_aiohttp.py, line 476
  @pytest.mark.asyncio
  async def test_crumb_capture(
      sentry_init, aiohttp_raw_server, aiohttp_client, loop, capture_events
  ):
      def before_breadcrumb(crumb, hint):
E       fixture 'loop' not found
>       available fixtures: DictionaryContaining, ObjectDescribedBy, StringContaining, _capture_internal_warnings, _session_event_loop, aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, benchmark, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capture_envelopes, capture_events, capture_events_forksafe, capture_exceptions, capture_record_lost_event_calls, clean_scopes, cov, doctest_namespace, event_loop, event_loop_policy, httpserver, httpsserver, internal_exceptions, maybe_monkeypatched_threading, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, render_span_tree, reset_integrations, sentry_init, smtpserver, suppress_deprecation_warnings, teardown_profiling, .../integrations/aiohttp/test_aiohttp.py::<event_loop>, tests/integrations/aiohttp::<event_loop>, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, uninstall_integration, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, validate_event_schema
>       use 'pytest --fixtures [testpath]' for help on them.

.../integrations/aiohttp/test_aiohttp.py:476
tests.integrations.aiohttp.test_aiohttp test_crumb_capture
Stack Traces | 0.002s run time
file .../integrations/aiohttp/test_aiohttp.py, line 476
  @pytest.mark.asyncio
  async def test_crumb_capture(
      sentry_init, aiohttp_raw_server, aiohttp_client, loop, capture_events
  ):
      def before_breadcrumb(crumb, hint):
E       fixture 'loop' not found
>       available fixtures: DictionaryContaining, ObjectDescribedBy, StringContaining, _capture_internal_warnings, _session_event_loop, aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, benchmark, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capture_envelopes, capture_events, capture_events_forksafe, capture_exceptions, capture_record_lost_event_calls, clean_scopes, cov, doctest_namespace, event_loop, event_loop_policy, httpserver, httpsserver, internal_exceptions, maybe_monkeypatched_threading, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, render_span_tree, reset_integrations, sentry_init, smtpserver, suppress_deprecation_warnings, teardown_profiling, .../integrations/aiohttp/test_aiohttp.py::<event_loop>, tests/integrations/aiohttp::<event_loop>, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, uninstall_integration, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, validate_event_schema
>       use 'pytest --fixtures [testpath]' for help on them.

.../integrations/aiohttp/test_aiohttp.py:476
tests.integrations.pymongo.test_pymongo test_breadcrumbs[False]
Stack Traces | 0.071s run time
.../integrations/pymongo/test_pymongo.py:118: in test_breadcrumbs
    list(
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/cursor.py:1281: in __next__
    return self.next()
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/cursor.py:1257: in next
    if len(self._data) or self._refresh():
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/cursor.py:1205: in _refresh
    self._send_message(q)
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/cursor.py:1100: in _send_message
    response = client._run_operation(
.tox/py3.9-pymongo-v3.12/lib/python3.9....../site-packages/pymongo/_csot.py:119: in csot_wrapper
    return func(self, *args, **kwargs)
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/mongo_client.py:1752: in _run_operation
    return self._retryable_read(
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/mongo_client.py:1861: in _retryable_read
    return self._retry_internal(
.tox/py3.9-pymongo-v3.12/lib/python3.9....../site-packages/pymongo/_csot.py:119: in csot_wrapper
    return func(self, *args, **kwargs)
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/mongo_client.py:1817: in _retry_internal
    return _ClientConnectionRetryable(
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/mongo_client.py:2565: in run
    return self._read() if self._is_read else self._write()
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/mongo_client.py:2700: in _read
    self._server = self._get_server()
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/mongo_client.py:2656: in _get_server
    return self._client._select_server(
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/mongo_client.py:1647: in _select_server
    server = topology.select_server(
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/topology.py:402: in select_server
    server = self._select_server(
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/topology.py:380: in _select_server
    servers = self.select_servers(
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/topology.py:287: in select_servers
    server_descriptions = self._select_servers_loop(
.tox/py3.9-pymongo-v3.12/lib/python3.9.../pymongo/synchronous/topology.py:362: in _select_servers_loop
    self._description.check_compatible()
.tox/py3.9-pymongo-v3.12/lib/python3.9.../site-packages/pymongo/topology_description.py:168: in check_compatible
    raise ConfigurationError(self._incompatible_err)
E   pymongo.errors.ConfigurationError: Server at localhost:32947 reports wire version 6, but this version of PyMongo requires at least 7 (MongoDB 4.0).

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@Zylphrex
Copy link
Member Author

nvm, gotta fix everything together

@Zylphrex Zylphrex closed this Jan 30, 2025
@Zylphrex Zylphrex deleted the txiao/styles/run-black-on-queue branch January 30, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants