reticulate 1.44.0
-
Reticulate now clears its cache automatically every 120 days. Configure the interval
in.Rprofilewith:options(reticulate.max_cache_age = as.difftime(30, units = "days")). -
install_miniconda()now installs miniforge instead of miniconda (#1800, #1820). -
New helpers for reading and writing requirements files,
py_write_requirements()andpy_read_requirements()(#1846). -
Adds support for requesting Python versions with a wildcard pattern
x.x.*such as==3.12.*invirtualenv_starter(),py_require(), and related functions (#1825) -
Restored compatability with
uvversions >= 0.8.0 (#1818). -
virtualenv_starter()now discovers Python installations managed by
externaluvinstallations (#1849). -
py_require()now gives a better message when a user erroneously declares
a module from the Python standard library as a required package (@lazappi, #1788) -
Positron's reticulate integration will now be automatically enabled when
the reticulate package is loaded in Positron (#1822). -
with()now forwards errors to Python context manager exit handlers
(e.g., so database transactions can roll back cleanly) (#1840, #1841) -
Fixed
!!in string literals being wrongly expanded to a%systemmagic in
repl_python(). Added support for assigning%systemcommand output to multiple
variables via unpacking (#1844).