Skip to content

reticulate 1.44.0

Choose a tag to compare

@t-kalinowski t-kalinowski released this 25 Oct 13:19
  • Reticulate now clears its cache automatically every 120 days. Configure the interval
    in .Rprofile with: 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() and py_read_requirements() (#1846).

  • Adds support for requesting Python versions with a wildcard pattern x.x.* such as ==3.12.* in virtualenv_starter(), py_require(), and related functions (#1825)

  • Restored compatability with uv versions >= 0.8.0 (#1818).

  • virtualenv_starter() now discovers Python installations managed by
    external uv installations (#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 %system magic in
    repl_python(). Added support for assigning %system command output to multiple
    variables via unpacking (#1844).