commit python-patsy for openSUSE:Factory

2020-09-09 Thread root
Hello community,

here is the log from the commit of package python-patsy for openSUSE:Factory 
checked in at 2020-09-09 18:01:55

Comparing /work/SRC/openSUSE:Factory/python-patsy (Old)
 and  /work/SRC/openSUSE:Factory/.python-patsy.new.3399 (New)


Package is "python-patsy"

Wed Sep  9 18:01:55 2020 rev:5 rq:833202 version:0.5.1

Changes:

--- /work/SRC/openSUSE:Factory/python-patsy/python-patsy.changes
2018-11-01 14:44:32.570876581 +0100
+++ /work/SRC/openSUSE:Factory/.python-patsy.new.3399/python-patsy.changes  
2020-09-09 18:08:26.675553307 +0200
@@ -1,0 +2,15 @@
+Wed Sep  9 07:23:26 UTC 2020 - pgaj...@suse.com
+
+- provide pullrequest url to previous change
+
+---
+Tue Sep  8 12:58:21 UTC 2020 - pgaj...@suse.com
+
+- run tests
+- added patches
+  fix https://github.com/pydata/patsy/pull/162
+  + python-patsy-remove-nose.patch
+- added sources
+  + _multibuild
+
+---

New:

  _multibuild
  python-patsy-remove-nose.patch



Other differences:
--
++ python-patsy.spec ++
--- /var/tmp/diff_new_pack.67ekpO/_old  2020-09-09 18:08:28.999555425 +0200
+++ /var/tmp/diff_new_pack.67ekpO/_new  2020-09-09 18:08:29.003555429 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-patsy
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,8 +18,16 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 # Tests have dependency loop with pandas
-%bcond_with tests
-Name:   python-patsy
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define test 1
+%define pkg_suffix -test
+%bcond_without test
+%else
+%define pkg_suffix %{nil}
+%bcond_with test
+%endif
+Name:   python-patsy%{pkg_suffix}
 Version:0.5.1
 Release:0
 Summary:A Python package for statistical models and design matrices
@@ -27,6 +35,9 @@
 Group:  Development/Languages/Python
 URL:https://github.com/pydata/patsy
 Source: 
https://files.pythonhosted.org/packages/source/p/patsy/patsy-%{version}.tar.gz
+# patsy is EOL https://github.com/pydata/patsy/pull/162#issuecomment-688831172
+# https://github.com/pydata/patsy/pull/163
+Patch0: python-patsy-remove-nose.patch
 BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module scipy}
 BuildRequires:  %{python_module setuptools}
@@ -37,9 +48,11 @@
 Requires:   python-six
 Recommends: python-scipy
 BuildArch:  noarch
-%if %{with tests}
+%if %{with test}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module pandas}
+BuildRequires:  %{python_module patsy = %{version}}
+BuildRequires:  %{python_module pytest}
 %endif
 %python_subpackages
 
@@ -52,23 +65,30 @@
 
 %prep
 %setup -q -n patsy-%{version}
+%patch0 -p1
 
+%if !%{with test}
 %build
 %python_build
+%endif
 
+%if !%{with test}
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
-%if %{with tests}
+%if %{with test}
 %check
-%python_expand nosetests-%{$python_bin_suffix} --all-modules patsy
+%pytest
 %endif
 
+%if !%{with test}
 %files %{python_files}
 %license LICENSE.txt
 %doc README.rst
 %{python_sitelib}/patsy/
 %{python_sitelib}/patsy-%{version}-py*.egg-info
+%endif
 
 %changelog

++ _multibuild ++

  test

++ python-patsy-remove-nose.patch ++
 1398 lines (skipped)




commit python-patsy for openSUSE:Factory

2018-11-02 Thread root
Hello community,

here is the log from the commit of package python-patsy for openSUSE:Factory 
checked in at 2018-11-01 14:44:29

Comparing /work/SRC/openSUSE:Factory/python-patsy (Old)
 and  /work/SRC/openSUSE:Factory/.python-patsy.new (New)


Package is "python-patsy"

Thu Nov  1 14:44:29 2018 rev:4 rq:645867 version:0.5.1

Changes:

