Skip to content

Commit

Permalink
Merge pull request #978 from joseph-v/fix_sqlalchemy_ver
Browse files Browse the repository at this point in the history
Fix setuptools version to 65.0.0
  • Loading branch information
skdwriting authored Mar 2, 2023
2 parents e0290fd + a5cb63b commit f2765e1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions installer/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,15 @@ sudo apt-get update

# Install python dependencies
echo Installing Python dependencies
sudo apt-get install -y python3-distutils
sudo apt-get install -y python3-pip
python3 -m pip install -U pip setuptools
sudo apt-get install -y python3-distutils python3-testresources python3-pip
python3 -m pip install -U pip

# Update setuptool version if it is higher than 65
ver=$(python3 -m pip show setuptools | awk '/^Version: / {sub("^Version: ", ""); print}' | cut -d. -f1)
if [ "$ver" -gt 65 ]; then
echo Downgrade setuptools version to 65
python3 -m pip install setuptools==65.0.0
fi

# Install ansible if not present
if [ "`which ansible`" != "" ]; then
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PasteDeploy>=1.5.0 # MIT
retrying!=1.3.0,>=1.2.3 # Apache-2.0
Routes>=2.3.1 # MIT
six>=1.10.0 # MIT
SQLAlchemy>=1.3.0 # MIT
SQLAlchemy==1.4.44 # MIT
stevedore>=1.20.0 # Apache-2.0
tooz==2.8.0 # Apache-2.0
WebOb>=1.7.1 # MIT
Expand Down

0 comments on commit f2765e1

Please sign in to comment.