Skip to content

Conversation

@constantinius
Copy link
Contributor

Issues

Closes https://linear.app/getsentry/issue/TET-1329/fastmcp-tests

Reminders

@linear
Copy link

linear bot commented Nov 6, 2025

@codecov
Copy link

codecov bot commented Nov 6, 2025

❌ 79 Tests Failed:

Tests completed Failed Passed Skipped
27667 79 27588 2221
View the top 3 failed test(s) by shortest run time
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:238: in mock_hf_chat_completion_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:238: in mock_hf_chat_completion_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:238: in mock_hf_chat_completion_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:238: in mock_hf_chat_completion_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:238: in mock_hf_chat_completion_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:238: in mock_hf_chat_completion_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:238: in mock_hf_chat_completion_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:238: in mock_hf_chat_completion_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:238: in mock_hf_chat_completion_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:238: in mock_hf_chat_completion_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:238: in mock_hf_chat_completion_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_api_error
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:135: in mock_hf_api_with_errors _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_api_error
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:135: in mock_hf_api_with_errors _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_api_error
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:135: in mock_hf_api_with_errors _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:373: in mock_hf_chat_completion_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:373: in mock_hf_chat_completion_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:373: in mock_hf_chat_completion_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:373: in mock_hf_chat_completion_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:373: in mock_hf_chat_completion_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:373: in mock_hf_chat_completion_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:373: in mock_hf_chat_completion_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:373: in mock_hf_chat_completion_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:373: in mock_hf_chat_completion_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:373: in mock_hf_chat_completion_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:373: in mock_hf_chat_completion_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming_with_tools[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:426: in mock_hf_chat_completion_api_streaming_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming_with_tools[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:426: in mock_hf_chat_completion_api_streaming_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming_with_tools[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:426: in mock_hf_chat_completion_api_streaming_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming_with_tools[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:426: in mock_hf_chat_completion_api_streaming_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming_with_tools[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:426: in mock_hf_chat_completion_api_streaming_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming_with_tools[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:426: in mock_hf_chat_completion_api_streaming_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming_with_tools[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:426: in mock_hf_chat_completion_api_streaming_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming_with_tools[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:426: in mock_hf_chat_completion_api_streaming_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming_with_tools[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:426: in mock_hf_chat_completion_api_streaming_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming_with_tools[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:426: in mock_hf_chat_completion_api_streaming_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming_with_tools[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:426: in mock_hf_chat_completion_api_streaming_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_with_tools[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:301: in mock_hf_chat_completion_api_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_with_tools[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:301: in mock_hf_chat_completion_api_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_with_tools[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:301: in mock_hf_chat_completion_api_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_with_tools[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:301: in mock_hf_chat_completion_api_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_with_tools[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:301: in mock_hf_chat_completion_api_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_with_tools[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:301: in mock_hf_chat_completion_api_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_with_tools[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:301: in mock_hf_chat_completion_api_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_with_tools[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:301: in mock_hf_chat_completion_api_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_with_tools[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:301: in mock_hf_chat_completion_api_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_with_tools[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:301: in mock_hf_chat_completion_api_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_with_tools[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:301: in mock_hf_chat_completion_api_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_with_tools[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:301: in mock_hf_chat_completion_api_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_span_status_error
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:135: in mock_hf_api_with_errors _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_span_status_error
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:135: in mock_hf_api_with_errors _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_span_status_error
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:135: in mock_hf_api_with_errors _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:81: in mock_hf_text_generation_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:81: in mock_hf_text_generation_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:81: in mock_hf_text_generation_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:81: in mock_hf_text_generation_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:81: in mock_hf_text_generation_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:81: in mock_hf_text_generation_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:81: in mock_hf_text_generation_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation_streaming[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:188: in mock_hf_text_generation_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation_streaming[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:188: in mock_hf_text_generation_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation_streaming[False-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:188: in mock_hf_text_generation_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation_streaming[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:188: in mock_hf_text_generation_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation_streaming[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:188: in mock_hf_text_generation_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation_streaming[False-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:188: in mock_hf_text_generation_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation_streaming[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:188: in mock_hf_text_generation_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation_streaming[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:188: in mock_hf_text_generation_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation_streaming[True-False]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:188: in mock_hf_text_generation_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation_streaming[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:188: in mock_hf_text_generation_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation_streaming[True-True]
Stack Traces | 0.001s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:188: in mock_hf_text_generation_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion[True-False]
Stack Traces | 0.002s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:238: in mock_hf_chat_completion_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming[False-False]
Stack Traces | 0.002s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:373: in mock_hf_chat_completion_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_chat_completion_streaming_with_tools[False-False]
Stack Traces | 0.002s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:426: in mock_hf_chat_completion_api_streaming_tools _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation[False-False]
Stack Traces | 0.002s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:81: in mock_hf_text_generation_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation[True-False]
Stack Traces | 0.002s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:81: in mock_hf_text_generation_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation[True-True]
Stack Traces | 0.002s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:81: in mock_hf_text_generation_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation_streaming[True-True]
Stack Traces | 0.002s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:188: in mock_hf_text_generation_api_streaming _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation[True-True]
Stack Traces | 0.003s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:81: in mock_hf_text_generation_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): ^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.integrations.huggingface_hub.test_huggingface_hub::test_text_generation[True-True]
Stack Traces | 0.003s run time
.../integrations/huggingface_hub/test_huggingface_hub.py:81: in mock_hf_text_generation_api _add_mock_response( .../integrations/huggingface_hub/test_huggingface_hub.py:51: in _add_mock_response if HF_VERSION >= (1, 0, 0): E TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
tests.tracing.test_decorator::test_trace_decorator_async_no_trx
Stack Traces | 0.045s run time
tests/tracing/test_decorator.py:81: in test_trace_decorator_async_no_trx fake_debug.assert_called_once_with( .../hostedtoolcache/Python/3.14.0.../x64-freethreaded/lib/python3.14t/unittest/mock.py:996: in assert_called_once_with raise AssertionError(msg) E AssertionError: Expected 'mock' to be called once. Called 3 times. E Calls: [call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'time.sleep'), E call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'time.sleep'), E call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'test_decorator.my_async_example_function')].

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@constantinius constantinius marked this pull request as ready for review November 6, 2025 10:11
@constantinius constantinius requested a review from a team as a code owner November 6, 2025 10:11
dramatiq: TESTPATH=tests/integrations/dramatiq
falcon: TESTPATH=tests/integrations/falcon
fastapi: TESTPATH=tests/integrations/fastapi
fastmcp: TESTPATH=tests/integrations/fastmcp
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The fastmcp tox environment's TESTPATH in tox.ini line 808 points to a non-existent directory, preventing test discovery.
Severity: HIGH | Confidence: 1.00

🔍 Detailed Analysis

The fastmcp tox environment's TESTPATH is incorrectly configured in tox.ini at line 808. It points to tests/integrations/fastmcp, a non-existent directory. The actual test file, test_fastmcp.py, resides in tests/integrations/mcp. This misconfiguration prevents pytest from discovering and executing any tests for the fastmcp integration suite, resulting in a silent failure where no tests are run.

💡 Suggested Fix

Update tox.ini line 808 to set fastmcp: TESTPATH=tests/integrations/mcp. This will correctly direct pytest to the location of the fastmcp integration tests.

🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not valid. Location: tox.ini#L808 Potential issue: The `fastmcp` tox environment's `TESTPATH` is incorrectly configured in `tox.ini` at line 808. It points to `tests/integrations/fastmcp`, a non-existent directory. The actual test file, `test_fastmcp.py`, resides in `tests/integrations/mcp`. This misconfiguration prevents `pytest` from discovering and executing any tests for the `fastmcp` integration suite, resulting in a silent failure where no tests are run. 

Did we get this right? 👍 / 👎 to inform future reviews.

Copy link
Contributor

@alexander-alderman-webb alexander-alderman-webb Nov 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would put the new tests in a new tests/integrations/fastmcp directory.

If we changed the TESTPATH of the fastmcp entry to be tests/integrations/mcp, then we would be running mcp tests twice in our CI.

@@ -0,0 +1,3 @@
import pytest

pytest.importorskip("mcp")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Import Check Misroutes Tests to Wrong Package

The __init__.py file for fastmcp tests imports "mcp" instead of "fastmcp". This causes tests to be skipped when the mcp package is not installed, even though the tests are specifically for the fastmcp package. Since these are separate packages (as evidenced by the separate test directories and tox configuration), the importorskip should check for "fastmcp" availability, not "mcp".

Fix in Cursor Fix in Web

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is on purpose, because FastMCP can either be a part of the MCP SDK or a standalone package but both are dependant on mcp

@alexander-alderman-webb
Copy link
Contributor

alexander-alderman-webb commented Nov 7, 2025

There are CI failures due to version bumps picked up by generate_tox.py. We're fixing them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants