Skip to content

Add ServiceBusReceivedMessage.from_bytes() classmethod (fixes #43979) #235

Add ServiceBusReceivedMessage.from_bytes() classmethod (fixes #43979)

Add ServiceBusReceivedMessage.from_bytes() classmethod (fixes #43979) #235

Triggered via pull request June 17, 2026 16:50
Status Failure
Total duration 1m 22s
Artifacts

api-consistency.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error
consistency
Unhandled error: Error: Command failed: node .github/workflows/src/api-md-consistency/regenerate.js 2026-06-17 16:51:34,142 [INFO] azure-sdk-tools: Installing from feed: https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/ 2026-06-17 16:51:34,142 [INFO] azure-sdk-tools: Running apistub check... 2026-06-17 16:51:34,147 [INFO] azure-sdk-tools: Processing azure-servicebus for apistub check 2026-06-17 16:51:35,776 [INFO] azure-sdk-tools: Flag to skip install whl is passed. Skipping package installation 2026-06-17 16:51:35,779 [INFO] root: No whl is found in directory /home/runner/work/azure-sdk-for-python/azure-sdk-for-python/sdk/servicebus/azure-servicebus with package name format azure_servicebus-7.15.0*.whl 2026-06-17 16:51:35,779 [INFO] root: List of whls in directory: [] 2026-06-17 16:51:35,779 [INFO] azure-sdk-tools: Running apistub ['-m', 'apistub', '--pkg-path', '/home/runner/work/azure-sdk-for-python/azure-sdk-for-python/sdk/servicebus/azure-servicebus', '--out-path', '/home/runner/work/azure-sdk-for-python/azure-sdk-for-python/sdk/servicebus/azure-servicebus', '--skip-pylint']. Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/azure/core/pipeline/transport/__init__.py", line 90, in __getattr__ from ._aiohttp import AioHttpTransport File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/azure/core/pipeline/transport/_aiohttp.py", line 49, in <module> import aiohttp ModuleNotFoundError: No module named 'aiohttp' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/apistub/_stub_generator.py", line 213, in generate_tokens apiview = self._generate_tokens( ^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/apistub/_stub_generator.py", line 362, in _generate_tokens module_obj = importlib.import_module(m) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 999, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/azure/servicebus/aio/management/__init__.py", line 6, in <module> from ._management_client_async import ServiceBusAdministrationClient File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/azure/servicebus/aio/management/_management_client_async.py", line 26, in <module> from azure.core.pipeline.transport import ( # pylint:disable=non-abstract-transport-import,no-name-in-module File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/azure/core/pipeline/transport/__init__.py", line 94, in __getattr__ raise ImportError("aiohttp package is not installed") from err ImportError: aiohttp package is not installed During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/azure/core/pipeline/transport/__init__.py", line 90, in __getattr__ from ._aiohttp import AioHttpTransport File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/azure/core/pipeline/transport/_aiohttp.py", line 49, in <module> import aiohttp ModuleNotFoundError: No module named 'aiohttp' The above exception was the direct cause of the following except