Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pecan for openSUSE:Factory checked in at 2022-08-04 13:23:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pecan (Old) and /work/SRC/openSUSE:Factory/.python-pecan.new.1521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pecan" Thu Aug 4 13:23:14 2022 rev:31 rq:990228 version:1.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pecan/python-pecan.changes 2022-04-08 00:27:53.422206704 +0200 +++ /work/SRC/openSUSE:Factory/.python-pecan.new.1521/python-pecan.changes 2022-08-04 13:23:28.056499365 +0200 @@ -1,0 +2,6 @@ +Tue Jul 19 11:55:24 UTC 2022 - Dirk M??ller <[email protected]> + +- update to 1.4.2: + * pecan no longer depends on webtest + +------------------------------------------------------------------- Old: ---- pecan-1.4.1.tar.gz New: ---- pecan-1.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pecan.spec ++++++ --- /var/tmp/diff_new_pack.cyJI7h/_old 2022-08-04 13:23:29.676503962 +0200 +++ /var/tmp/diff_new_pack.cyJI7h/_new 2022-08-04 13:23:29.680503972 +0200 @@ -25,7 +25,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pecan -Version: 1.4.1 +Version: 1.4.2 Release: 0 Summary: A WSGI object-dispatching web framework License: BSD-3-Clause @@ -50,7 +50,6 @@ BuildRequires: python-rpm-macros >= 20210929 Requires: python-Mako >= 0.4.0 Requires: python-WebOb >= 1.8 -Requires: python-WebTest >= 1.3.1 Requires: python-logutils >= 0.3 Requires: python-setuptools Requires: python-six ++++++ pecan-1.4.1.tar.gz -> pecan-1.4.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pecan-1.4.1/PKG-INFO new/pecan-1.4.2/PKG-INFO --- old/pecan-1.4.1/PKG-INFO 2021-12-08 18:51:10.944881700 +0100 +++ new/pecan-1.4.2/PKG-INFO 2022-07-03 02:19:12.402631800 +0200 @@ -1,13 +1,12 @@ Metadata-Version: 2.1 Name: pecan -Version: 1.4.1 +Version: 1.4.2 Summary: A WSGI object-dispatching web framework, designed to be lean and fast, with few dependencies. Home-page: http://github.com/pecan/pecan Author: Jonathan LaCour Author-email: [email protected] License: BSD Keywords: web framework wsgi object-dispatch http -Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: Console Classifier: Environment :: Web Environment @@ -28,6 +27,3 @@ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks License-File: LICENSE License-File: AUTHORS - -UNKNOWN - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pecan-1.4.1/README.rst new/pecan-1.4.2/README.rst --- old/pecan-1.4.1/README.rst 2021-12-08 18:46:27.000000000 +0100 +++ new/pecan-1.4.2/README.rst 2022-07-03 02:16:08.000000000 +0200 @@ -55,5 +55,4 @@ Additional Help/Support ----------------------- Most Pecan interaction is done via the `pecan-dev Mailing List -<https://groups.google.com/forum/#!forum/pecan-dev>`_ and the #pecanpy channel -on `FreeNode <http://freenode.net/>`_ IRC. +<https://groups.google.com/forum/#!forum/pecan-dev>`_. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pecan-1.4.1/pecan/commands/shell.py new/pecan-1.4.2/pecan/commands/shell.py --- old/pecan-1.4.1/pecan/commands/shell.py 2021-12-08 18:46:27.000000000 +0100 +++ new/pecan-1.4.2/pecan/commands/shell.py 2022-07-03 02:16:08.000000000 +0200 @@ -2,7 +2,10 @@ Shell command for Pecan. """ from pecan.commands import BaseCommand -from webtest import TestApp +try: + from webtest import TestApp +except ImportError: + TestApp = None from warnings import warn import sys @@ -118,7 +121,8 @@ # prepare the locals locs = dict(__name__='pecan-admin') locs['wsgiapp'] = app - locs['app'] = TestApp(app) + if TestApp: + locs['app'] = TestApp(app) model = self.load_model(app.config) if model: @@ -136,7 +140,8 @@ banner = ' The following objects are available:\n' banner += ' %-10s - This project\'s WSGI App instance\n' % 'wsgiapp' banner += ' %-10s - The current configuration\n' % 'conf' - banner += ' %-10s - webtest.TestApp wrapped around wsgiapp\n' % 'app' + if TestApp: + banner += ' %-10s - webtest.TestApp wrapped around wsgiapp\n' % 'app' if model: model_name = getattr( model, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pecan-1.4.1/pecan/testing.py new/pecan-1.4.2/pecan/testing.py --- old/pecan-1.4.1/pecan/testing.py 2021-12-08 18:46:27.000000000 +0100 +++ new/pecan-1.4.2/pecan/testing.py 2022-07-03 02:16:08.000000000 +0200 @@ -1,6 +1,5 @@ import os from pecan import load_app -from webtest import TestApp def load_test_app(config=None, **kwargs): @@ -33,6 +32,9 @@ resp = app.get('/path/to/some/resource').status_int assert resp.status_int == 200 """ + # Only import at runtime, since this is a relatively heavy-weight + # dependency: + from webtest import TestApp return TestApp(load_app(config, **kwargs)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pecan-1.4.1/pecan.egg-info/PKG-INFO new/pecan-1.4.2/pecan.egg-info/PKG-INFO --- old/pecan-1.4.1/pecan.egg-info/PKG-INFO 2021-12-08 18:51:10.000000000 +0100 +++ new/pecan-1.4.2/pecan.egg-info/PKG-INFO 2022-07-03 02:19:12.000000000 +0200 @@ -1,13 +1,12 @@ Metadata-Version: 2.1 Name: pecan -Version: 1.4.1 +Version: 1.4.2 Summary: A WSGI object-dispatching web framework, designed to be lean and fast, with few dependencies. Home-page: http://github.com/pecan/pecan Author: Jonathan LaCour Author-email: [email protected] License: BSD Keywords: web framework wsgi object-dispatch http -Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: Console Classifier: Environment :: Web Environment @@ -28,6 +27,3 @@ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks License-File: LICENSE License-File: AUTHORS - -UNKNOWN - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pecan-1.4.1/pecan.egg-info/entry_points.txt new/pecan-1.4.2/pecan.egg-info/entry_points.txt --- old/pecan-1.4.1/pecan.egg-info/entry_points.txt 2021-12-08 18:51:10.000000000 +0100 +++ new/pecan-1.4.2/pecan.egg-info/entry_points.txt 2022-07-03 02:19:12.000000000 +0200 @@ -1,12 +1,12 @@ +[console_scripts] +gunicorn_pecan = pecan.commands.serve:gunicorn_run +pecan = pecan.commands:CommandRunner.handle_command_line - [pecan.command] - serve = pecan.commands:ServeCommand - shell = pecan.commands:ShellCommand - create = pecan.commands:CreateCommand - [pecan.scaffold] - base = pecan.scaffolds:BaseScaffold - rest-api = pecan.scaffolds:RestAPIScaffold - [console_scripts] - pecan = pecan.commands:CommandRunner.handle_command_line - gunicorn_pecan = pecan.commands.serve:gunicorn_run - \ No newline at end of file +[pecan.command] +create = pecan.commands:CreateCommand +serve = pecan.commands:ServeCommand +shell = pecan.commands:ShellCommand + +[pecan.scaffold] +base = pecan.scaffolds:BaseScaffold +rest-api = pecan.scaffolds:RestAPIScaffold diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pecan-1.4.1/pecan.egg-info/requires.txt new/pecan-1.4.2/pecan.egg-info/requires.txt --- old/pecan-1.4.1/pecan.egg-info/requires.txt 2021-12-08 18:51:10.000000000 +0100 +++ new/pecan-1.4.2/pecan.egg-info/requires.txt 2022-07-03 02:19:12.000000000 +0200 @@ -1,6 +1,5 @@ WebOb>=1.8 Mako>=0.4.0 -WebTest>=1.3.1 setuptools six logutils>=0.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pecan-1.4.1/requirements.txt new/pecan-1.4.2/requirements.txt --- old/pecan-1.4.1/requirements.txt 2021-12-08 18:46:27.000000000 +0100 +++ new/pecan-1.4.2/requirements.txt 2022-07-03 02:16:08.000000000 +0200 @@ -1,6 +1,5 @@ WebOb>=1.8 Mako>=0.4.0 -WebTest>=1.3.1 setuptools six logutils>=0.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pecan-1.4.1/setup.py new/pecan-1.4.2/setup.py --- old/pecan-1.4.1/setup.py 2021-12-08 18:46:27.000000000 +0100 +++ new/pecan-1.4.2/setup.py 2022-07-03 02:16:08.000000000 +0200 @@ -3,7 +3,7 @@ from setuptools import setup, find_packages -version = '1.4.1' +version = '1.4.2' # # determine requirements diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pecan-1.4.1/test-requirements.txt new/pecan-1.4.2/test-requirements.txt --- old/pecan-1.4.1/test-requirements.txt 2021-12-08 18:46:27.000000000 +0100 +++ new/pecan-1.4.2/test-requirements.txt 2022-07-03 02:16:08.000000000 +0200 @@ -4,3 +4,4 @@ sqlalchemy uwsgi virtualenv +WebTest>=1.3.1
