Skip to content

Commit 091c6b1

Browse files
authored
{Packaging} Use latest setuptools on Linux (Azure#25703)
1 parent 953a006 commit 091c6b1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# basic
2-
setuptools==65.5.1
2+
setuptools>=65.5.1
33
pip>=9.0.1

scripts/release/debian/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $PYTHON_SRC_DIR/*/configure --srcdir $PYTHON_SRC_DIR/* --prefix $WORKDIR/python_
4646
make
4747
make install
4848

49-
$WORKDIR/python_env/bin/python3 -m pip install --upgrade pip
49+
$WORKDIR/python_env/bin/python3 -m pip install --upgrade pip setuptools
5050

5151
export PATH=$PATH:$WORKDIR/python_env/bin
5252

scripts/release/rpm/azure-cli.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ A great cloud needs great tools; we're excited to introduce Azure CLI,
4646
# Create a fully instantiated virtual environment, ready to use the CLI.
4747
%{python_cmd} -m venv %{buildroot}%{cli_lib_dir}
4848
source %{buildroot}%{cli_lib_dir}/bin/activate
49-
%{python_cmd} -m pip install --upgrade pip
49+
%{python_cmd} -m pip install --upgrade pip setuptools
5050
source %{repo_path}/scripts/install_full.sh
5151

5252
# cffi 1.15.0 doesn't work with RPM: https://foss.heptapod.net/pypy/cffi/-/issues/513

0 commit comments

Comments
 (0)