Skip to content

Commit

Permalink
Add .python-version files for lambdas
Browse files Browse the repository at this point in the history
  • Loading branch information
sir-sigurd committed Feb 14, 2024
1 parent 200dd79 commit 354714a
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-lambdas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v4
- name: Build zip
run: |
BUILDER_IMAGE=quiltdata/lambda:build-3.8
BUILDER_IMAGE=quiltdata/lambda:build-$(cat lambdas/${{ matrix.path }}/.python-version)
touch ./out.zip
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/py-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,8 @@ jobs:
- shared
- status_reports
- tabular_preview
- thumbnail
- transcode
python-version: ['3.8']
include:
- path: thumbnail
python-version: '3.9'
runs-on: ubuntu-latest
env:
QUILT_DISABLE_USAGE_METRICS: true
Expand All @@ -180,7 +177,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version-file: lambdas/${{ matrix.path }}/.python-version
- name: Install dependencies
run: |
# Due to behavior change in pip>=23.1 installing tifffile==0.15.1
Expand Down
1 change: 1 addition & 0 deletions lambdas/access_counts/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
1 change: 1 addition & 0 deletions lambdas/indexer/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
1 change: 1 addition & 0 deletions lambdas/molecule/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
1 change: 1 addition & 0 deletions lambdas/pkgevents/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
1 change: 1 addition & 0 deletions lambdas/pkgpush/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
1 change: 1 addition & 0 deletions lambdas/pkgselect/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
1 change: 1 addition & 0 deletions lambdas/preview/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
1 change: 1 addition & 0 deletions lambdas/s3hash/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
1 change: 1 addition & 0 deletions lambdas/s3select/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
1 change: 1 addition & 0 deletions lambdas/shared/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
1 change: 1 addition & 0 deletions lambdas/status_reports/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
1 change: 1 addition & 0 deletions lambdas/tabular_preview/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
1 change: 1 addition & 0 deletions lambdas/thumbnail/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.9
1 change: 1 addition & 0 deletions lambdas/transcode/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8

0 comments on commit 354714a

Please sign in to comment.