14
0

- update to 2.0.2:

* Removed support for null-bytes in the path when making a
    request for a file
  * Backward Incompatibilities - Requests to a static_view are no
    longer allowed to contain a null-byte in any
    usage to .daemon = True.
  * The authentication and authorization policies of Pyramid 1.x have been
    merged into a single security policy in Pyramid 2.0. New security APIs
  * It is now possible to control whether a route pattern contains
  * Deprecated the authentication and authorization interfaces and
    principal-based support.
  * Deprecated several ACL-related aspects of pyramid.security. Equivalent
- Remove python2 support, due to pyton-venusian being only python3
- use the PyPI tarball instead of github
    This should mitigate attacks from Flash (See CVE-2014-4671).
  * Fix regression where pserve --reload would not work when running as a daemon.
    command, introduced the method column for displaying available request methods, and
    improved the view output by showing the module instead of just __repr__.
    tables creation.  See https://github.com/Pylons/pyramid/pull/1049.  Backport
    http-related exceptions when you wanted that exception view to override the
  + When the ``pyramid.reload_templates`` setting was true, and a Chameleon
    template was reloaded, and the renderer specification named a macro
    was reloaded due to a file change would produce the entire template body
    instead of just a rendering of the macro.  See
  + Fix an obscure problem when combining a virtual root with a route with a

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyramid?expand=0&rev=49
This commit is contained in:
2024-01-02 21:18:37 +00:00
committed by Git OBS Bridge
parent 5b8a336081
commit 793def3df8
4 changed files with 36 additions and 25 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fabfd745039e26ad5b0915fc396e8725c0f8a3d17b941f9611ecd1ed76cfe7da
size 2635286

