Skip to content

ref: Drop Flask < 2 - #7002

Draft
sentrivana wants to merge 2 commits into
ivana/major/drop-3.6from
ivana/major/drop-support-flask
Draft

ref: Drop Flask < 2#7002
sentrivana wants to merge 2 commits into
ivana/major/drop-3.6from
ivana/major/drop-support-flask

Conversation

@sentrivana

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

87559 passed | ❌ 35 failed | ⏭️ 5562 skipped | Total: 93156 | Pass Rate: 93.99% | Execution Time: 315m 59s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -8169
Passed Tests 📉 -7423
Failed Tests 📈 +35
Skipped Tests 📉 -781

➕ New Tests (32)

View new tests
  • test_rediscluster_pipeline[False-expected_first_ten0-True]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[False-expected_first_ten0-False]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[True-expected_first_ten1-True]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[True-expected_first_ten1-False]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_span_origin[True]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_span_origin[False]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[False-expected_first_ten0-True]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[False-expected_first_ten0-False]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[True-expected_first_ten1-True]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[True-expected_first_ten1-False]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_span_origin[True]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_span_origin[False]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[False-expected_first_ten0-True]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[False-expected_first_ten0-False]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[True-expected_first_ten1-True]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[True-expected_first_ten1-False]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_span_origin[True]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_span_origin[False]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_continuous_profiler_auto_start_and_stop_sampled_span_streaming[experiment-thread]
    • File: tests.profiler.test_continuous_profiler
    • Status: ❌ Failing
  • test_rediscluster_pipeline[False-expected_first_ten0-True]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[False-expected_first_ten0-False]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[True-expected_first_ten1-True]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_pipeline[True-expected_first_ten1-False]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_span_origin[True]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_rediscluster_span_origin[False]
    • File: tests.integrations.redis.cluster.test_redis_cluster
    • Status: ❌ Failing
  • test_flask_medium_formdata_request[1024]
    • File: tests.integrations.flask.test_flask
    • Status: ❌ Failing
  • test_flask_medium_formdata_request[None]
    • File: tests.integrations.flask.test_flask
    • Status: ❌ Failing
  • test_flask_formdata_request_appear_transaction_body
    • File: tests.integrations.flask.test_flask
    • Status: ❌ Failing
  • test_flask_too_large_raw_request[a0]
    • File: tests.integrations.flask.test_flask
    • Status: ❌ Failing
  • test_flask_too_large_raw_request[a1]
    • File: tests.integrations.flask.test_flask
    • Status: ❌ Failing
  • test_flask_files_and_form[1024]
    • File: tests.integrations.flask.test_flask
    • Status: ❌ Failing
  • test_flask_files_and_form[None]
    • File: tests.integrations.flask.test_flask
    • Status: ❌ Failing

❌ Failed Tests

