Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(*:skip) Upgrade pip and setuptools #3496

Merged
merged 4 commits into from
May 23, 2024
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
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