Skip to content

Commit 16a5a53

Browse files
committed
update wrapt versions
1 parent abe8e50 commit 16a5a53

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/python-compatibility.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@ jobs:
6969
run: |
7070
python -m venv .venv-deps-test
7171
. .venv-deps-test/bin/activate
72-
pip install --only-binary=:all: -r requirements.txt
72+
# Try installing with wheel-only first to catch dependency conflicts early
73+
pip install --only-binary=:all: -r requirements.txt || {
74+
echo "Warning: Some dependencies may not have wheels available"
75+
echo "Attempting installation with source packages allowed..."
76+
pip install -r requirements.txt
77+
}
7378
deactivate
7479
rm -rf .venv-deps-test
7580
shell: bash
@@ -79,7 +84,13 @@ jobs:
7984
run: |
8085
python -m venv .venv-deps-test
8186
.venv-deps-test\Scripts\Activate.ps1
87+
# Try installing with wheel-only first to catch dependency conflicts early
8288
pip install --only-binary=:all: -r requirements.txt
89+
if ($LASTEXITCODE -ne 0) {
90+
Write-Host "Warning: Some dependencies may not have wheels available"
91+
Write-Host "Attempting installation with source packages allowed..."
92+
pip install -r requirements.txt
93+
}
8394
deactivate
8495
Remove-Item -Recurse -Force .venv-deps-test
8596
shell: pwsh

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ click~=8.1.2
1414
setuptools==70.0.0
1515
python-Levenshtein
1616
azure-mgmt-core
17-
wrapt>=1.11
17+
wrapt>=1.11,<1.14
1818
azdev

0 commit comments

Comments
 (0)