Hello community,

here is the log from the commit of package python-rpy2 for openSUSE:Factory 
checked in at 2019-07-26 12:42:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rpy2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-rpy2.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rpy2"

Fri Jul 26 12:42:44 2019 rev:6 rq:718616 version:3.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rpy2/python-rpy2.changes  2018-12-04 
20:55:40.160763355 +0100
+++ /work/SRC/openSUSE:Factory/.python-rpy2.new.4126/python-rpy2.changes        
2019-07-26 12:42:45.525845698 +0200
@@ -1,0 +2,81 @@
+Thu Jul 25 17:54:48 UTC 2019 - Todd R <toddrme2...@gmail.com>
+
+- Update to Release 3.0.5
+  + Bugs fixed
+    * No longer allow installation if Python 3 but < 3.5.
+    * Fixed error `undefined symbol: DATAPTR` if R < 3.5.
+- Update to Release 3.0.4
+  + Bugs fixed
+    * Fixed conversion of `pandas` :class:`Series` of dtype 
`pandas.Int32Dtype`,
+      or `pandas.Int64Dtype`.
+- Update to Release 3.0.3
+  + Bugs fixed
+    * Fixed the evaluation of R code using the "R magic" was delaying all
+      output to the end of the execution of that code, independently of
+      whether the attribute `cache_display_data` was `True` or `False`.
+    * Fixed conversion of :class:`pandas.Series` of `dtype` "object" when
+      all items are either all of the same type or are :obj:`None`.
+- Update to Release 3.0.2
+  + Bugs fixed
+    * Failing to import `pandas` or `numpy` when loading the "R magic" 
extension
+      for jupyter/ipython was hiding the cause of the error in the 
`ImportError`
+      exception.
+    * Fallback when an R `POSIXct` vector does not had an attribute `"tzone"`.
+    * Callback for console reset was not set during R initialization.
+    * Fixed rternalized function returning rpy2 objects.
+    * `--vanilla` is no longer among the default options used to initialize R.
+- Update to Release 3.0.1
+  + Bugs fixed
+    * Script to install R packages for docker image never made it to version
+      control.
+    * Conversion of R arrays/matrices into numpy object trigged a segfault
+      during garbage collection.
+- Update to Release 3.0.0
+  + New features
+    * rpy2 can be installed without a development environment.
+    * Unit tests are now relying on the Python module `pytest`.
+    * :attr:`rpy2.rinterface.NA_Integer` is now only defined when the embedded 
R
+      is initialized.
+  + Changes
+    * complete rewrite of :mod:`rpy2.rinterface`.
+      :mod:`cffi` is now used to interface with the R compiled shared library.
+      This allows ABI calls and removes the need to compile binaries. However, 
if
+      compilation is available (when installing or preparing pre-compiled 
binaries)
+      faster implementations of performance bottlenecks will be available.
+    * calling :func:`rpy2.rinterface.endr` multiple times is now only ending R
+      the first time it is called (note: an ended R cannot successfully be
+      re-initialized).
+    * The conversion system in the mod:`rpy2.robjects.conversion` now has only
+      two conversions `py2rpy` and rpy2py`. `py2rpy` tries to convert any
+      Python object into an object rpy2 can use with R and `rpy2py` tries
+      to convert any rpy2 object into a either a non-rpy2 Python object or
+      a mod:`rpy2.robjects` level object.
+    * The method `get` for R environments is now called `find()` to avoid
+      confusion with the method of the same name in Python (:meth:`dict.get`).
+    * :class:`rpy2.robjects.vectors.Vector`, 
:class:`rpy2.robjects.vectors.Matrix`,
+      and :class:`rpy2.robjects.vectors.Array` can no longer be used to create
+      R arrays of unspecified type. New type-specific classes (for example for
+      vectors :class:`rpy2.robjects.vectors.IntVector`,
+      :class:`rpy2.robjects.vectors.BoolVector`,
+      :class:`rpy2.robjects.vectors.FloatVector`,
+      :class:`rpy2.robjects.vectors.ComplexVector`, or
+      :class:`rpy2.robjects.vectors.StrVector`) should be used instead.
+    * mod:`rpy2.rpy_classic`, an implementation of the `rpy` interface using
+      :mod:`rpy2.rinterface` is no longer available.
+    * :class:`rpy2.robjects.ParsedCode` and
+      :class:`rpy2.robjects.SourceCode` are moved to
+      :class:`rpy2.robjects.packages.ParsedCode` and
+      :class:`rpy2.robjects.packages.SourceCode`.
+  + Bugs fixed
+    * Row names in R data frames were lost when converting to pandas data 
frames.
+  + Known issues
+    * Mismatch between R's POSIXlt `wday` and Python time struct_time's 
`tm_wday`.
+- Update to Release 2.9.6
+  + Bugs fixed
+    * Latest release of :mod:`pandas` deprecated :meth:`DataFrame.from_items`.
+    * Latest release of :mod:`pandas` requires categories to be a list
+      (not an other sequence).
+  + Known issues
+    * The numpy buffer implemented by R arrays is broken for complex numbers
+
+-------------------------------------------------------------------

Old:
----
  rpy2-2.9.5.tar.gz

New:
----
  rpy2-3.0.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-rpy2.spec ++++++
--- /var/tmp/diff_new_pack.oD6bn0/_old  2019-07-26 12:42:46.461845296 +0200
+++ /var/tmp/diff_new_pack.oD6bn0/_new  2019-07-26 12:42:46.461845296 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rpy2
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,33 +18,27 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
-%bcond_with     test
 Name:           python-rpy2
-Version:        2.9.5
+Version:        3.0.5
 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
 Source:         
https://files.pythonhosted.org/packages/source/r/rpy2/rpy2-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module numpy-devel}
+BuildRequires:  %{python_module cffi >= 1.0.0}
+BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  R-base >= 3.2
-BuildRequires:  R-base-devel >= 3.2
 BuildRequires:  fdupes
-BuildRequires:  libbz2-devel
-BuildRequires:  libicu-devel
-BuildRequires:  pcre-devel
 BuildRequires:  python-rpm-macros
-BuildRequires:  readline-devel
 BuildRequires:  texinfo
 BuildRequires:  texlive-latex
-BuildRequires:  xz-devel
-BuildRequires:  zlib-devel
 Requires:       R-base >= 2.12
+Requires:       python-cffi >= 1.0.0
 Requires:       python-numpy
 Requires:       readline
+BuildArch:      noarch
 
 %python_subpackages
 
@@ -67,28 +61,23 @@
 
 %install
 %python_install
-%{python_expand chmod a+x %{buildroot}%{$python_sitearch}/rpy2/tests.py
-sed -i "s|^#!/usr/bin/env python$|#!%__$python|" 
%{buildroot}%{$python_sitearch}/rpy2/tests.py
-$python -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/rpy2/
-$python -O -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/rpy2/
-%fdupes %{buildroot}%{$python_sitearch}
-}
-
-%if %{with test}
-%check
-mkdir -p tester
-pushd tester
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
-$python -B -m rpy2.tests
-}
-popd
-%endif
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+# Test files have been removed
+# %%check
+# mkdir -p tester
+# pushd tester
+# %%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
+# $python -B -m rpy2.tests
+# }
+# popd
 
 %files %{python_files}
-%defattr(-,root,root)
 %doc AUTHORS NEWS README.rst
 %license gpl-2.0.txt
-%{python_sitearch}/rpy2/
-%{python_sitearch}/rpy2-%{version}-py*.egg-info
+%{python_sitelib}/rpy2/
+%{python_sitelib}/rpy2-%{version}-py*.egg-info
+%pycache_only %{python_sitelib}/__pycache__/_rinterface_cffi*.pyc*
+%{python_sitelib}/_rinterface_cffi.py*
 
 %changelog

++++++ rpy2-2.9.5.tar.gz -> rpy2-3.0.5.tar.gz ++++++
++++ 30100 lines of diff (skipped)


Reply via email to