Skip to content

Commit 4cddae9

Browse files
Updating Python to match Docker Container (#601)
* update quarto and python * update python * delete dotnet and fix python for jupyter * update jupyter env python too
1 parent a0511ef commit 4cddae9

File tree

5 files changed

+17
-11
lines changed

5 files changed

+17
-11
lines changed

.github/workflows/deploy_tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
PY_VERSION:
36-
- 3.8.10
37-
- 3.9.5
36+
- 3.11.7
37+
- 3.12.1
3838
steps:
3939
- uses: extractions/setup-just@v2
4040
env:
@@ -44,6 +44,9 @@ jobs:
4444
fetch-depth: 0
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
48+
- name: Delete dotnet to save space
49+
run: sudo rm -rf /usr/share/dotnet
4750

4851
- uses: actions/checkout@v4
4952
with:

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ jobs:
258258
fail-fast: false
259259
matrix:
260260
PY_VERSION:
261-
- 3.8.10
262-
- 3.9.5
261+
- 3.11.7
262+
- 3.12.1
263263
steps:
264264
- uses: extractions/setup-just@v2
265265
env:
@@ -280,6 +280,9 @@ jobs:
280280
examples
281281
sparse-checkout-cone-mode: false
282282
token: ${{ secrets.CONNECT_PAT }}
283+
284+
- name: Delete dotnet to save space
285+
run: sudo rm -rf /usr/share/dotnet
283286

284287
- name: Build docker container-image
285288
run: |

integration-testing/docker/client.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9
1+
FROM python:3.12
22
COPY ./requirements.txt .
33
EXPOSE 9999
44
VOLUME ../../:/rsconnect-python/

integration-testing/docker/rstudio-connect-cli.gcfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ NoWarning = true
1515

1616
[Python]
1717
Enabled = true
18-
Executable = /opt/python/3.8.17/bin/python
19-
Executable = /opt/python/3.9.17/bin/python
18+
Executable = /opt/python/3.12.1/bin/python
19+
Executable = /opt/python/3.11.7/bin/python
2020

2121
[Quarto]
2222
Enabled = true
23-
Executable = /opt/quarto/bin/quarto
23+
Executable = /opt/quarto/1.4.552/bin/quarto
2424

2525
[Authentication]
2626
BasicAuth = true

integration-testing/docker/rstudio-connect.gcfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ NoWarning = true
1515

1616
[Python]
1717
Enabled = true
18-
Executable = /opt/python/3.8.17/bin/python
19-
Executable = /opt/python/3.9.17/bin/python
18+
Executable = /opt/python/3.11.7/bin/python
19+
Executable = /opt/python/3.12.1/bin/python
2020

2121
[Quarto]
2222
Enabled = true
23-
Executable = /usr/local/bin/quarto
23+
Executable = /opt/quarto/1.4.552/bin/quarto
2424

2525
[Authentication]
2626
BasicAuth = true

0 commit comments

Comments
 (0)