Skip to content

Commit

Permalink
{Packaging} Use latest setuptools on Linux (#25703)
Browse files Browse the repository at this point in the history
  • Loading branch information
bebound authored Mar 9, 2023
1 parent 953a006 commit 091c6b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# basic
setuptools==65.5.1
setuptools>=65.5.1
pip>=9.0.1
2 changes: 1 addition & 1 deletion scripts/release/debian/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $PYTHON_SRC_DIR/*/configure --srcdir $PYTHON_SRC_DIR/* --prefix $WORKDIR/python_
make
make install

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

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

Expand Down
2 changes: 1 addition & 1 deletion scripts/release/rpm/azure-cli.spec
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ A great cloud needs great tools; we're excited to introduce Azure CLI,
# Create a fully instantiated virtual environment, ready to use the CLI.
%{python_cmd} -m venv %{buildroot}%{cli_lib_dir}
source %{buildroot}%{cli_lib_dir}/bin/activate
%{python_cmd} -m pip install --upgrade pip
%{python_cmd} -m pip install --upgrade pip setuptools
source %{repo_path}/scripts/install_full.sh

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

0 comments on commit 091c6b1

Please sign in to comment.