Skip to content

Commit 2c1f54f

Browse files
authored
Merge pull request #39 from vkt1414/master
lock python and pip package versions
2 parents d9e8cbc + 9dda49d commit 2c1f54f

File tree

4 files changed

+1427
-1513
lines changed

4 files changed

+1427
-1513
lines changed

.github/workflows/test_colab.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
- name: Set up Python
2323
uses: actions/setup-python@v4
2424
with:
25-
python-version: 3.x
25+
python-version: 3.11
2626

2727
- name: Install dependencies
28-
run: pip install requests pandas google-cloud-bigquery pyarrow nbformat
28+
run: pip install requests==2.31.0 pandas==2.1.1 google-cloud-bigquery==3.12.0 pyarrow==13.0.0 nbformat==5.9.2
2929

3030
- name: Authorize Google Cloud
3131
uses: google-github-actions/auth@v1
@@ -88,7 +88,7 @@ jobs:
8888
run: |
8989
for nb in part1_prerequisites part2_searching_basics part3_exploring_cohorts; do
9090
docker run -d --name colab -v "$(pwd):/content" -e GOOGLE_APPLICATION_CREDENTIALS="${{ env.GOOGLE_APPLICATION_CREDENTIALS }}" imagingdatacommons/idc-testing-colab:latest
91-
docker exec -t colab /bin/bash -c "pip install papermill"
91+
docker exec -t colab /bin/bash -c "pip install papermill==2.4.0"
9292
docker exec -t colab /bin/bash -c "set -o xtrace && set -o errexit && set -o pipefail && set -o nounset && set +o errexit && cd content/ && papermill /content/notebooks/getting_started/${nb}.ipynb /content/test/outputs/${nb}_papermill_output.ipynb && set -o errexit && ls -A"
9393
#docker exec -t colab /bin/bash -c "jupyter nbconvert --to html --ExtractOutputPreprocessor.enabled=False /content/test/outputs/output_${nb}.ipynb"
9494
docker stop colab

0 commit comments

Comments
 (0)