test_rediscluster_pipeline[False-expected_first_ten0-True]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.10-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:167: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.10-redis-v8.1.0/lib/python3.10/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.10-redis-v8.1.0/lib/python3.10/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[False-expected_first_ten0-False]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.10-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:194: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.10-redis-v8.1.0/lib/python3.10/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.10-redis-v8.1.0/lib/python3.10/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[True-expected_first_ten1-True]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.10-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:167: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.10-redis-v8.1.0/lib/python3.10/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.10-redis-v8.1.0/lib/python3.10/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[True-expected_first_ten1-False]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.10-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:194: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.10-redis-v8.1.0/lib/python3.10/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.10-redis-v8.1.0/lib/python3.10/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_span_origin[True]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.10-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:241: in test_rediscluster_span_origin
    pipeline = rc.pipeline(transaction=False)
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.10-redis-v8.1.0/lib/python3.10/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.10-redis-v8.1.0/lib/python3.10/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_span_origin[False]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.10-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:263: in test_rediscluster_span_origin
    pipeline = rc.pipeline(transaction=False)
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.10-redis-v8.1.0/lib/python3.10/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.10-redis-v8.1.0/lib/python3.10/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[False-expected_first_ten0-True]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.13-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:167: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.13-redis-v8.1.0/lib/python3.13/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.13-redis-v8.1.0/lib/python3.13/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[False-expected_first_ten0-False]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.13-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:194: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.13-redis-v8.1.0/lib/python3.13/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.13-redis-v8.1.0/lib/python3.13/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[True-expected_first_ten1-True]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.13-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:167: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.13-redis-v8.1.0/lib/python3.13/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.13-redis-v8.1.0/lib/python3.13/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[True-expected_first_ten1-False]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.13-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:194: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.13-redis-v8.1.0/lib/python3.13/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.13-redis-v8.1.0/lib/python3.13/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_span_origin[True]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.13-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:241: in test_rediscluster_span_origin
    pipeline = rc.pipeline(transaction=False)
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.13-redis-v8.1.0/lib/python3.13/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.13-redis-v8.1.0/lib/python3.13/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_span_origin[False]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.13-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:263: in test_rediscluster_span_origin
    pipeline = rc.pipeline(transaction=False)
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.13-redis-v8.1.0/lib/python3.13/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.13-redis-v8.1.0/lib/python3.13/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[False-expected_first_ten0-True]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.14-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:167: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.14-redis-v8.1.0/lib/python3.14/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.14-redis-v8.1.0/lib/python3.14/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[False-expected_first_ten0-False]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.14-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:194: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.14-redis-v8.1.0/lib/python3.14/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.14-redis-v8.1.0/lib/python3.14/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[True-expected_first_ten1-True]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.14-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:167: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.14-redis-v8.1.0/lib/python3.14/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.14-redis-v8.1.0/lib/python3.14/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[True-expected_first_ten1-False]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.14-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:194: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.14-redis-v8.1.0/lib/python3.14/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.14-redis-v8.1.0/lib/python3.14/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_span_origin[True]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.14-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:241: in test_rediscluster_span_origin
    pipeline = rc.pipeline(transaction=False)
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.14-redis-v8.1.0/lib/python3.14/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.14-redis-v8.1.0/lib/python3.14/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_span_origin[False]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.14-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:263: in test_rediscluster_span_origin
    pipeline = rc.pipeline(transaction=False)
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.14-redis-v8.1.0/lib/python3.14/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.14-redis-v8.1.0/lib/python3.14/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_continuous_profiler_auto_start_and_stop_sampled_span_streaming[experiment-thread]

File: tests.profiler.test_continuous_profiler
Suite: py3.14t-common
Error: AssertionError: profiler should not be running assert '30fae7fd107f4f93929a94d1e2e6af07' is None + where '30fae7fd107f4f93929a94d1e2e6af07' = get_profiler_id()

Stack Trace
tests/profiler/test_continuous_profiler.py:896: in test_continuous_profiler_auto_start_and_stop_sampled_span_streaming
    assert get_profiler_id() is None, "profiler should not be running"
E   AssertionError: profiler should not be running
E   assert '30fae7fd107f4f93929a94d1e2e6af07' is None
E    +  where '30fae7fd107f4f93929a94d1e2e6af07' = get_profiler_id()

test_rediscluster_pipeline[False-expected_first_ten0-True]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.14t-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:167: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.14t-redis-v8.1.0/lib/python3.14t/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.14t-redis-v8.1.0/lib/python3.14t/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[False-expected_first_ten0-False]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.14t-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:194: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.14t-redis-v8.1.0/lib/python3.14t/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.14t-redis-v8.1.0/lib/python3.14t/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[True-expected_first_ten1-True]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.14t-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:167: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.14t-redis-v8.1.0/lib/python3.14t/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.14t-redis-v8.1.0/lib/python3.14t/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_pipeline[True-expected_first_ten1-False]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.14t-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:194: in test_rediscluster_pipeline
    pipeline = rc.pipeline()
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.14t-redis-v8.1.0/lib/python3.14t/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.14t-redis-v8.1.0/lib/python3.14t/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_span_origin[True]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.14t-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:241: in test_rediscluster_span_origin
    pipeline = rc.pipeline(transaction=False)
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.14t-redis-v8.1.0/lib/python3.14t/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.14t-redis-v8.1.0/lib/python3.14t/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_rediscluster_span_origin[False]

