Skip to content

Commit 4ed7354

Browse files
unpin 3.9
1 parent 4a636ee commit 4ed7354

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

R/install.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ install_precommit <- function(force = FALSE) {
5555
#' @keywords internal
5656
install_impl <- function() {
5757
if (!"r-precommit" %in% reticulate::conda_list()$name) {
58-
reticulate::conda_create("r-precommit", python_version = "3.9")
58+
reticulate::conda_create("r-precommit")
5959
}
6060
reticulate::conda_install("r-precommit", packages = "pre-commit")
6161
}

tests/testthat/test-conda.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ if (!on_cran()) {
55
expect_error(install_precommit(force = TRUE), NA)
66
})
77

8-
test_that("conda 3.10 should now work", {
9-
expect_true(Sys.Date() < as.Date("2021-11-30"))
10-
})
11-
128
test_that("can use pre-commit", {
139
tempdir <- local_test_setup(quiet = FALSE, install_hooks = FALSE)
1410
expect_message(

0 commit comments

Comments
 (0)