Hello community, here is the log from the commit of package python-bottle for openSUSE:Factory checked in at 2019-03-04 09:09:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bottle (Old) and /work/SRC/openSUSE:Factory/.python-bottle.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bottle" Mon Mar 4 09:09:51 2019 rev:13 rq:680152 version:0.12.16 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bottle/python-bottle.changes 2017-04-19 18:05:38.405854087 +0200 +++ /work/SRC/openSUSE:Factory/.python-bottle.new.28833/python-bottle.changes 2019-03-04 09:09:54.944712539 +0100 @@ -1,0 +2,8 @@ +Thu Feb 28 15:20:17 UTC 2019 - Ondřej Súkup <[email protected]> + +- update to 0.12.16 + * DeprecationWarning: Flags not at the start of the expression + * Some modules set __file__ as None + * gevent-1.3.0 removes 'fast' wsgi implementation. + +------------------------------------------------------------------- Old: ---- bottle-0.12.13.tar.gz New: ---- bottle-0.12.16.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bottle.spec ++++++ --- /var/tmp/diff_new_pack.d2lsvw/_old 2019-03-04 09:09:56.272712317 +0100 +++ /var/tmp/diff_new_pack.d2lsvw/_new 2019-03-04 09:09:56.272712317 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-bottle # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-bottle -Version: 0.12.13 +Version: 0.12.16 Release: 0 -Url: http://bottlepy.org/ Summary: Fast and simple WSGI-framework for small web-applications License: MIT Group: Development/Languages/Python +URL: http://bottlepy.org/ Source: https://files.pythonhosted.org/packages/source/b/bottle/bottle-%{version}.tar.gz Source1: http://bottlepy.org/docs/0.12/bottle-docs.pdf BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -67,7 +65,7 @@ %python_clone %{buildroot}%{_bindir}/bottle.py %files %{python_files} -%defattr(-,root,root,-) +%license LICENSE %doc README.rst %{_bindir}/bottle.py-%{python_bin_suffix} %python3_only %{_bindir}/bottle.py @@ -76,7 +74,6 @@ %{python_sitelib}/bottle-%{version}-py%{python_version}.egg-info %files -n %{name}-doc -%defattr(-,root,root,-) %doc bottle-docs.pdf %changelog ++++++ bottle-0.12.13.tar.gz -> bottle-0.12.16.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bottle-0.12.13/LICENSE new/bottle-0.12.16/LICENSE --- old/bottle-0.12.13/LICENSE 1970-01-01 01:00:00.000000000 +0100 +++ new/bottle-0.12.16/LICENSE 2018-12-13 08:26:44.000000000 +0100 @@ -0,0 +1,19 @@ +Copyright (c) 2012, Marcel Hellkamp. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bottle-0.12.13/PKG-INFO new/bottle-0.12.16/PKG-INFO --- old/bottle-0.12.13/PKG-INFO 2017-01-09 13:33:49.000000000 +0100 +++ new/bottle-0.12.16/PKG-INFO 2018-12-13 08:39:33.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: bottle -Version: 0.12.13 +Version: 0.12.16 Summary: Fast and simple WSGI-framework for small web-applications. Home-page: http://bottlepy.org/ Author: Marcel Hellkamp @@ -35,3 +35,7 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.2 Classifier: Programming Language :: Python :: 3.3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bottle-0.12.13/bottle.egg-info/PKG-INFO new/bottle-0.12.16/bottle.egg-info/PKG-INFO --- old/bottle-0.12.13/bottle.egg-info/PKG-INFO 2017-01-09 13:33:48.000000000 +0100 +++ new/bottle-0.12.16/bottle.egg-info/PKG-INFO 2018-12-13 08:39:32.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: bottle -Version: 0.12.13 +Version: 0.12.16 Summary: Fast and simple WSGI-framework for small web-applications. Home-page: http://bottlepy.org/ Author: Marcel Hellkamp @@ -35,3 +35,7 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.2 Classifier: Programming Language :: Python :: 3.3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bottle-0.12.13/bottle.egg-info/SOURCES.txt new/bottle-0.12.16/bottle.egg-info/SOURCES.txt --- old/bottle-0.12.13/bottle.egg-info/SOURCES.txt 2017-01-09 13:33:48.000000000 +0100 +++ new/bottle-0.12.16/bottle.egg-info/SOURCES.txt 2018-12-13 08:39:32.000000000 +0100 @@ -1,3 +1,4 @@ +LICENSE MANIFEST.in README.rst bottle.py @@ -8,6 +9,7 @@ bottle.egg-info/top_level.txt test/servertest.py test/test_auth.py +test/test_cli.py test/test_config.py test/test_configdict.py test/test_contextlocals.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bottle-0.12.13/bottle.py new/bottle-0.12.16/bottle.py --- old/bottle-0.12.13/bottle.py 2017-01-09 13:31:53.000000000 +0100 +++ new/bottle-0.12.16/bottle.py 2018-12-13 08:38:51.000000000 +0100 @@ -16,7 +16,7 @@ from __future__ import with_statement __author__ = 'Marcel Hellkamp' -__version__ = '0.12.13' +__version__ = '0.12.16' __license__ = 'MIT' # The gevent server adapter needs to patch some modules before they are imported @@ -2904,14 +2904,16 @@ * See gevent.wsgi.WSGIServer() documentation for more options. """ def run(self, handler): - from gevent import wsgi, pywsgi, local + from gevent import pywsgi, local if not isinstance(threading.local(), local.local): msg = "Bottle requires gevent.monkey.patch_all() (before import)" raise RuntimeError(msg) - if not self.options.pop('fast', None): wsgi = pywsgi - self.options['log'] = None if self.quiet else 'default' + if self.options.pop('fast', None): + depr('The "fast" option has been deprecated and removed by Gevent.') + if self.quiet: + self.options['log'] = None address = (self.host, self.port) - server = wsgi.WSGIServer(address, handler, **self.options) + server = pywsgi.WSGIServer(address, handler, **self.options) if 'BOTTLE_CHILD' in os.environ: import signal signal.signal(signal.SIGINT, lambda s, f: server.stop()) @@ -3154,7 +3156,7 @@ files = dict() for module in list(sys.modules.values()): - path = getattr(module, '__file__', '') + path = getattr(module, '__file__', '') or '' if path[-4:] in ('.pyo', '.pyc'): path = path[:-1] if path and exists(path): files[path] = mtime(path) @@ -3418,7 +3420,7 @@ _re_cache = {} #: Cache for compiled re patterns # This huge pile of voodoo magic splits python code into 8 different tokens. # 1: All kinds of python strings (trust me, it works) - _re_tok = '((?m)[urbURB]?(?:\'\'(?!\')|""(?!")|\'{6}|"{6}' \ + _re_tok = '([urbURB]?(?:\'\'(?!\')|""(?!")|\'{6}|"{6}' \ '|\'(?:[^\\\\\']|\\\\.)+?\'|"(?:[^\\\\"]|\\\\.)+?"' \ '|\'{3}(?:[^\\\\]|\\\\.|\\n)+?\'{3}' \ '|"{3}(?:[^\\\\]|\\\\.|\\n)+?"{3}))' @@ -3441,7 +3443,8 @@ # Match the start tokens of code areas in a template _re_split = '(?m)^[ \t]*(\\\\?)((%(line_start)s)|(%(block_start)s))(%%?)' # Match inline statements (may contain python strings) - _re_inl = '%%(inline_start)s((?:%s|[^\'"\n]*?)+)%%(inline_end)s' % _re_inl + _re_inl = '(?m)%%(inline_start)s((?:%s|[^\'"\n]*?)+)%%(inline_end)s' % _re_inl + _re_tok = '(?m)' + _re_tok default_syntax = '<% %> % {{ }}' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bottle-0.12.13/setup.cfg new/bottle-0.12.16/setup.cfg --- old/bottle-0.12.13/setup.cfg 2017-01-09 13:33:49.000000000 +0100 +++ new/bottle-0.12.16/setup.cfg 2018-12-13 08:39:33.000000000 +0100 @@ -1,5 +1,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bottle-0.12.13/setup.py new/bottle-0.12.16/setup.py --- old/bottle-0.12.13/setup.py 2017-01-09 13:19:52.000000000 +0100 +++ new/bottle-0.12.16/setup.py 2018-12-13 08:26:44.000000000 +0100 @@ -36,8 +36,9 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', ], ) - - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bottle-0.12.13/test/test_cli.py new/bottle-0.12.16/test/test_cli.py --- old/bottle-0.12.13/test/test_cli.py 1970-01-01 01:00:00.000000000 +0100 +++ new/bottle-0.12.16/test/test_cli.py 2015-08-03 22:57:07.000000000 +0200 @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +import bottle, unittest + +class TestRoutes(unittest.TestCase): + + def setUp(self): + # mock bottle.run + self.orig_run = bottle.run + bottle.run = self.fake_run + self.run_calls = [] + + def fake_run(self, *a, **ka): + self.run_calls.append((a, ka)) + + def tearDown(self): + bottle.run = self.orig_run + ++++++ bottle-docs.pdf ++++++ (binary differes)