File: tests.integrations.redis.cluster.test_redis_cluster
Suite: py3.14t-redis-v8.1.0
Error: AttributeError: 'NoneType' object has no attribute 'himport_registry'

Stack Trace
tests/integrations/redis/cluster/test_redis_cluster.py:263: in test_rediscluster_span_origin
    pipeline = rc.pipeline(transaction=False)
tests/integrations/redis/cluster/test_redis_cluster.py:17: in <lambda>
    redis.RedisCluster.pipeline = lambda *_, **__: pipeline_cls(None, None)
.tox/py3.14t-redis-v8.1.0/lib/python3.14t/site-packages/redis/utils.py:258: in wrapper
    return func(*args, **kwargs)
.tox/py3.14t-redis-v8.1.0/lib/python3.14t/site-packages/redis/cluster.py:3564: in __init__
    self._himport_registry = nodes_manager.himport_registry
E   AttributeError: 'NoneType' object has no attribute 'himport_registry'

test_flask_medium_formdata_request[1024]

File: tests.integrations.flask.test_flask
Suite: py3.7-flask-v2.0.3
Error: TypeError: catching classes that do not inherit from BaseException is not allowed

Stack Trace
tests/integrations/flask/test_flask.py:418: in index
    assert not request.get_json()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/wrappers/request.py:591: in get_json
    return self.on_json_loading_failed(None)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/wrappers.py:131: in on_json_loading_failed
    raise BadRequest()
E   werkzeug.exceptions.BadRequest: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