--- /work/SRC/openSUSE:Factory/python-patsy/python-patsy.changes
2018-01-13 21:48:34.091499387 +0100
+++ /work/SRC/openSUSE:Factory/.python-patsy.new/python-patsy.changes   
2018-11-01 14:44:32.570876581 +0100
@@ -1,0 +2,12 @@
+Thu Nov  1 06:38:50 UTC 2018 - Arun Persaud 
+
+- specfile:
+  * removed devel from noarch
+
+- update to version 0.5.1:
+  * The Python 3.6.7 and 3.7.1 point releases changed the standard
+tokenizer module in a way that broke patsy. Updated patsy to work
+with these point releases. (See `#131
+`__ for details.)
+
+---

Old:

  patsy-0.5.0.tar.gz

New:

  patsy-0.5.1.tar.gz



Other differences:
--
++ python-patsy.spec ++
--- /var/tmp/diff_new_pack.uZUYuA/_old  2018-11-01 14:44:32.930876545 +0100
+++ /var/tmp/diff_new_pack.uZUYuA/_new  2018-11-01 14:44:32.930876545 +0100
@@ -12,38 +12,35 @@
 # 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-%{**}}
 # Tests have dependency loop with pandas
 %bcond_with tests
-
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-patsy
-Version:0.5.0
+Version:0.5.1
 Release:0
 Summary:A Python package for statistical models and design matrices
 License:BSD-2-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/pydata/patsy
+URL:https://github.com/pydata/patsy
 Source: 
https://files.pythonhosted.org/packages/source/p/patsy/patsy-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module scipy}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with tests}
-BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module pandas}
-%endif
 Requires:   python-numpy
 Requires:   python-six
 Recommends: python-scipy
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
+%if %{with tests}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pandas}
+%endif
 %python_subpackages
 
 %description
@@ -69,8 +66,8 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc README.rst LICENSE.txt
+%license LICENSE.txt
+%doc README.rst
 %{python_sitelib}/patsy/
 %{python_sitelib}/patsy-%{version}-py*.egg-info
 

++ patsy-0.5.0.tar.gz -> patsy-0.5.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/patsy-0.5.0/PKG-INFO new/patsy-0.5.1/PKG-INFO
--- old/patsy-0.5.0/PKG-INFO2018-01-10 06:26:06.0 +0100
+++ new/patsy-0.5.1/PKG-INFO2018-10-28 04:58:19.0 +0100
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: patsy
-Version: 0.5.0
+Version: 0.5.1
 Summary: A Python package for describing statistical models and for building 
design matrices.
 Home-page: https://github.com/pydata/patsy
 Author: Nathaniel J. Smith
 Author-email: n...@pobox.com
 License: 2-clause BSD
