Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions eng/scripts/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,3 @@ $UV_PIP -U --prerelease=if-necessary-or-explicit \
-e "$2/[test-http-v2]" \
-e "$2/[test-deferred-bindings]" \
"${EXTRA_ARGS[@]}"

# The Service Bus extension requires protobuf <7, which conflicts with the
# Python 3.13+ worker stubs. Its uamqp dependency also lacks Python 3.14+ wheels.
# Keep this gate aligned with the early skip in test_servicebus_functions.py.
if [ "${PY_MINOR:-0}" -lt 13 ]; then
SERVICEBUS_DIR="./servicebus_dir"
python -m uv pip install --prerelease=allow -U --target "$SERVICEBUS_DIR" azurefunctions-extensions-bindings-servicebus==1.0.0b2
python -c "import sys; sys.path.insert(0, '$SERVICEBUS_DIR'); import azurefunctions.extensions.bindings.servicebus as sb; print('servicebus version:', sb.__version__)"
else
echo "Skipping servicebus binding extension on Python $PY_VER (requires Python <3.13)."
fi
1 change: 0 additions & 1 deletion eng/templates/jobs/ci-emulator-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ jobs:
AzureWebJobsSQLPassword: $(AzureWebJobsSQLPassword)
displayName: 'Install Azurite and Start ServiceBus Emulator'
- bash: |
export PYTHONPATH="$(Build.SourcesDirectory)/servicebus_dir:$PYTHONPATH"
python -m pytest -q --dist loadfile --reruns 4 tests/emulator_tests/test_servicebus_functions.py
env:
AzureWebJobsStorage: $(AzureWebJobsStorage)
Expand Down
2 changes: 1 addition & 1 deletion runtimes/v2/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ test-http-v2 = [
]
test-deferred-bindings = [
"azurefunctions-extensions-bindings-blob==1.0.0",
"azurefunctions-extensions-bindings-eventhub==1.0.0b1"
"azurefunctions-extensions-bindings-eventhub==1.0.0b2"
]

[build-system]
Expand Down
3 changes: 2 additions & 1 deletion workers/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ test-http-v2 = [
test-deferred-bindings = [
"azurefunctions-extensions-bindings-blob==1.1.2",
"azurefunctions-extensions-bindings-cosmosdb==1.0.0",
"azurefunctions-extensions-bindings-eventhub==1.0.0b1; python_version < '3.14'"
"azurefunctions-extensions-bindings-servicebus==1.0.0b3",
"azurefunctions-extensions-bindings-eventhub==1.0.0b2"
]

[build-system]
Expand Down
3 changes: 0 additions & 3 deletions workers/tests/emulator_tests/test_eventhub_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import time

from tests.utils import testutils
from unittest import skipIf
import sys


class TestEventHubFunctions(testutils.WebHostTestCase):
Expand Down Expand Up @@ -172,7 +170,6 @@ def test_eventhub_retry_trigger_with_default_intervals(self):
self.assertEqual(result['all_attempts'], [0, 1, 2])


@skipIf(sys.version_info.minor >= 14, "Skip to figure out uamqp.")
class TestEventHubFunctionsSDK(TestEventHubFunctions):

@classmethod
Expand Down
3 changes: 0 additions & 3 deletions workers/tests/emulator_tests/test_servicebus_functions.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import json
import sys
import time
import unittest

from tests.utils import testutils

Expand Down Expand Up @@ -67,7 +65,6 @@ def get_script_dir(cls):
'servicebus_functions_stein' / 'generic'


@unittest.skipIf(sys.version_info.minor >= 13, "Skip to figure out uamqp.")
class TestServiceBusSDKFunctions(testutils.WebHostTestCase):

@classmethod
Expand Down
Loading