Skip to content

Commit

Permalink
Simplify installation of reticulate
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Jan 20, 2025
1 parent 1e260eb commit 40cfa18
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,28 +95,8 @@ jobs:
run: uv pip install .[docs]

- name: Install R dependencies and tutorial requirements
# Workaround for https://github.com/actions/runner-images/issues/11137
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' }}
run: |
install.packages(c("remotes", "Rcpp"))
remotes::install_cran(
c("IRkernel", "reticulate"),
dependencies = TRUE,
# force = TRUE,
)
reticulate::py_config()
shell: Rscript {0}

- name: Install R dependencies and tutorial requirements
if: ${{ ! (matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12') }}
run: |
install.packages(c("remotes", "Rcpp"))
remotes::install_cran(
c("IRkernel", "reticulate"),
dependencies = TRUE,
# force = TRUE,
)
install.packages(c("IRkernel", "reticulate"))
# commented: for debugging
# print(reticulate::py_config())
Expand Down

0 comments on commit 40cfa18

Please sign in to comment.