Skip to content

Commit

Permalink
update pip in wheel images on every rebuild (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Aug 19, 2024
1 parent 104a221 commit 08a0e84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions ci-wheel.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ EOF

RUN <<EOF
pyenv global ${PYTHON_VER}
python -m pip install --upgrade pip
python -m pip install auditwheel patchelf twine "rapids-dependency-file-generator==1.*" dunamai
pyenv rehash
EOF
Expand Down
10 changes: 7 additions & 3 deletions citestwheel.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,13 @@ ENV PATH="/pyenv/versions/${PYTHON_VER}/bin/:$PATH"
COPY --from=aws-cli /usr/local/aws-cli/ /usr/local/aws-cli/
COPY --from=aws-cli /usr/local/bin/ /usr/local/bin/

# Install rapids-dependency-file-generator
RUN pyenv global ${PYTHON_VER} && python -m pip install 'rapids-dependency-file-generator>=1.14.0,<2.0.0a0' \
&& pyenv rehash
# update pip and install build tools
RUN <<EOF
pyenv global ${PYTHON_VER}
python -m pip install --upgrade pip
python -m pip install "rapids-dependency-file-generator==1.*"
pyenv rehash
EOF

# Install latest gha-tools
RUN wget https://github.com/rapidsai/gha-tools/releases/latest/download/tools.tar.gz -O - \
Expand Down

0 comments on commit 08a0e84

Please sign in to comment.