Skip to content

Commit 64b5cdd

Browse files
Gavin AguiarGavin Aguiar
authored andcommitted
Adding --use-pep517 to pip
1 parent 77946e2 commit 64b5cdd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

pack/scripts/nix_deps.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ python -m venv .env
44
source .env/bin/activate
55
python -m pip install --upgrade pip
66

7-
python -m pip install .
7+
python -m pip install . --use-pep517
88

9-
python -m pip install . --no-compile --target "$BUILD_SOURCESDIRECTORY/deps"
9+
python -m pip install . --no-compile --use-pep517 --target "$BUILD_SOURCESDIRECTORY/deps"

pack/scripts/win_deps.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ python -m venv .env
22
.env\Scripts\Activate.ps1
33
python -m pip install --upgrade pip
44

5-
python -m pip install .
5+
python -m pip install . --use-pep517
66

77
$depsPath = Join-Path -Path $env:BUILD_SOURCESDIRECTORY -ChildPath "deps"
88

9-
python -m pip install . azure-functions --no-compile --target $depsPath.ToString()
9+
python -m pip install . azure-functions --use-pep517 --no-compile --target $depsPath.ToString()

tests/utils/testutils_lc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ def _encrypt_context(cls, encryption_key: str, plain_text: str) -> str:
281281
return f'{iv_base64}.{encrypted_base64}.{key_sha256_base64}'
282282

283283
def __enter__(self):
284-
mesh_image = "mcr.microsoft.com/azure-functions/mesh:4.17.3.1-python3" \
285-
".10"
284+
mesh_image = self._find_latest_mesh_image(self._host_version,
285+
self._py_version)
286286
self.spawn_container(image=mesh_image)
287287
return self
288288

0 commit comments

Comments
 (0)