Skip to content

Commit

Permalink
build: update blob to 1.0.0b3 (#1639)
Browse files Browse the repository at this point in the history
* Update pyproject.toml

* test extensions fix

* run emulator tests for sdk & extension release branches

---------

Co-authored-by: Victoria Hall <[email protected]>
  • Loading branch information
hallvictoria and Victoria Hall authored Feb 4, 2025
1 parent ed4e08e commit 95a4793
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion eng/ci/emulator-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
trigger: none # ensure this is not ran as a CI build
trigger: # run for sdk and extension release branches
batch: true
branches:
include:
- sdk/*
- extensions/*

pr:
branches:
Expand Down
4 changes: 2 additions & 2 deletions eng/scripts/test-extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

python -m pip install --upgrade pip
if [[ $2 != "3.7" ]]; then
python -m pip install -e $1/PythonExtensionArtifact
python -m pip install -e $1/PythonExtensionArtifact/$3
python -m pip install --pre -e .[test-http-v2]
fi
if [[ $2 != "3.7" && $2 != "3.8" ]]; then
python -m pip install -e $1/PythonExtensionArtifact
python -m pip install -e $1/PythonExtensionArtifact/$3
python -m pip install --pre -U -e .[test-deferred-bindings]
fi

Expand Down
2 changes: 1 addition & 1 deletion eng/templates/jobs/ci-emulator-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
chmod +x eng/scripts/test-setup.sh
chmod +x eng/scripts/test-extensions.sh
eng/scripts/test-extensions.sh $(Pipeline.Workspace) $(PYTHON_VERSION)
eng/scripts/test-extensions.sh $(Pipeline.Workspace) $(PYTHON_VERSION) $(PYTHONEXTENSIONNAME)
eng/scripts/test-setup.sh
displayName: 'Install test python extension, dependencies and the worker'
condition: or(eq(variables.isExtensionsRelease, true), eq(variables['USETESTPYTHONEXTENSIONS'], true))
Expand Down
2 changes: 1 addition & 1 deletion eng/templates/official/jobs/ci-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
chmod +x eng/scripts/test-setup.sh
chmod +x eng/scripts/test-extensions.sh
eng/scripts/test-extensions.sh $(Pipeline.Workspace) $(PYTHON_VERSION)
eng/scripts/test-extensions.sh $(Pipeline.Workspace) $(PYTHON_VERSION) $(PYTHONEXTENSIONNAME)
eng/scripts/test-setup.sh
displayName: 'Install test python extension, dependencies and the worker'
condition: or(eq(variables.isExtensionsRelease, true), eq(variables['USETESTPYTHONEXTENSIONS'], true))
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ test-http-v2 = [
"orjson"
]
test-deferred-bindings = [
"azurefunctions-extensions-bindings-blob==1.0.0b2"
"azurefunctions-extensions-bindings-blob==1.0.0b3"
]

[build-system]
Expand Down

0 comments on commit 95a4793

Please sign in to comment.