File python-pecan.changes of Package python-pecan
-------------------------------------------------------------------
Mon May 22 11:27:36 UTC 2023 - Markéta Machová <mmachova@suse.com>
- add sqlalchemy2.patch to support SQLAlchemy 2.0
-------------------------------------------------------------------
Sat Jan 28 12:35:55 UTC 2023 - Dirk Müller <dmueller@suse.com>
- restore webtest dependency, needed by pecan.testing
-------------------------------------------------------------------
Tue Jul 19 11:55:24 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.4.2:
* pecan no longer depends on webtest
-------------------------------------------------------------------
Wed Apr 6 12:14:40 UTC 2022 - pgajdos@suse.com
- python-mock is not required for build
-------------------------------------------------------------------
Sat Dec 11 22:31:15 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.4.1:
* add support for Python 3.10
* added trove classifiers for Python 3.6 - 3.9
* fixed a bug related to setuptools as a dependency
* fixed a bug that broke pecan when used with certain
versions of SQLAlchemy
- drop 0001-Support-SQLAlchemy-1.4.x.patch,
0002-Fix-typo-from-bad-copy-paste.patch: obsolete (upstream)
-------------------------------------------------------------------
Tue Oct 5 14:24:02 UTC 2021 - Stefan Schubert <schubi@suse.de>
- Added BuildRequires: alts
-------------------------------------------------------------------
Fri Oct 1 09:26:15 UTC 2021 - Stefan Schubert <schubi@suse.de>
- Use libalternatives instead of update-alternatives.
-------------------------------------------------------------------
Thu May 27 06:49:51 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest macro
-------------------------------------------------------------------
Wed May 5 08:23:44 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
- version update to 1.4.0
* pecan now requires webob >= 1.8
* fixed a bug when parsing certain Accept headers
(https://github.com/Pylons/webob/issues/403)
* removed official support for Python 3.5
- Rebase patch:
* pecan-no-kajiki.patch
- Add patches to support SQLAlchemy 1.4.x (gh#pecan/pecan#125)
* 0001-Support-SQLAlchemy-1.4.x.patch
* 0002-Fix-typo-from-bad-copy-paste.patch
-------------------------------------------------------------------
Sat Mar 14 08:01:12 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Mon Dec 9 14:39:07 CET 2019 - Matej Cepl <mcepl@suse.com>
- There doesn't seem to be any reason to depend on
python-pysqlite anymore.
-------------------------------------------------------------------
Wed Apr 24 10:24:51 UTC 2019 - pgajdos@suse.com
- version update to 1.3.3
* fixed a bug in RestController that incorrectly routed certain
@secure requests (https://github.com/pecan/pecan/pull/105)
* removed official support for Python 3.3
-------------------------------------------------------------------
Wed Aug 22 14:50:34 UTC 2018 - comurphy@suse.com
- Add python-pysqlite dependency
* Needed for the unit tests
-------------------------------------------------------------------
Thu Aug 16 09:31:01 UTC 2018 - jengelh@inai.de
- Ensure neutrality of description.
-------------------------------------------------------------------
Thu Aug 9 09:54:40 UTC 2018 - tchvatal@suse.com
- Do not depend on Kajiki as it is Genshi clone:
* pecan-no-kajiki.patch
-------------------------------------------------------------------
Thu Aug 9 09:44:14 UTC 2018 - tchvatal@suse.com
- Version update to 1.3.2:
* Fixes for newer webob and other dependencies
- Drop merged patch pull-request-91.patch
-------------------------------------------------------------------
Thu Aug 24 15:31:13 UTC 2017 - tbechtold@suse.com
- Add pull-request-91.patch . That fixes the tests for python3.6
-------------------------------------------------------------------
Wed Jul 12 06:00:37 UTC 2017 - tbechtold@suse.com
- Only require python-singledispatch on python2
-------------------------------------------------------------------
Thu Jun 29 16:40:00 UTC 2017 - tbechtold@suse.com
- convert to singlespec
- fix Source url
-------------------------------------------------------------------
Tue Nov 15 11:01:05 UTC 2016 - dmueller@suse.com
- update to 1.2.1
-------------------------------------------------------------------
Fri Mar 18 10:24:38 UTC 2016 - tbechtold@suse.com
- update to 1.0.5:
* Fix a bug in controller argspec detection when class-based decorators are used
* Removed an open file handle leak when pecan renders errors for Jinja2 and Genshi templates
* Resolved a bug which caused log output to be duplicated in projects created with pecan create
* Fixed a bug in pecan.hooks.HookController for newer versions of Python3.4
-------------------------------------------------------------------
Sat Aug 22 10:18:07 UTC 2015 - tbechtold@suse.com
- update to 1.0.2:
* Version increment.
* Add a thread lock to `pecan serve --reload` to avoid multiple restarts
* Fix an argspec detection edge case in `pecan.util.getargspec`
* Version increment.
* Fix a subtle bug in pecan.configuration.Config attribute assignment
* Fix a bug in extension-based content-type guessing with a trailing slash.
* Mark stable OpenStack branches as non-voting; their tests are often unstable
* Version increment.
* Update bug reporting verbiage.
* core: make status code mandatory in abort
* Move pecan off of stackforge and back to github.com/pecan and TravisCI.
* Fix a bug in the way `default_renderer` is applied.
* Allow all RFC3986-specified characters in explicit path segments.
* Replace pecan's homegrown interactive debugging middleware with backlash
* Fix broken wsme-stable tests as of the latest 0.7.0 release.
* Allowing tracebacks to be surfaced through abort
-------------------------------------------------------------------
Fri Jul 24 21:19:24 UTC 2015 - seife+obs@b1-systems.com
- fix non-suse build by conditionalizing Suggests: tags
-------------------------------------------------------------------
Mon Jun 22 15:08:36 UTC 2015 - tbechtold@suse.com
- update to 0.9.0:
* Require orderddict for Python 2.6 support.
* Version increment.
* Add tox environments to gate pecan against openstack/gnocchi
* Add tox environments to gate pecan against openstack/magnum
* Gate against latest stable projects.
* Properly raise HTTP 405 (and specify Allow headers) for RestController
* Update the `rest-api` scaffold to use generic controllers, *not* RestController Closes-Bug #1413038
* Allow users to specify custom path segments for routing.
* Fix broken wsme-stable tests.
* Replace ci.o.o links with docs.o.o/infra
* Fix unquoting of positional args with plus sign
* Add more emphasis to the need for debug=False in deployment documentation.
* Properly handle Python3 Unicode path segments in pecan routing.
* make_app() now uses the debugger param in DebugMiddleware()
* Drop support for Python 3.2.
* Prevent @expose(generic=True) on special methods (_route, _lookup, _default).
* core: do not assume controller is a method
* Fix broken wsme-stable job and pep8 failures.
* Document how to serve static files (with an iterable, not in-memory).
* Default the `pecan` log level to DEBUG for development.
- Add python-ordereddict Requires for SLE11SP3
-------------------------------------------------------------------
Tue Feb 24 12:49:00 UTC 2015 - tbechtold@suse.com
- update to 0.8.3
*Properly* detect Python < 3.3.
* Fix py32 support; importlib.machinery.SourceFileLoader doesn't exist until
py33
* Version increment.
* Change pecan to more gracefully handle a few odd request encoding edge
cases.
* Document pecan.request.context
* Improve ImportError verbosity for configuration files.
* core: optimize renderer computing
* middleware.static: remove useless stored variable
* Version increment.
* Don't clone pecan-dependent projects from cgit.
* Allows multiple parameters to be converted to list
* tox: pass posargs to test command
* Corrects ouptut -> output in docs/source/hooks.rst
* Add documentation for generic REST controllers.
* Version increment.
* Improve detection of infinite recursion for PecanHook and pypy.
* Fix broken wsme-stable tests and remove some deprecated pip flags.
* Fix typo in description
* Only define remainder when not empty
* Fixes expose of staticmethod
* Version increment.
* Resolve a bug that mixes up argument order for generic functions.
* Fix a routing bug for generic subcontrollers.
* Remove `assert` for flow control; it can be optimized away with `python -O`.
* For HTTP POSTs, map JSON request bodies to controller keyword arguments.
* Improve argspec detection and leniency for wrapped controllers.
* When path arguments are incorrect for RestController, return HTTP 404, not
400.
* When detecting non-content for HTTP 204, properly catch UnicodeDecodeError.
* Fix a bug in generic function handling when context locals are disabled.
* Stop using distribute for Python 3 tests.
* Revert "Import run_cross_tests.sh from oslo-incubator"
* Add docs environment to tox.ini
-------------------------------------------------------------------
Mon Nov 10 19:31:21 UTC 2014 - dmueller@suse.com
- skip tests on SLE_12 (the depending packages are not there)
-------------------------------------------------------------------
Tue Sep 23 18:56:49 UTC 2014 - dmueller@suse.com
- update to 0.7.0:
* Fixed an edge case in RestController routing which should have
returned an HTTP 400 but was instead raising an exception
(and thus, HTTP 500).
* Fixed an incorrect root logger configuration for
quickstarted pecan projects.
* Added pecan.state.arguments, a new feature for inspecting
controller call arguments.
* Fixed an infinite recursion error in PecanHook application.
Subclassing both rest.RestController and hooks.HookController
resulted in an infinite recursion error in hook application
(which prevented applications from starting).
* Pecan’s tests are now included in its source distribution.
- remove-logutils.diff: drop, logutils is needed now
- reenable testsuite run during build again
-------------------------------------------------------------------
Wed Aug 20 08:36:43 UTC 2014 - tbechtold@suse.com
- Disable testsuite run during build. Upstream tarball doesn't contain
all needed files to run the testsuite.
-------------------------------------------------------------------
Thu Jul 24 11:28:41 UTC 2014 - dmueller@suse.com
- update to 0.6.1:
* Fixed a bug which causes pecan to mistakenly return HTTP 204 for non-empty response bodies.
* Added support for disabling the pecan.request and pecan.response threadlocals at the WSGI
application level in favor of explicit reference passing. For more information, see
Context/Thread-Locals vs. Explicit Argument Passing.
* Added better support for hook composition via subclassing and mixins. For more
information, see Attaching Hooks.
* Added support for specifying custom request and response implementations at the WSGI
application level for people who want to extend the functionality provided by the base
classes in webob.
* Pecan controllers may now return an explicit webob.Response instance to short-circuit
Pecan’s template rendering and serialization.
* For generic methods that return HTTP 405, pecan now generates an Allow header to
communicate acceptable methods to the client.
* Fixed a bug in adherence to RFC2616: if an exposed method returns no response
body (or namespace), pecan will now enforce an HTTP 204 response (instead of HTTP 200).
* Fixed a bug in adherence to RFC2616: when pecan responds with HTTP 204 or HTTP 304,
the Content-Type header is automatically stripped (because these types of HTTP
responses do not contain body content).
* Fixed a bug: now when clients request JSON via an Accept header, webob HTTP
exceptions are serialized as JSON, not their native HTML representation.
* Fixed a bug that broke applications which specified default_renderer = json.
* This release adds formal support for pypy.
* Added colored request logging to the pecan serve command.
* Added a scaffold for easily generating a basic REST API.
* Added the ability to pass arbitrary keyword arguments to pecan.testing.load_test_app.
* Fixed a recursion-related bug in the error document middleware.
* Fixed a bug in the gunicorn_pecan command that caused threading.local data to
leak between eventlet/gevent green threads.
* Improved documentation through fixes and narrative tutorials for sample pecan applications.
- add remove-logutils.diff: Remove dependency on logutils for newer distros,
its part of main python now
-------------------------------------------------------------------
Thu Feb 20 09:29:17 UTC 2014 - dmueller@suse.com
- update to 0.4.5:
* Fixed a trailing slash bug for `RestController`s that have a `_lookup` method.
* Cleaned up the WSGI app reference from the threadlocal state on every request
(to avoid potential memory leaks, especially when testing).
* Improved pecan documentation and correctd intersphinx references.
* pecan supports Python 3.4.
-------------------------------------------------------------------
Fri Jan 10 17:21:45 UTC 2014 - dmueller@suse.com
- update to 0.4.4:
* Removed memoization of certain controller attributes, which can lead to
a memory leak in dynamic controller lookups.
* Fixed several bugs for RestController.
* Fixed a bug in security handling for generic controllers.
* Resolved a bug in `_default` handlers used in `RestController`.
* Persist `pecan.request.context` across internal redirects.
- reenable make check
-------------------------------------------------------------------
Tue Dec 10 10:00:03 UTC 2013 - dmueller@suse.com
- fix requires after the version update to 0.4.2, it was even
documented in the .changes file:
* Replaced the ``simplegeneric`` dependency with the new
``functools.singledispatch`` function in preparation for Python 3.4 support.
-------------------------------------------------------------------
Thu Dec 5 20:36:43 UTC 2013 - p.drouand@gmail.com
- Update to version 0.4.2
* Remove a routing optimization that breaks the WSME pecan plugin.
- Changes from 0.4.1
* Moved the project to `StackForge infrastructure
<http://ci.openstack.org/stackforge.html>`_, including Gerrit
code review, Jenkins continuous integration, and GitHub mirroring.
* Added a pecan plugin for the popular `uwsgi server
<http://uwsgi-docs.readthedocs.org>`_.
* Replaced the ``simplegeneric`` dependency with the new
``functools.singledispatch`` function in preparation for Python 3.4 support.
* Optimized pecan's core dispatch routing for notably faster response times.
-------------------------------------------------------------------
Thu Nov 28 15:07:14 UTC 2013 - dmueller@suse.com
- package LICENSE and README.rst
-------------------------------------------------------------------
Wed Sep 18 14:19:59 UTC 2013 - dmueller@suse.com
- require python-logutils on Python < 2.7
-------------------------------------------------------------------
Tue Aug 13 10:10:55 UTC 2013 - dmueller@suse.com
- update to 0.3.2:
* Made some changes to simplify how ``pecan.conf.app`` is passed to new apps.
* Fixed a routing bug for certain ``_lookup`` controller configurations.
* Improved documentation for handling file uploads.
* Deprecated the ``pecan.conf.requestviewer`` configuration option.
-------------------------------------------------------------------
Tue Jun 25 11:40:11 UTC 2013 - dmueller@suse.com
- Update to version 0.3.0:
+ New upstream release
-------------------------------------------------------------------
Fri Feb 22 13:11:11 UTC 2013 - saschpe@suse.de
- Update to version 0.2.1:
+ Upstream provides no changelog
-------------------------------------------------------------------
Thu Jan 17 10:33:37 UTC 2013 - saschpe@suse.de
- Initial version