14
0
forked from pool/python-pecan

42 Commits

Author SHA256 Message Date
049a8ceb73 Accepting request 1295954 from home:glaubitz:branches:devel:languages:python
- Update to 1.7.0
  * added official support for Python 3.8 through 3.13 (#165)
  * extensions pecan imports via `pecan.ext` has been removed (#157)
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/1295954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=73
2025-07-30 14:48:29 +00:00
885ab08eb1 Accepting request 1267611 from home:glaubitz:branches:devel:languages:python
- Update to 1.6.0
  * address a few deprecation warnings
  * update doc to address upcoming setuptools deprecation
  * remove the colorlog dependency
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1267611
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=71
2025-04-07 12:14:04 +00:00
771194e95c - Update to 1.5.1:
* addressed an installation bug caused by a duplicate entry script (#142)
  * pecan no longer has a dependency on six (#144)
  * pecan now supports SQLAlchemy 2.0 (#143)
  * pecan no longer supports SQLAlchemy 1.3
- Drop patches pecan-no-kajiki.patch, sqlalchemy2.patch:
  * No longer required.
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=69
2024-09-09 07:09:03 +00:00
9077fc033f Accepting request 1088344 from home:mcalabkova:branches:devel:languages:python
- add sqlalchemy2.patch to support SQLAlchemy 2.0

OBS-URL: https://build.opensuse.org/request/show/1088344
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=67
2023-05-22 11:44:26 +00:00
bff3fe9182 - restore webtest dependency, needed by pecan.testing
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=65
2023-01-28 12:36:19 +00:00
3afccc5fdb - update to 1.4.2:
* pecan no longer depends on webtest

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=63
2022-07-19 11:57:29 +00:00
395e3ed0e9 Accepting request 967296 from home:pgajdos:python
- python-mock is not required for build

OBS-URL: https://build.opensuse.org/request/show/967296
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=61
2022-04-06 12:44:23 +00:00
d9b61312e0 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=60
2021-12-11 22:35:13 +00:00
25a3de4423 Accepting request 923256 from home:schubi2
- Added BuildRequires:  alts

OBS-URL: https://build.opensuse.org/request/show/923256
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=59
2021-10-06 07:32:08 +00:00
ceb55f253b Accepting request 922615 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/922615
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=58
2021-10-03 17:47:00 +00:00
e23469e67d Accepting request 920164 from devel:languages:python
revert

OBS-URL: https://build.opensuse.org/request/show/920164
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=57
2021-09-19 17:10:21 +00:00
d4baa9d931 Accepting request 919791 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/919791
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=56
2021-09-17 21:25:18 +00:00
54ee3ced06 Accepting request 895707 from home:pgajdos:python
setup.py test replacement

OBS-URL: https://build.opensuse.org/request/show/895707
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=54
2021-05-27 09:57:16 +00:00
f836ee8806 Accepting request 890783 from home:alarrosa:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/890783
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=52
2021-05-06 05:28:32 +00:00
Tomáš Chvátal
38b7ee626b - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=50
2020-03-14 08:02:16 +00:00
2641586339 Add BR to the full python package for SLE 15
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=47
2019-12-09 14:09:07 +00:00
e59da0d7f6 - There doesn’t seem to be any reason to depend on
python-pysqlite anymore.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=46
2019-12-09 13:39:50 +00:00
Tomáš Chvátal
a424adf8eb Accepting request 697444 from home:pgajdos
- 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

OBS-URL: https://build.opensuse.org/request/show/697444
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=44
2019-04-24 10:27:14 +00:00
Tomáš Chvátal
af7566612d Accepting request 630952 from home:comurphy:branches:devel:languages:python
- Add python-pysqlite dependency
  * Needed for the unit tests

OBS-URL: https://build.opensuse.org/request/show/630952
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=42
2018-08-23 07:43:20 +00:00
205aeb43ac Accepting request 629516 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of description.

OBS-URL: https://build.opensuse.org/request/show/629516
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=41
2018-08-16 10:19:06 +00:00
Tomáš Chvátal
e69a701dcb - Do not depend on Kajiki as it is Genshi clone:
* pecan-no-kajiki.patch

- Version update to 1.3.2:
  * Fixes for newer webob and other dependencies
- Drop merged patch pull-request-91.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=40
2018-08-09 09:57:20 +00:00
9072fe76cb Accepting request 518558 from home:tbechtold:branches:devel:languages:python
- Add pull-request-91.patch . That fixes the tests for python3.6

OBS-URL: https://build.opensuse.org/request/show/518558
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=38
2017-08-24 15:34:01 +00:00
57ddbb62b9 Accepting request 509617 from home:tbechtold:branches:devel:languages:python
- Only require python-singledispatch on python2

OBS-URL: https://build.opensuse.org/request/show/509617
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=37
2017-07-12 09:16:40 +00:00
Jan Matejek
ef1d36138f Accepting request 507152 from home:tbechtold:branches:devel:languages:python
- convert to singlespec
- fix Source url

OBS-URL: https://build.opensuse.org/request/show/507152
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=36
2017-06-30 14:25:06 +00:00
95a78ceb5f - update to 1.2.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=35
2016-11-15 11:01:55 +00:00
615c5609cb Accepting request 375063 from home:tbechtold:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/375063
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=33
2016-03-29 19:41:44 +00:00
Todd R
c1bf19e295 Accepting request 325373 from Cloud:OpenStack:Master
- 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

OBS-URL: https://build.opensuse.org/request/show/325373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=31
2015-08-24 09:59:00 +00:00
3e89b1ee73 Accepting request 318687 from home:seife:OpenStack:Master
fix non-suse build by conditionalizing Suggests: tags

OBS-URL: https://build.opensuse.org/request/show/318687
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=29
2015-07-27 06:14:48 +00:00
6bd019492f Accepting request 313205 from home:tbechtold:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/313205
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=27
2015-06-23 08:45:22 +00:00
Denisart Benjamin
a0df6de7d5 Accepting request 287509 from home:tbechtold:branches:devel:languages:python
New upstream release

OBS-URL: https://build.opensuse.org/request/show/287509
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=25
2015-02-24 13:16:57 +00:00
Denisart Benjamin
126d8f2501 Accepting request 260752 from Cloud:OpenStack:Master
- skip tests on SLE_12 (the depending packages are not there)

OBS-URL: https://build.opensuse.org/request/show/260752
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=23
2014-11-10 23:25:14 +00:00
24cf856cea Accepting request 251728 from Cloud:OpenStack:Master
- 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

OBS-URL: https://build.opensuse.org/request/show/251728
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=21
2014-09-23 19:04:47 +00:00
Jan Matejek
2197348f88 Accepting request 245290 from Cloud:OpenStack:Master
Temporarily disable testsuite

OBS-URL: https://build.opensuse.org/request/show/245290
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=19
2014-09-01 16:24:40 +00:00
Denisart Benjamin
e189b9578b Accepting request 223194 from Cloud:OpenStack:Master
- 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.

OBS-URL: https://build.opensuse.org/request/show/223194
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=17
2014-02-24 10:46:06 +00:00
Denisart Benjamin
a39f26a80a Accepting request 213514 from Cloud:OpenStack:Master
- 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

- 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.

OBS-URL: https://build.opensuse.org/request/show/213514
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=15
2014-01-10 20:59:03 +00:00
Denisart Benjamin
6a49447246 Accepting request 209559 from home:posophe:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/209559
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=13
2013-12-05 20:51:38 +00:00
Denisart Benjamin
569467a2e7 Accepting request 208824 from home:dirkmueller:branches:devel:languages:python
- package LICENSE and README.rst

OBS-URL: https://build.opensuse.org/request/show/208824
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=11
2013-11-28 16:12:50 +00:00
Sascha Peilicke
f3d639d1cf Accepting request 199638 from Cloud:OpenStack:Master
- require python-logutils on Python < 2.7

OBS-URL: https://build.opensuse.org/request/show/199638
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=9
2013-09-18 14:57:26 +00:00
Sascha Peilicke
90684e9c04 Accepting request 186923 from home:dirkmueller:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/186923
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=7
2013-08-13 11:04:56 +00:00
Sascha Peilicke
714201c1b6 Accepting request 180853 from home:dirkmueller:branches:devel:languages:python
- Update to version 0.3.0:
  + New upstream release

OBS-URL: https://build.opensuse.org/request/show/180853
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=5
2013-06-25 11:52:48 +00:00
Sascha Peilicke
ea33e4d227 - Update to version 0.2.1:
+ Upstream provides no changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=3
2013-02-22 13:10:10 +00:00
Sascha Peilicke
227752b9d5 - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=1
2013-01-17 10:50:55 +00:00