Skip to content

Commit

Permalink
Updated default python version to 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
dipterix committed Aug 19, 2024
1 parent 6698c22 commit 4f753e4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ravemanager
Title: Manage 'RAVE' Packages
Version: 1.0.42
Version: 1.0.43
Authors@R:
person("Zhengjia", "Wang", email = "[email protected]",
role = c("aut", "cre"))
Expand All @@ -11,7 +11,7 @@ License: MIT + file LICENSE
Language: en-US
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
URL: https://dipterix.org/ravemanager/,
http://dipterix.org/ravemanager/
Imports:
Expand Down
14 changes: 7 additions & 7 deletions R/python.R
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ system_pkgpath <- function(package, ..., alternative = TRUE) {

#' @rdname configure-python
#' @export
configure_python <- function(python_ver = "3.9", verbose = TRUE) {
configure_python <- function(python_ver = "3.11", verbose = TRUE) {

if(!is_installed("rpymat")) {
install_packages("rpymat")
Expand All @@ -176,12 +176,12 @@ configure_python <- function(python_ver = "3.9", verbose = TRUE) {
standalone <- FALSE
}

# fix issue on intel max
if( python_ver %in% c("3.9", "auto") &&
identical(get_os(), "darwin") &&
isTRUE(startsWith(R.version$arch, "x86")) ) {
python_ver <- "3.10"
}
# # fix issue on intel max
# if( python_ver %in% c("3.9", "auto") &&
# identical(get_os(), "darwin") &&
# isTRUE(startsWith(R.version$arch, "x86")) ) {
# python_ver <- "3.10"
# }

# Increase timeout to 30min
options("timeout" = 60*30)
Expand Down
1 change: 1 addition & 0 deletions inst/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
old_tutorials
2 changes: 1 addition & 1 deletion man/configure-python.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4f753e4

Please sign in to comment.