Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit python-Beaker for openSUSE:Factory
Hello community,

here is the log from the commit of package python-Beaker for openSUSE:Factory
checked in at 2019-04-05 12:01:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Beaker (Old)
and /work/SRC/openSUSE:Factory/.python-Beaker.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Beaker"

Fri Apr 5 12:01:06 2019 rev:22 rq:690384 version:1.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Beaker/python-Beaker.changes
2017-09-12 19:39:06.340486850 +0200
+++ /work/SRC/openSUSE:Factory/.python-Beaker.new.3908/python-Beaker.changes
2019-04-05 12:03:33.138589257 +0200
@@ -1,0 +2,19 @@
+Mon Apr 1 13:36:58 UTC 2019 - Matej Cepl <mcepl@xxxxxxxx>
+
+- Ignore test_database tests to avoid gh#bbangert/beaker#172
+
+-------------------------------------------------------------------
+Fri Mar 1 09:08:58 UTC 2019 - Tomáš Chvátal <tchvatal@xxxxxxxx>
+
+- Update to 1.10.1:
+ * Fix issue with Redis namespace manager TTL
+ * Fix for SameSite cookie option not being set in some cases
+ * Fix for memcached tests on Python3
+ * Redis namespace manager now supports providing a TTL for session entries
that had a ``timeout`` provided.
+ This will remove the need to manually clear expired sessions from the
redis storage.
+ * ``nsscrypto`` backend is now properly identified as providing AES support.
+ * When a crypto backend doesn't support AES it will no longer crash if the
``encrypt_key`` is ``None``.
+ * Session cookies will now provide support for ``SameSite`` through the
``samesite`` option.
+ By default this will be ``Lax``, but can be set to ``Strict`` or ``None``
to disable it.
+
+-------------------------------------------------------------------

Old:
----
Beaker-1.9.0.tar.gz

New:
----
1.10.1.tar.gz

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

Other differences:
------------------
++++++ python-Beaker.spec ++++++
--- /var/tmp/diff_new_pack.PwISbr/_old 2019-04-05 12:03:33.906589530 +0200
+++ /var/tmp/diff_new_pack.PwISbr/_new 2019-04-05 12:03:33.910589531 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-Beaker
#
-# Copyright (c) 2017 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
@@ -12,26 +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 oldpython python
-# Test files not in source archive
-%bcond_with test
Name: python-Beaker
-Version: 1.9.0
+Version: 1.10.1
Release: 0
Summary: A Session and Caching library with WSGI Middleware
License: BSD-3-Clause
Group: Development/Languages/Python
-Url: https://github.com/bbangert/beaker
-Source:
https://files.pythonhosted.org/packages/source/B/Beaker/Beaker-%{version}.tar.gz
-BuildRequires: %{python_module setuptools}
-BuildRequires: fdupes
-BuildRequires: python-rpm-macros
-%if %{with test}
+URL: https://github.com/bbangert/beaker
+Source: https://github.com/bbangert/beaker/archive/%{version}.tar.gz
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module WebTest}
BuildRequires: %{python_module coverage}
@@ -40,20 +34,26 @@
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pycryptodome}
BuildRequires: %{python_module pylibmc}
-BuildRequires: %{python_module python-memcached}
BuildRequires: %{python_module pymongo}
+BuildRequires: %{python_module python-memcached}
BuildRequires: %{python_module redis}
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
BuildRequires: python-funcsigs
-%endif
+BuildRequires: python-rpm-macros
+BuildRequires: python3-dbm
Requires: python-pylibmc
Requires: python-python-memcached
Recommends: python-SQLAlchemy
Recommends: python-cryptography
-Recommends: python-pycryptopp >= 0.5.12
Recommends: python-pycrypto
+Recommends: python-pycryptopp >= 0.5.12
Recommends: python-pymongo
Recommends: python-redis
BuildArch: noarch
+%ifpython3
+Requires: python3-dbm
+%endif
%ifpython2
Requires: python-funcsigs
Provides: %{oldpython}-beaker = %{version}
@@ -93,7 +93,11 @@
* Fine-grained toggling of back-ends, keys, and expiration per Cache object

%prep
-%setup -q -n Beaker-%{version}
+%setup -q -n beaker-%{version}
+# needs mongo and redis running
+rm -r tests/test_managers
+rm tests/test_memcached.py
+rm tests/test_cachemanager.py

%build
%python_build
@@ -102,14 +106,15 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

-%if %{with test}
%check
-%python_exec setup.py test
-%endif
+%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
+# gh#bbangert/beaker#172
+%python_expand nosetests-%{$python_bin_suffix} -v -I 'test_database' tests
+}

%files %{python_files}
-%defattr(-,root,root,-)
-%doc README.rst
+%license LICENSE
+%doc README.rst CHANGELOG
%{python_sitelib}/beaker/
%{python_sitelib}/Beaker-%{version}-py*.egg-info


++++++ Beaker-1.9.0.tar.gz -> 1.10.1.tar.gz ++++++
++++ 6761 lines of diff (skipped)


< Previous Next >
This Thread