3
pyramid-2.0.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:372138a738e4216535cc76dcce6eddd5a1aaca95130f2354fb834264c06f18de
size 2637533

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Jan 2 21:17:44 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.0.2:
* Removed support for null-bytes in the path when making a
request for a file
* Backward Incompatibilities - Requests to a static_view are no
longer allowed to contain a null-byte in any
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 11 08:51:18 UTC 2023 - ecsos <ecsos@opensuse.org> Sun Jun 11 08:51:18 UTC 2023 - ecsos <ecsos@opensuse.org>
@@ -20,7 +29,7 @@ Mon Feb 20 05:45:21 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
have been deprecated in Python's gettext module since 3.8, and removed have been deprecated in Python's gettext module since 3.8, and removed
in Python 3.11. in Python 3.11.
* Avoid setDaemon(True) deprecation warning by updating threading API * Avoid setDaemon(True) deprecation warning by updating threading API
usage to .daemon = True. usage to .daemon = True.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 2 11:21:49 UTC 2021 - Markéta Machová <mmachova@suse.com> Mon Aug 2 11:21:49 UTC 2021 - Markéta Machová <mmachova@suse.com>
@@ -28,17 +37,17 @@ Mon Aug 2 11:21:49 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Update to 2.0 - Update to 2.0
* Add Python 3.8 and 3.9 * Add Python 3.8 and 3.9
* Drop Python 2.7, 3.4 and 3.5 * Drop Python 2.7, 3.4 and 3.5
* The authentication and authorization policies of Pyramid 1.x have been * The authentication and authorization policies of Pyramid 1.x have been
merged into a single security policy in Pyramid 2.0. New security APIs merged into a single security policy in Pyramid 2.0. New security APIs
have been added. have been added.
* It is now possible to control whether a route pattern contains * It is now possible to control whether a route pattern contains
a trailing slash. a trailing slash.
* pcreate and the builtin scaffolds have been removed in favor of * pcreate and the builtin scaffolds have been removed in favor of
using the cookiecutter tool and the pyramid-cookiecutter-starter using the cookiecutter tool and the pyramid-cookiecutter-starter
cookiecutter. cookiecutter.
* Deprecated the authentication and authorization interfaces and * Deprecated the authentication and authorization interfaces and
principal-based support. principal-based support.
* Deprecated several ACL-related aspects of pyramid.security. Equivalent * Deprecated several ACL-related aspects of pyramid.security. Equivalent
objects should now be imported from the pyramid.authorization module. objects should now be imported from the pyramid.authorization module.
------------------------------------------------------------------- -------------------------------------------------------------------
@@ -59,7 +68,7 @@ Tue Mar 17 10:42:38 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 15 19:47:10 UTC 2020 - Bruno Friedmann <bruno@ioda-net.ch> Sun Mar 15 19:47:10 UTC 2020 - Bruno Friedmann <bruno@ioda-net.ch>
- Remove python2 support, due to pyton-venusian being only python3 - Remove python2 support, due to pyton-venusian being only python3
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 21 08:13:38 UTC 2019 - pgajdos@suse.com Fri Jun 21 08:13:38 UTC 2019 - pgajdos@suse.com
@@ -268,7 +277,7 @@ Sun Jul 16 08:31:15 UTC 2017 - aloisio@gmx.com
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 5 18:43:19 UTC 2016 - hpj@urpla.net Tue Jan 5 18:43:19 UTC 2016 - hpj@urpla.net
- use the PyPI tarball instead of github - use the PyPI tarball instead of github
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 5 14:31:05 UTC 2016 - hpj@urpla.net Tue Jan 5 14:31:05 UTC 2016 - hpj@urpla.net
@@ -282,7 +291,7 @@ Thu Jul 30 14:16:47 UTC 2015 - hpj@urpla.net
- 1.5.7 (2015-04-28) - 1.5.7 (2015-04-28)
* Further fix the JSONP renderer by prefixing the returned content with a comment. * Further fix the JSONP renderer by prefixing the returned content with a comment.
This should mitigate attacks from Flash (See CVE-2014-4671). This should mitigate attacks from Flash (See CVE-2014-4671).
See https://github.com/Pylons/pyramid/pull/1648 See https://github.com/Pylons/pyramid/pull/1648
* Allow periods and brackets ([]) in the JSONP callback. The original fix was * Allow periods and brackets ([]) in the JSONP callback. The original fix was
overly-restrictive and broke Angular. See https://github.com/Pylons/pyramid/pull/1648 overly-restrictive and broke Angular. See https://github.com/Pylons/pyramid/pull/1648
@@ -296,7 +305,7 @@ Thu Jul 30 14:16:47 UTC 2015 - hpj@urpla.net
https://github.com/Pylons/pyramid/pull/1626 https://github.com/Pylons/pyramid/pull/1626
- 1.5.4 (2015-02-24) - 1.5.4 (2015-02-24)
* Fix regression where pserve --reload would not work when running as a daemon. * Fix regression where pserve --reload would not work when running as a daemon.
Backported from https://github.com/Pylons/pyramid/pull/1592 Backported from https://github.com/Pylons/pyramid/pull/1592
- 1.5.3 (2015-02-22) - 1.5.3 (2015-02-22)
@@ -305,8 +314,8 @@ Thu Jul 30 14:16:47 UTC 2015 - hpj@urpla.net
* Fixed a failing unittest caused by differing mimetypes on various OS platforms. * Fixed a failing unittest caused by differing mimetypes on various OS platforms.
See https://github.com/Pylons/pyramid/issues/1405 See https://github.com/Pylons/pyramid/issues/1405
* Overall improvments for the proutes command. Added --format and --glob arguments to the * Overall improvments for the proutes command. Added --format and --glob arguments to the
command, introduced the method column for displaying available request methods, and command, introduced the method column for displaying available request methods, and
improved the view output by showing the module instead of just __repr__. improved the view output by showing the module instead of just __repr__.
See: https://github.com/Pylons/pyramid/pull/1542 See: https://github.com/Pylons/pyramid/pull/1542
* The pyramid.renderers.JSONP renderer would raise an exception if used without a request * The pyramid.renderers.JSONP renderer would raise an exception if used without a request
object. It will now fallback to behave like the pyramid.renderers.JSON renderer if object. It will now fallback to behave like the pyramid.renderers.JSON renderer if
@@ -848,18 +857,18 @@ Sun Nov 24 21:13:45 UTC 2013 - p.drouand@gmail.com
- Update to version 1.4.5 - Update to version 1.4.5
+ The ``alchemy`` scaffold would break when the database was MySQL during + The ``alchemy`` scaffold would break when the database was MySQL during
tables creation. See https://github.com/Pylons/pyramid/pull/1049. Backport tables creation. See https://github.com/Pylons/pyramid/pull/1049. Backport
from master. from master.
+ It was not possible to use ``pyramid.httpexceptions.HTTPException`` as + It was not possible to use ``pyramid.httpexceptions.HTTPException`` as
the ``context`` of an exception view as very general catchall for the ``context`` of an exception view as very general catchall for
http-related exceptions when you wanted that exception view to override the http-related exceptions when you wanted that exception view to override the
default exception view. See https://github.com/Pylons/pyramid/issues/985. default exception view. See https://github.com/Pylons/pyramid/issues/985.
Backport from master. Backport from master.
+ When the ``pyramid.reload_templates`` setting was true, and a Chameleon + When the ``pyramid.reload_templates`` setting was true, and a Chameleon
template was reloaded, and the renderer specification named a macro template was reloaded, and the renderer specification named a macro
(e.g. ``foo#macroname.pt``), renderings of the template after the template (e.g. ``foo#macroname.pt``), renderings of the template after the template
was reloaded due to a file change would produce the entire template body was reloaded due to a file change would produce the entire template body
instead of just a rendering of the macro. See instead of just a rendering of the macro. See
https://github.com/Pylons/pyramid/issues/1013. Backport from master. https://github.com/Pylons/pyramid/issues/1013. Backport from master.
+ Fixed a Mako renderer bug returning a tuple with a previous defname value + Fixed a Mako renderer bug returning a tuple with a previous defname value
in some circumstances. See https://github.com/Pylons/pyramid/issues/1037 for in some circumstances. See https://github.com/Pylons/pyramid/issues/1037 for
@@ -867,7 +876,7 @@ Sun Nov 24 21:13:45 UTC 2013 - p.drouand@gmail.com
+ Make ``pserve.cherrypy_server_runner`` Python 3 compatible. See + Make ``pserve.cherrypy_server_runner`` Python 3 compatible. See
https://github.com/Pylons/pyramid/issues/718. Backport from master. https://github.com/Pylons/pyramid/issues/718. Backport from master.
- Changes from version 1.4.4 - Changes from version 1.4.4
+ Fix an obscure problem when combining a virtual root with a route with a + Fix an obscure problem when combining a virtual root with a route with a
``*traverse`` in its pattern. Now the traversal path generated in ``*traverse`` in its pattern. Now the traversal path generated in
such a configuration will be correct, instead of an element missing such a configuration will be correct, instead of an element missing
a leading slash. a leading slash.

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyramid # spec file for package python-pyramid
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# Copyright (c) 2014-2017 LISA GmbH, Bingen, Germany. # Copyright (c) 2014-2017 LISA GmbH, Bingen, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pyramid Name: python-pyramid
Version: 2.0.1 Version: 2.0.2
Release: 0 Release: 0
Summary: The Pyramid web application development framework 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
@@ -68,6 +68,8 @@ It was previously known as repoze.bfg (http://bfg.repoze.org).
# NOTE: The documentation in the docs/ directory is under a # NOTE: The documentation in the docs/ directory is under a
# non-free license (CC-BY-NC-SA-3.0). Do not package it. # non-free license (CC-BY-NC-SA-3.0). Do not package it.