Skip to content

Commit

Permalink
ci(*:skip) Upgrade pip and setuptools (#3496)
Browse files Browse the repository at this point in the history
---------

Signed-off-by: Robert Steiner <robert@flower.ai>
Co-authored-by: Chong Shen Ng <chong.shen@flower.ai>
Co-authored-by: Taner Topal <taner@flower.dev>
  • Loading branch information
3 people authored May 23, 2024
1 parent a754714 commit 14deafd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ RUN apt-get install -y curl wget gnupg python3 python-is-python3 python3-pip git
build-essential tmux vim

RUN python -m pip install \
pip==23.3.1 \
setuptools==68.2.2 \
pip==24.0.0 \
setuptools==69.5.1 \
poetry==1.7.1

USER $USERNAME
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/bootstrap/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ inputs:
default: 3.8
pip-version:
description: "Version of pip to be installed using pip"
default: 23.3.1
default: 24.0.0
setuptools-version:
description: "Version of setuptools to be installed using pip"
default: 68.2.2
default: 69.5.1
poetry-version:
description: "Version of poetry to be installed using pip"
default: 1.7.1
poetry-skip:
description: "Option to skip the poetry installation"
required: false
default: 'false'
default: "false"
outputs:
python-version:
description: "Version range or exact version of Python or PyPy"
Expand Down
6 changes: 3 additions & 3 deletions dev/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -e
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/../
cd "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/../

# Setup environment variables for development
./dev/setup-envs.sh
Expand All @@ -9,8 +9,8 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/../
./dev/rm-caches.sh

# Upgrade/install spcific versions of `pip`, `setuptools`, and `poetry`
python -m pip install -U pip==23.3.1
python -m pip install -U setuptools==68.2.2
python -m pip install -U pip==24.0.0
python -m pip install -U setuptools==69.5.1
python -m pip install -U poetry==1.7.1

# Use `poetry` to install project dependencies
Expand Down

0 comments on commit 14deafd

Please sign in to comment.