Skip to content

Commit

Permalink
Updating Python to match Docker Container (#601)
Browse files Browse the repository at this point in the history
* update quarto and python

* update python

* delete dotnet and fix python for jupyter

* update jupyter env python too
  • Loading branch information
kgartland-rstudio authored Jun 3, 2024
1 parent a0511ef commit 4cddae9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
fail-fast: false
matrix:
PY_VERSION:
- 3.8.10
- 3.9.5
- 3.11.7
- 3.12.1
steps:
- uses: extractions/setup-just@v2
env:
Expand All @@ -44,6 +44,9 @@ jobs:
fetch-depth: 0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Delete dotnet to save space
run: sudo rm -rf /usr/share/dotnet

- uses: actions/checkout@v4
with:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ jobs:
fail-fast: false
matrix:
PY_VERSION:
- 3.8.10
- 3.9.5
- 3.11.7
- 3.12.1
steps:
- uses: extractions/setup-just@v2
env:
Expand All @@ -280,6 +280,9 @@ jobs:
examples
sparse-checkout-cone-mode: false
token: ${{ secrets.CONNECT_PAT }}

- name: Delete dotnet to save space
run: sudo rm -rf /usr/share/dotnet

- name: Build docker container-image
run: |
Expand Down
2 changes: 1 addition & 1 deletion integration-testing/docker/client.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9
FROM python:3.12
COPY ./requirements.txt .
EXPOSE 9999
VOLUME ../../:/rsconnect-python/
Expand Down
6 changes: 3 additions & 3 deletions integration-testing/docker/rstudio-connect-cli.gcfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ NoWarning = true

[Python]
Enabled = true
Executable = /opt/python/3.8.17/bin/python
Executable = /opt/python/3.9.17/bin/python
Executable = /opt/python/3.12.1/bin/python
Executable = /opt/python/3.11.7/bin/python

[Quarto]
Enabled = true
Executable = /opt/quarto/bin/quarto
Executable = /opt/quarto/1.4.552/bin/quarto

[Authentication]
BasicAuth = true
Expand Down
6 changes: 3 additions & 3 deletions integration-testing/docker/rstudio-connect.gcfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ NoWarning = true

[Python]
Enabled = true
Executable = /opt/python/3.8.17/bin/python
Executable = /opt/python/3.9.17/bin/python
Executable = /opt/python/3.11.7/bin/python
Executable = /opt/python/3.12.1/bin/python

[Quarto]
Enabled = true
Executable = /usr/local/bin/quarto
Executable = /opt/quarto/1.4.552/bin/quarto

[Authentication]
BasicAuth = true
Expand Down

0 comments on commit 4cddae9

Please sign in to comment.