During handling of the above exception, another exception occurred:
tests/integrations/flask/test_flask.py:428: in test_flask_medium_formdata_request
    response = client.post("/", data=data)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1146: in post
    return self.open(*args, **kw)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/testing.py:238: in open
    follow_redirects=follow_redirects,
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1095: in open
    response = self.run_wsgi_app(request.environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:962: in run_wsgi_app
    rv = run_wsgi_app(self.application, environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1243: in run_wsgi_app
    app_rv = app(environ, start_response)
sentry_sdk/integrations/flask.py:112: in sentry_patched_wsgi_app
    return middleware(environ, start_response)
sentry_sdk/integrations/wsgi.py:192: in __call__
    reraise(*_capture_exception())
sentry_sdk/utils.py:1830: in reraise
    raise value
sentry_sdk/integrations/wsgi.py:189: in __call__
    partial(_sentry_start_response, start_response, span),
sentry_sdk/integrations/flask.py:104: in <lambda>
    lambda *a, **kw: old_app(self, *a, **kw),
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2091: in __call__
    return self.wsgi_app(environ, start_response)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2076: in wsgi_app
    response = self.handle_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2073: in wsgi_app
    response = self.full_dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1518: in full_dispatch_request
    rv = self.handle_user_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1516: in full_dispatch_request
    rv = self.dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1502: in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
tests/integrations/flask/test_flask.py:419: in index
    except UnsupportedMediaType:
E   TypeError: catching classes that do not inherit from BaseException is not allowed

test_flask_medium_formdata_request[None]

File: tests.integrations.flask.test_flask
Suite: py3.7-flask-v2.0.3
Error: TypeError: catching classes that do not inherit from BaseException is not allowed

Stack Trace
tests/integrations/flask/test_flask.py:418: in index
    assert not request.get_json()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/wrappers/request.py:591: in get_json
    return self.on_json_loading_failed(None)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/wrappers.py:131: in on_json_loading_failed
    raise BadRequest()
E   werkzeug.exceptions.BadRequest: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

During handling of the above exception, another exception occurred:
tests/integrations/flask/test_flask.py:428: in test_flask_medium_formdata_request
    response = client.post("/", data=data)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1146: in post
    return self.open(*args, **kw)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/testing.py:238: in open
    follow_redirects=follow_redirects,
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1095: in open
    response = self.run_wsgi_app(request.environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:962: in run_wsgi_app
    rv = run_wsgi_app(self.application, environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1243: in run_wsgi_app
    app_rv = app(environ, start_response)
sentry_sdk/integrations/flask.py:112: in sentry_patched_wsgi_app
    return middleware(environ, start_response)
sentry_sdk/integrations/wsgi.py:192: in __call__
    reraise(*_capture_exception())
sentry_sdk/utils.py:1830: in reraise
    raise value
sentry_sdk/integrations/wsgi.py:189: in __call__
    partial(_sentry_start_response, start_response, span),
sentry_sdk/integrations/flask.py:104: in <lambda>
    lambda *a, **kw: old_app(self, *a, **kw),
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2091: in __call__
    return self.wsgi_app(environ, start_response)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2076: in wsgi_app
    response = self.handle_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2073: in wsgi_app
    response = self.full_dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1518: in full_dispatch_request
    rv = self.handle_user_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1516: in full_dispatch_request
    rv = self.dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1502: in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
tests/integrations/flask/test_flask.py:419: in index
    except UnsupportedMediaType:
E   TypeError: catching classes that do not inherit from BaseException is not allowed

test_flask_formdata_request_appear_transaction_body

File: tests.integrations.flask.test_flask
Suite: py3.7-flask-v2.0.3
Error: TypeError: catching classes that do not inherit from BaseException is not allowed

Stack Trace
tests/integrations/flask/test_flask.py:460: in index
    assert not request.get_json()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/wrappers/request.py:591: in get_json
    return self.on_json_loading_failed(None)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/wrappers.py:131: in on_json_loading_failed
    raise BadRequest()
E   werkzeug.exceptions.BadRequest: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

During handling of the above exception, another exception occurred:
tests/integrations/flask/test_flask.py:471: in test_flask_formdata_request_appear_transaction_body
    response = client.post("/", data=data)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1146: in post
    return self.open(*args, **kw)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/testing.py:238: in open
    follow_redirects=follow_redirects,
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1095: in open
    response = self.run_wsgi_app(request.environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:962: in run_wsgi_app
    rv = run_wsgi_app(self.application, environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1243: in run_wsgi_app
    app_rv = app(environ, start_response)
sentry_sdk/integrations/flask.py:112: in sentry_patched_wsgi_app
    return middleware(environ, start_response)
sentry_sdk/integrations/wsgi.py:192: in __call__
    reraise(*_capture_exception())
sentry_sdk/utils.py:1830: in reraise
    raise value
sentry_sdk/integrations/wsgi.py:189: in __call__
    partial(_sentry_start_response, start_response, span),
sentry_sdk/integrations/flask.py:104: in <lambda>
    lambda *a, **kw: old_app(self, *a, **kw),
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2091: in __call__
    return self.wsgi_app(environ, start_response)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2076: in wsgi_app
    response = self.handle_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2073: in wsgi_app
    response = self.full_dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1518: in full_dispatch_request
    rv = self.handle_user_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1516: in full_dispatch_request
    rv = self.dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1502: in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
tests/integrations/flask/test_flask.py:461: in index
    except UnsupportedMediaType:
E   TypeError: catching classes that do not inherit from BaseException is not allowed

test_flask_too_large_raw_request[a0]

File: tests.integrations.flask.test_flask
Suite: py3.7-flask-v2.0.3
Error: TypeError: catching classes that do not inherit from BaseException is not allowed

Stack Trace
tests/integrations/flask/test_flask.py:497: in index
    assert not request.get_json()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/wrappers/request.py:591: in get_json
    return self.on_json_loading_failed(None)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/wrappers.py:131: in on_json_loading_failed
    raise BadRequest()
E   werkzeug.exceptions.BadRequest: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

During handling of the above exception, another exception occurred:
tests/integrations/flask/test_flask.py:507: in test_flask_too_large_raw_request
    response = client.post("/", data=data)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1146: in post
    return self.open(*args, **kw)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/testing.py:238: in open
    follow_redirects=follow_redirects,
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1095: in open
    response = self.run_wsgi_app(request.environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:962: in run_wsgi_app
    rv = run_wsgi_app(self.application, environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1243: in run_wsgi_app
    app_rv = app(environ, start_response)
sentry_sdk/integrations/flask.py:112: in sentry_patched_wsgi_app
    return middleware(environ, start_response)
sentry_sdk/integrations/wsgi.py:192: in __call__
    reraise(*_capture_exception())
sentry_sdk/utils.py:1830: in reraise
    raise value
sentry_sdk/integrations/wsgi.py:189: in __call__
    partial(_sentry_start_response, start_response, span),
sentry_sdk/integrations/flask.py:104: in <lambda>
    lambda *a, **kw: old_app(self, *a, **kw),
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2091: in __call__
    return self.wsgi_app(environ, start_response)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2076: in wsgi_app
    response = self.handle_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2073: in wsgi_app
    response = self.full_dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1518: in full_dispatch_request
    rv = self.handle_user_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1516: in full_dispatch_request
    rv = self.dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1502: in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
tests/integrations/flask/test_flask.py:498: in index
    except UnsupportedMediaType:
E   TypeError: catching classes that do not inherit from BaseException is not allowed

test_flask_too_large_raw_request[a1]

File: tests.integrations.flask.test_flask
Suite: py3.7-flask-v2.0.3
Error: TypeError: catching classes that do not inherit from BaseException is not allowed

Stack Trace
tests/integrations/flask/test_flask.py:497: in index
    assert not request.get_json()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/wrappers/request.py:591: in get_json
    return self.on_json_loading_failed(None)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/wrappers.py:131: in on_json_loading_failed
    raise BadRequest()
E   werkzeug.exceptions.BadRequest: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

During handling of the above exception, another exception occurred:
tests/integrations/flask/test_flask.py:507: in test_flask_too_large_raw_request
    response = client.post("/", data=data)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1146: in post
    return self.open(*args, **kw)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/testing.py:238: in open
    follow_redirects=follow_redirects,
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1095: in open
    response = self.run_wsgi_app(request.environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:962: in run_wsgi_app
    rv = run_wsgi_app(self.application, environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1243: in run_wsgi_app
    app_rv = app(environ, start_response)
sentry_sdk/integrations/flask.py:112: in sentry_patched_wsgi_app
    return middleware(environ, start_response)
sentry_sdk/integrations/wsgi.py:192: in __call__
    reraise(*_capture_exception())
sentry_sdk/utils.py:1830: in reraise
    raise value
sentry_sdk/integrations/wsgi.py:189: in __call__
    partial(_sentry_start_response, start_response, span),
sentry_sdk/integrations/flask.py:104: in <lambda>
    lambda *a, **kw: old_app(self, *a, **kw),
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2091: in __call__
    return self.wsgi_app(environ, start_response)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2076: in wsgi_app
    response = self.handle_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2073: in wsgi_app
    response = self.full_dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1518: in full_dispatch_request
    rv = self.handle_user_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1516: in full_dispatch_request
    rv = self.dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1502: in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
tests/integrations/flask/test_flask.py:498: in index
    except UnsupportedMediaType:
E   TypeError: catching classes that do not inherit from BaseException is not allowed

test_flask_files_and_form[1024]

File: tests.integrations.flask.test_flask
Suite: py3.7-flask-v2.0.3
Error: TypeError: catching classes that do not inherit from BaseException is not allowed

Stack Trace
tests/integrations/flask/test_flask.py:533: in index
    assert not request.get_json()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/wrappers/request.py:591: in get_json
    return self.on_json_loading_failed(None)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/wrappers.py:131: in on_json_loading_failed
    raise BadRequest()
E   werkzeug.exceptions.BadRequest: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

During handling of the above exception, another exception occurred:
tests/integrations/flask/test_flask.py:543: in test_flask_files_and_form
    response = client.post("/", data=data)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1146: in post
    return self.open(*args, **kw)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/testing.py:238: in open
    follow_redirects=follow_redirects,
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1095: in open
    response = self.run_wsgi_app(request.environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:962: in run_wsgi_app
    rv = run_wsgi_app(self.application, environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1243: in run_wsgi_app
    app_rv = app(environ, start_response)
sentry_sdk/integrations/flask.py:112: in sentry_patched_wsgi_app
    return middleware(environ, start_response)
sentry_sdk/integrations/wsgi.py:192: in __call__
    reraise(*_capture_exception())
sentry_sdk/utils.py:1830: in reraise
    raise value
sentry_sdk/integrations/wsgi.py:189: in __call__
    partial(_sentry_start_response, start_response, span),
sentry_sdk/integrations/flask.py:104: in <lambda>
    lambda *a, **kw: old_app(self, *a, **kw),
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2091: in __call__
    return self.wsgi_app(environ, start_response)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2076: in wsgi_app
    response = self.handle_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2073: in wsgi_app
    response = self.full_dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1518: in full_dispatch_request
    rv = self.handle_user_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1516: in full_dispatch_request
    rv = self.dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1502: in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
tests/integrations/flask/test_flask.py:534: in index
    except UnsupportedMediaType:
E   TypeError: catching classes that do not inherit from BaseException is not allowed

test_flask_files_and_form[None]

File: tests.integrations.flask.test_flask
Suite: py3.7-flask-v2.0.3
Error: TypeError: catching classes that do not inherit from BaseException is not allowed

Stack Trace
tests/integrations/flask/test_flask.py:533: in index
    assert not request.get_json()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/wrappers/request.py:591: in get_json
    return self.on_json_loading_failed(None)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/wrappers.py:131: in on_json_loading_failed
    raise BadRequest()
E   werkzeug.exceptions.BadRequest: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

During handling of the above exception, another exception occurred:
tests/integrations/flask/test_flask.py:543: in test_flask_files_and_form
    response = client.post("/", data=data)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1146: in post
    return self.open(*args, **kw)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/testing.py:238: in open
    follow_redirects=follow_redirects,
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1095: in open
    response = self.run_wsgi_app(request.environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:962: in run_wsgi_app
    rv = run_wsgi_app(self.application, environ, buffered=buffered)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/werkzeug/test.py:1243: in run_wsgi_app
    app_rv = app(environ, start_response)
sentry_sdk/integrations/flask.py:112: in sentry_patched_wsgi_app
    return middleware(environ, start_response)
sentry_sdk/integrations/wsgi.py:192: in __call__
    reraise(*_capture_exception())
sentry_sdk/utils.py:1830: in reraise
    raise value
sentry_sdk/integrations/wsgi.py:189: in __call__
    partial(_sentry_start_response, start_response, span),
sentry_sdk/integrations/flask.py:104: in <lambda>
    lambda *a, **kw: old_app(self, *a, **kw),
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2091: in __call__
    return self.wsgi_app(environ, start_response)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2076: in wsgi_app
    response = self.handle_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:2073: in wsgi_app
    response = self.full_dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1518: in full_dispatch_request
    rv = self.handle_user_exception(e)
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1516: in full_dispatch_request
    rv = self.dispatch_request()
.tox/py3.7-flask-v2.0.3/lib/python3.7/site-packages/flask/app.py:1502: in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
tests/integrations/flask/test_flask.py:534: in index
    except UnsupportedMediaType:
E   TypeError: catching classes that do not inherit from BaseException is not allowed

✅ Patch coverage is 100.00%. Project has 2370 uncovered lines.
✅ Project coverage is 90%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    89.89%    90.00%    +0.11%
==========================================
  Files          193       186        -7
  Lines        24832     23701     -1131
  Branches      8912      8558      -354
==========================================
+ Hits         22321     21331      -990
- Misses        2511      2370      -141
- Partials      1415      1374       -41

Generated by Codecov Action

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.

1 participant