14
0

Accepting request 711286 from home:pgajdos

- version update to 1.10.4
  Bugs fixed during 1.10
  ----------------------
  - Fix performance regression in ``pyramid.view.view_config`` decorator.
    See https://github.com/Pylons/pyramid/pull/3490
  - Add ``ignore_files`` option to ``[pserve]`` settings which will tell
    ``pserve`` to ignore certain files/globs when using ``--reload``.
    See https://github.com/Pylons/pyramid/pull/3464
  - Fix docs build for Sphinx 2.0.
    See https://github.com/Pylons/pyramid/pull/3481
  - Improve debugging info from ``pyramid.view.view_config`` decorator.
    See https://github.com/Pylons/pyramid/pull/3485
  - Fix a bug in ``pyramid.testing.DummySecurityPolicy`` in which
    ``principals_allowed_by_permission`` would return all principals instead
    of an empty list if ``permissive`` is ``False``.
    See https://github.com/Pylons/pyramid/pull/3450
  - Fix a bug in which ``pyramid.exceptions.ConfigurationConflictError`` may
    not render the appropriate error message on certain conflicts that were
    not sortable on Python 3 due to differing types.
    See https://github.com/Pylons/pyramid/pull/3457
  - Avoid configuring logging in the monitor process using the logging config
    intended for the application. This avoids opening files for writing in both
    processes which can cause issues on some systems.
    See https://github.com/Pylons/pyramid/pull/3460
  - Fix an issue when passing a duck-typed registry object into
    ``pyramid.testing.setUp(registry=...)`` in which the registry wasn't
    properly fixed prior to invoking actions.
    See https://github.com/Pylons/pyramid/pull/3418
  - Fix the ``pyramid.testing.DummyRequest`` to support the new
    ``request.accept`` API so that ``acceptable_offers`` is available even

OBS-URL: https://build.opensuse.org/request/show/711286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyramid?expand=0&rev=33
This commit is contained in:
2019-06-21 11:28:33 +00:00
committed by Git OBS Bridge
parent 089c3346b2
commit ef2de3debc
4 changed files with 187 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyramid
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014-2017 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -13,17 +13,17 @@
# 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-%{**}}
%bcond_without test
Name: python-pyramid
Version: 1.9.1
Version: 1.10.4
Release: 0
Summary: The Pyramid web application development framework
License: BSD-4-Clause and ZPL-2.1 and MIT
License: BSD-4-Clause AND ZPL-2.1 AND MIT
Group: Development/Languages/Python
Url: http://pylonsproject.org
Source0: https://files.pythonhosted.org/packages/source/p/pyramid/pyramid-%{version}.tar.gz
@@ -52,6 +52,7 @@ Requires: python-hupper
Requires: python-plaster
Requires: python-plaster-pastedeploy
Requires: python-repoze.lru >= 0.4
Requires: python-setuptools
Requires: python-translationstring >= 0.4
Requires: python-venusian >= 1.0
Requires: python-zope.deprecation >= 3.5.0
@@ -72,9 +73,6 @@ It was previously known as repoze.bfg (http://bfg.repoze.org).
%prep
%setup -q -n pyramid-%{version}
# fix inconsistent mtime error
touch -r pyramid/__init__.py pyramid/scaffolds/alchemy/+package+/scripts/__init__.py \
pyramid/scripts/__init__.py
%build
%python_build
@@ -93,7 +91,9 @@ done
%if %{with test}
%check
export LANG=en_US.UTF-8
%python_exec setup.py nosetests --with-coverage -vvv
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
$python setup.py nosetests --with-coverage -vvv
}
%endif
%post