NEWS
findpython 1.0.10
- Version checks in
find_python_cmd(), can_find_python_cmd(), and
is_python_sufficient() now index sys.version_info as a tuple instead of
using the major / minor attributes (only available in Python 2.7+),
so minimum_version / maximum_version now work with Python < 2.7 (#7).
minimum_version and maximum_version now accept major-only version strings
such as "3" (#8). A major-only minimum_version is treated as "3.0"
while a major-only maximum_version allows any 3.x.
Malformed version strings (including non-character values such as 3.10,
which R would read as 3.1) now throw an informative error.
numeric_version() objects (e.g. numeric_version("3.10")) are also accepted.
findpython 1.0.9 (2024-11-19)
find_python_cmd() and is_python_sufficient() now run
normalizePath(mustWork = FALSE) on potential python binary paths.
is_python_sufficient() now uses system2() instead of system().
findpython 1.0.8 (2023-03-14)
- Looks for more python binaries (Python 3.13 through 3.20).
This will help future-proof the package for later Python releases.
findpython 1.0.7 (2021-01-27)
- Looks for more python binaries (Python 3.10 through 3.12).
findpython 1.0.5 (2019-03-08)
- Minor internal refactoring and documentation improvements.
findpython 1.0.4 (2018-11-29)
- No longer throws an unintended error when can't find a suitable python command AND
reticulate package is not installed.
findpython 1.0.3 (2017-12-01)
- Uses
reticulate::py_discover_config() to find more python
binaries if can't otherwise find a suitable python command.
findpython 1.0.2 (2017-03-15)
- Looks for more python binaries and likely folders in Windows (i.e. Python 3.5 through Python 3.9).
Thanks Jori Liesenborgs for request.
findpython 1.0.1 (2014-04-03)
- Initial released version on CRAN.