Skip to content
Merged
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
3 changes: 3 additions & 0 deletions scripts/ci/dependency_check.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
pushd %~dp0..\..

Rem Upgrade pip to the latest version
python -m pip install --upgrade pip
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrading pip makes VerifyWindowsRequirements, VerifyLinuxRequirements and VerifyDarwinRequirements have the same logic as other package building jobs, such as BuildDebPackages.

It can utilize the latest pip's error message to better find dependency resolution failures.


Rem Uninstall any cruft that can poison the rest of the checks in this script.
pip freeze > baseline_deps.txt
pip uninstall -y -r baseline_deps.txt
Expand Down
3 changes: 3 additions & 0 deletions scripts/ci/dependency_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ set -ev

REPO_ROOT="$(dirname ${BASH_SOURCE[0]})/../.."

# Upgrade pip to the latest version
python -m pip install --upgrade pip

# Uninstall any cruft that can poison the rest of the checks in this script.
pip freeze > baseline_deps.txt
pip uninstall -y -r baseline_deps.txt || true
Expand Down
4 changes: 2 additions & 2 deletions src/azure-cli/requirements.py3.Darwin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ certifi==2022.12.7
cffi==1.15.0
chardet==3.0.4
colorama==0.4.4
cryptography==38.0.4
cryptography==41.0.1
fabric==2.4.0
humanfriendly==10.0
idna==2.8
Expand All @@ -124,7 +124,7 @@ pycparser==2.19
PyGithub==1.55
PyJWT==2.4.0
PyNaCl==1.5.0
pyOpenSSL==22.1.0
pyOpenSSL==23.2.0
python-dateutil==2.8.0
requests-oauthlib==1.2.0
requests[socks]==2.31.0
Expand Down
4 changes: 2 additions & 2 deletions src/azure-cli/requirements.py3.Linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ certifi==2022.12.7
cffi==1.15.0
chardet==3.0.4
colorama==0.4.4
cryptography==38.0.4
cryptography==41.0.1
distro==1.6.0
fabric==2.4.0
humanfriendly==10.0
Expand Down Expand Up @@ -125,7 +125,7 @@ pycparser==2.19
PyGithub==1.55
PyJWT==2.4.0
PyNaCl==1.5.0
pyOpenSSL==22.1.0
pyOpenSSL==23.2.0
python-dateutil==2.8.0
requests-oauthlib==1.2.0
requests[socks]==2.31.0
Expand Down