Hello community, here is the log from the commit of package python-rpy2 for openSUSE:Factory checked in at 2019-11-28 10:15:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-rpy2 (Old) and /work/SRC/openSUSE:Factory/.python-rpy2.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rpy2" Thu Nov 28 10:15:11 2019 rev:7 rq:751407 version:3.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-rpy2/python-rpy2.changes 2019-07-26 12:42:45.525845698 +0200 +++ /work/SRC/openSUSE:Factory/.python-rpy2.new.26869/python-rpy2.changes 2019-11-28 10:15:49.923638207 +0100 @@ -1,0 +2,89 @@ +Wed Nov 27 16:05:54 UTC 2019 - Todd R <[email protected]> + +- Update to version 3.2.2 + + Bugs fixed + * Python format error when trying to report that the system is not reported + on Windows. + * The setup script would error on build if R is not installed. It is now + printing an error message. +- Update to version 3.2.1 + + Bugs fixed + * The wrapper for the R package `dbplyr` could not import the underlying + package (refactoring elsewhere was not propagated there). + * Creating R objects called `names` `globalenv` caused the method + :meth:`Sexp.names` to fail. + * Whenever the pandas conversion was activated :class:`FloatSexpVector` instances + with the R class `POSIXct` attached where not corrected mapped back to pandas + datetime arrays.. + * Fix installation when an installation when a prefix without write access is used. +- Update to version 3.2.0 + + New features + * rpy2 can built and used with :mod:`cffi`'s ABI or API modes (releases 3.0.x and + 3.1.x were using the ABI mode exclusively). At the time of writing the default + is still the ABI mode but the choice can be controlled through the environment variable + `RPY2_CFFI_MODE`. If set, possible values are `ABI` (default if the environment + variable is not set), `API`, or `BOTH`. When the latter, both `API` and `ABI` + modes are built, and the choice of which one to use can be made at run time. + + Changes + * The "consoleread" callback (reading input to the R console) is now assuming UTF-8 + (was previously assuming ASCII) and is no longer trying to add a "new line" character + at the end of the input. + * Querying an R environment with an invalid key will generate a :class:`TypeError` + or a :class:`ValueError` depending on the issue (rather than always :class:`ValueError` + before. + + Bugs fixed + * `setup.py` is now again compatible with Python2. + * Unit tests were failing if numpy is not installed. + * :mod:`rpy2.situation` is no longer breaking when R is not the in path and + there is no environment variable `R_HOME`. + * Build script for the cffi interface is now using the environment + variable `R_HOME` whenever defined (rather that always infer it from the + R in the PATH). + * Converting R strings back to Python was incorrectly using `Latin1` while `UTF-8` was + intended. +- Update to version 3.1.0 + + New features + * Python matrix multiplication (`__matmul__` / `@`) added to + R :class:`Matrix` objects. + * An :class:`threading.RLock` is added to :mod:`rpy2.rinterface_lib.openrlib` and is + used by the context manager :func:`rpy2.rinterface_lib.memorymanagement.rmemory` + to ensure that protect/unprotect cycles cannot be broken by thread switching, at least + as long as the context manager is used to handle such cycles (see issue #571). + * The documentation covers the use of notebooks (mainly Jupyter/Jupyterlab). + * The PNG output in Jupyter notebooks R cells can now specify an argument `--type` + (passed as the named argument `type` in the R function `png`). + For example on some Linux systems and R installations, the type `cairo` + can fix issues when alpha transparency is used. + + Changes + * Added callbacks for `ptr_R_Busy()` and `ptr_R_ProcessEvents()`. + * `rstart` now an objects in :mod:`rpy2.rinterface_lib.embedded` + (set to `None` until R is initialized). + * Unit tests are included in a subpackage :mod:`rpy2.tests` as was the + case before release 3.0.0. + * Experimental initialization for Microsoft Windows. + * :mod:`rpy2.situation` is now also reporting the rpy2 version. + * :func:`rpy2.robjecs.package_utils.default_symbol_check_after` was + renamed :func:`rpy2.robjecs.package_utils.default_symbol_resolve`. + The named parameters `default_symbol_check_after` present in few methods + in :mod:`rpy2.robjects.packages` and :mod:`rpy2.robjects.functions` were + modified to keep a consistent naming. + * Trying to instantiate an :class:`rpy2.rlike.container.OrdDict` with a + a :class:`dict` will result in a :class:`TypeError` rather than a + :class:`ValueError`. + * Methods of :class:`rpy2.rlike.container.OrdDict` now raises a + :class:`NotImplementedError` when not implemented. + * The creation of R vectors from Python sequences is now relying on a method + :meth:`_populate_r_vector` that allows vectorized implementation to + to improve speed. + * Continuous integration tests run against Python 3.6, 3.7, and 3.8. It is + no longer checked against Python 3.5. + + Bugs fixed + * `aes` in :mod:`rpy2.robjects.lib.ggplot2` had stopped working with the + R package ggplot2 reaching version 3.2.0.. + * Better handling of recent :mod:`pandas` arrays with missing values. + * The mapping of the R operator `%in%` reachable through the attribute `ro` + of R vectors was always returning `True`. It is now working properly. + * R POSIXct vectors with `NA` dates were triggering an error when converted + in a data frame converted to :mod:`pandas`. + +------------------------------------------------------------------- Old: ---- rpy2-3.0.5.tar.gz New: ---- rpy2-3.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-rpy2.spec ++++++ --- /var/tmp/diff_new_pack.yiU27N/_old 2019-11-28 10:15:51.431638222 +0100 +++ /var/tmp/diff_new_pack.yiU27N/_new 2019-11-28 10:15:51.467638223 +0100 @@ -12,21 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-rpy2 -Version: 3.0.5 +Version: 3.2.2 Release: 0 Summary: A Python interface to the R Programming Language License: GPL-2.0-or-later -Group: Development/Libraries/Python -Url: https://bitbucket.org/rpy2/rpy2 +URL: https://bitbucket.org/rpy2/rpy2 Source: https://files.pythonhosted.org/packages/source/r/rpy2/rpy2-%{version}.tar.gz -BuildRequires: %{python_module cffi >= 1.0.0} +BuildRequires: %{python_module cffi >= 1.13.1} BuildRequires: %{python_module numpy} BuildRequires: %{python_module setuptools} BuildRequires: R-base >= 3.2 @@ -35,11 +34,10 @@ BuildRequires: texinfo BuildRequires: texlive-latex Requires: R-base >= 2.12 -Requires: python-cffi >= 1.0.0 +Requires: python-cffi >= 1.13.1 Requires: python-numpy Requires: readline BuildArch: noarch - %python_subpackages %description @@ -52,7 +50,7 @@ This code is inspired by RSPython from the Omegahat project. %prep -%setup -qn rpy2-%{version} +%setup -q -n rpy2-%{version} sed -i 's/\r$//' README.rst %build @@ -77,7 +75,7 @@ %license gpl-2.0.txt %{python_sitelib}/rpy2/ %{python_sitelib}/rpy2-%{version}-py*.egg-info -%pycache_only %{python_sitelib}/__pycache__/_rinterface_cffi*.pyc* -%{python_sitelib}/_rinterface_cffi.py* +%pycache_only %{python_sitelib}/__pycache__/_rinterface*.py* +%{python_sitelib}/_rinterface*.py* %changelog ++++++ rpy2-3.0.5.tar.gz -> rpy2-3.2.2.tar.gz ++++++ ++++ 32316 lines of diff (skipped)