-Description-Content-Type: UNKNOWN
 Description: Patsy is a Python library for describing statistical models
 (especially linear models, or models that have a linear component) and
 building design matrices. Patsy brings the convenience of `R
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/patsy-0.5.0/doc/changes.rst 
new/patsy-0.5.1/doc/changes.rst
--- old/patsy-0.5.0/doc/changes.rst 2018-01-10 03:37:36.0 +0100
+++ new/patsy-0.5.1/doc/changes.rst 2018-10-28 03:38:04.0 +0100
@@ -3,8 +3,20 @@
 
 .. currentmodule:: patsy
 
-v0.5.0 (not yet released)
--
+v0.5.1
+--
+
+* The Python 3.6.7 and 3.7.1 point releases changed the standard
+  tokenizer module in a way that broke patsy. Updated patsy to work
+  with these point releases. (See `#131
+  `__ for details.)
+
+
+v0.5.0
+--
+
+.. image:: 

commit python-patsy for openSUSE:Factory

2018-01-13 Thread root
Hello community,

here is the log from the commit of package python-patsy for openSUSE:Factory 
checked in at 2018-01-13 21:48:28

Comparing /work/SRC/openSUSE:Factory/python-patsy (Old)
 and  /work/SRC/openSUSE:Factory/.python-patsy.new (New)


Package is "python-patsy"

Sat Jan 13 21:48:28 2018 rev:3 rq:563778 version:0.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-patsy/python-patsy.changes
2017-05-08 19:03:49.237307687 +0200
+++ /work/SRC/openSUSE:Factory/.python-patsy.new/python-patsy.changes   
2018-01-13 21:48:34.091499387 +0100
@@ -1,0 +2,12 @@
+Thu Jan 11 23:53:17 UTC 2018 - a...@gmx.de
+
+- specfile:
+  * update copyirght year
+
+- update to version 0.5.0:
+  * Dropped support for Python 2.6 and 3.3.
+  * Update to keep up with "pandas" API changes
+  * More consistent handling of degenerate linear constraints in
+  * Fix a crash in "DesignMatrix.__repr__" when "shape[0] == 0"
+
+---

Old:

  patsy-0.4.1.zip

New:

  patsy-0.5.0.tar.gz



Other differences:
--
++ python-patsy.spec ++
--- /var/tmp/diff_new_pack.aU6Ez1/_old  2018-01-13 21:48:34.711470483 +0100
+++ /var/tmp/diff_new_pack.aU6Ez1/_new  2018-01-13 21:48:34.711470483 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-patsy
 #
-# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -15,26 +15,26 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 # Tests have dependency loop with pandas
 %bcond_with tests
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-patsy
-Version:0.4.1
+Version:0.5.0
 Release:0
 Summary:A Python package for statistical models and design matrices
 License:BSD-2-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/pydata/patsy
-Source: 
https://files.pythonhosted.org/packages/source/p/patsy/patsy-%{version}.zip
-BuildRequires:  fdupes
-BuildRequires:  unzip
-BuildRequires:  python-rpm-macros
+Source: 
https://files.pythonhosted.org/packages/source/p/patsy/patsy-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module scipy}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 %if %{with tests}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module pandas}




commit python-patsy for openSUSE:Factory

2017-05-08 Thread root
Hello community,

here is the log from the commit of package python-patsy for openSUSE:Factory 
checked in at 2017-05-08 19:02:51

Comparing /work/SRC/openSUSE:Factory/python-patsy (Old)
 and  /work/SRC/openSUSE:Factory/.python-patsy.new (New)


Package is "python-patsy"

Mon May  8 19:02:51 2017 rev:2 rq:492899 version:0.4.1

Changes:

--- /work/SRC/openSUSE:Factory/python-patsy/python-patsy.changes
2016-11-20 18:18:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-patsy.new/python-patsy.changes   
2017-05-08 19:03:49.237307687 +0200
@@ -1,0 +2,6 @@
+Sun May  8 07:03:49 UTC 2016 - a...@gmx.de
+
+- specfile:
+  * updated source url to files.pythonhosted.org
+
+---



Other differences:
--
++ python-patsy.spec ++
--- /var/tmp/diff_new_pack.IWVW8L/_old  2017-05-08 19:03:49.949207120 +0200
+++ /var/tmp/diff_new_pack.IWVW8L/_new  2017-05-08 19:03:49.957205989 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-patsy
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,7 +15,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+# Tests have dependency loop with pandas
+%bcond_with tests
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-patsy
 Version:0.4.1
 Release:0
@@ -24,21 +27,24 @@
 Group:  Development/Languages/Python
 Url:https://github.com/pydata/patsy
 Source: 
https://files.pythonhosted.org/packages/source/p/patsy/patsy-%{version}.zip
-BuildRequires:  python-devel
-BuildRequires:  python-numpy
-BuildRequires:  python-scipy
-BuildRequires:  python-setuptools
-BuildRequires:  python-six
+BuildRequires:  fdupes
 BuildRequires:  unzip
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module numpy-devel}
+BuildRequires:  %{python_module scipy}
+BuildRequires:  %{python_module six}
+%if %{with tests}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pandas}
+%endif
 Requires:   python-numpy
 Requires:   python-six
 Recommends: python-scipy
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 A Python package for describing statistical models and for
@@ -51,12 +57,18 @@
 %setup -q -n patsy-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%if %{with tests}
+%check
+%python_expand nosetests-%{$python_bin_suffix} --all-modules patsy
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README.rst LICENSE.txt
 %{python_sitelib}/patsy/





commit python-patsy for openSUSE:Factory

2016-11-20 Thread h_root
Hello community,

here is the log from the commit of package python-patsy for openSUSE:Factory 
checked in at 2016-11-20 18:18:18

Comparing /work/SRC/openSUSE:Factory/python-patsy (Old)
 and  /work/SRC/openSUSE:Factory/.python-patsy.new (New)


Package is "python-patsy"

Changes:

New Changes file:

--- /dev/null   2016-10-27 01:54:32.792041256 +0200
+++ /work/SRC/openSUSE:Factory/.python-patsy.new/python-patsy.changes   
2016-11-20 18:18:20.0 +0100
@@ -0,0 +1,94 @@
+---
+Sat Nov 14 21:08:57 UTC 2015 - a...@gmx.de
+
+- update to version 0.4.1:
+  * On Python 2, accept "unicode" strings containing only ASCII
+characters as valid formula descriptions in the high-level formula
+API (:func:`dmatrix` and friends). This is intended as a
+convenience for people using Python 2 with "from __future__
+import unicode_literals". (See :ref:`py2-versus-py3`.)
+  * Accept "long" as a valid integer type in the new
+:class:`DesignInfo` classes. In particular this fixes errors that
+arise on 64-bit Windows builds (where "ndarray.shape" contains
+"long" objects), like "ValueError: For numerical factors,
+num_columns must be an int."
+  * Fix deprecation warnings encountered with numpy 1.10
+
+---
+Wed Jul 22 12:04:39 UTC 2015 - toddrme2...@gmail.com
+
+- Update to version 0.4.0
+  + Incompatible changes:
+* :class:`EvalFactor` and :meth:`ModelDesc.from_formula` no longer
+  take an ``eval_env`` argument.
+* The :func:`design_matrix_builders` function and the
+  :meth:`factor_protocol.memorize_passes_needed` method now require an
+  ``eval_env`` as an additional argument.
+* The :class:`DesignInfo` constructor's arguments have totally
+  changed. In addition to the changes needed to support the new
+  features below, we no longer support "shim" DesignInfo objects that
+  have non-trivial term specifications. This was only included in the
+  first place to provide a compatibility hook for competing formula
+  libraries; four years later, no such libraries have shown up. If one
+  does, we can re-add it, but I'm not going to bother maintaining it
+  in the mean time...
+* Dropped support for Python 3.2.
+  + Other changes:
+* Patsy now supports Pandas's new (version 0.15 or later) categorical
+  objects.
+* Formulas (or more precisely, :class:`EvalFactor` objects) now only
+  keep a reference to the variables required from their environment
+  instead of the whole environment where the formula was
+  defined. (Thanks to Christian Hudon.)
+* :class:`DesignInfo` has new attributes
+  :attr:`DesignInfo.factor_infos` and :attr:`DesignInfo.term_codings`
+  which provide detailed metadata about how each factor and term is
+  encoded.
+* As a result of the above changes, the split between
+  :class:`DesignInfo` and :class:`DesignMatrixBuilder` is no longer
+  necessary; :class:`DesignMatrixBuiler` has been eliminated. So for
+  example, :func:`design_matrix_builders` now returns a list of
+  :class:`DesignInfo` objects, and you can now pass
+  :class:`DesignInfo` objects directly to any function for building
+  design matrices. For compatibility, :class:`DesignInfo` continues to
+  provide ``.builder`` and ``.design_info`` attributes, so that old
+  code should continue to work; however, these attributes are
+  deprecated.
+* Ensured that attempting to pickle most Patsy objects raises an
+  error. This has never been supported, and the interesting cases
+  failed in any case, but now we're taking a more systematic
+  approach. (Soon we will add real, supported pickling support.)
+* Fixed a bug when running under ``python -OO``.
+- update to version 0.3.0:
+  * New stateful transforms for computing natural and cylic cubic
+splines with constraints, and tensor spline bases with
+constraints. (Thanks to @broessli and GDF Suez for contributing
+this code.)
+  * Dropped support for Python 2.5 and earlier.
+  * Switched to using a single source tree for both Python 2 and
+Python 3.
+  * Added a fast-path to skip NA detection for inputs with boolean
+dtypes (thanks to Matt Davis for patch).
+  * Incompatible change: Sometimes when building a design matrix for a
+formula that does not depend on the data in any way, like "1 ~ 1",
+we have no way to determine how many rows the resulting matrix
+should have. In previous versions of patsy, when this occurred we
+simply returned a matrix with 1 row. In 0.3.0+, we instead refuse
+to guess, and raise an error.
+Note that because of the next change listed, this situation occurs less