* 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
* Add support for Python 3.10 and 3.11.
* Copy __name__ from decorated attribute when using pyramid.decorator.reify.
* Fix method signatures in docs for
pyramid.config.Configurator.add_static_view and
pyramid.config.Configurator.override_asset.
* Remove obsolete stackframe hack used in Python 3.5.0 when showing
configurator conflict errors.
* Fix an error when injecting certain objects into the pshell env due to
the use of !=.
* Pyramid drops support for l*gettext() methods in the i18n module. These
have been deprecated in Python's gettext module since 3.8, and removed
in Python 3.11.
* Avoid setDaemon(True) deprecation warning by updating threading API
usage to .daemon = True.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyramid?expand=0&rev=45
- Update to 2.0
* Add Python 3.8 and 3.9
* Drop Python 2.7, 3.4 and 3.5
* The authentication and authorization policies of Pyramid 1.x have been
merged into a single security policy in Pyramid 2.0. New security APIs
have been added.
* It is now possible to control whether a route pattern contains
a trailing slash.
* pcreate and the builtin scaffolds have been removed in favor of
using the cookiecutter tool and the pyramid-cookiecutter-starter
cookiecutter.
* Deprecated the authentication and authorization interfaces and
principal-based support.
* Deprecated several ACL-related aspects of pyramid.security. Equivalent
objects should now be imported from the pyramid.authorization module.
OBS-URL: https://build.opensuse.org/request/show/909944
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyramid?expand=0&rev=44
- Update to version 1.4.5
+ The ``alchemy`` scaffold would break when the database was MySQL during
tables creation. See https://github.com/Pylons/pyramid/pull/1049. Backport
from master.
+ It was not possible to use ``pyramid.httpexceptions.HTTPException`` as
the ``context`` of an exception view as very general catchall for
http-related exceptions when you wanted that exception view to override the
default exception view. See https://github.com/Pylons/pyramid/issues/985.
Backport from master.
+ When the ``pyramid.reload_templates`` setting was true, and a Chameleon
template was reloaded, and the renderer specification named a macro
(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
instead of just a rendering of the macro. See
https://github.com/Pylons/pyramid/issues/1013. Backport from master.
+ 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
more information. Backport from master.
+ Make ``pserve.cherrypy_server_runner`` Python 3 compatible. See
https://github.com/Pylons/pyramid/issues/718. Backport from master.
- Changes from version 1.4.4
+ Fix an obscure problem when combining a virtual root with a route with a
``*traverse`` in its pattern. Now the traversal path generated in
such a configuration will be correct, instead of an element missing
a leading slash.
OBS-URL: https://build.opensuse.org/request/show/208220
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyramid?expand=0&rev=13