Hello community,
here is the log from the commit of package python3-PasteDeploy for
openSUSE:Factory checked in at 2015-01-06 09:06:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-PasteDeploy (Old)
and /work/SRC/openSUSE:Factory/.python3-PasteDeploy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-PasteDeploy"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-PasteDeploy/python3-PasteDeploy.changes
2013-06-21 19:01:23.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python3-PasteDeploy.new/python3-PasteDeploy.changes
2015-01-06 09:07:08.000000000 +0100
@@ -1,0 +2,15 @@
+Sun Jan 4 20:29:50 UTC 2015 - [email protected]
+
+- specfile: update copyright year
+
+- update to version 1.5.2:
+ * Fixed Python 3 issue in paste.deploy.util.fix_type_error()
+
+- changes from version 1.5.1:
+ * Fixed use of the wrong variable when determining the context protocol
+ * Fixed invalid import of paste.deploy.Config to paste.deploy.config.Config
+ * Fixed multi proxy IPs bug in X-Forwarded-For header in PrefixMiddleware
+ * Fixed TypeError when trying to raise LookupError on Python 3
+ * Fixed exception reraise on Python 3
+
+-------------------------------------------------------------------
Old:
----
PasteDeploy-1.5.0.tar.gz
New:
----
PasteDeploy-1.5.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-PasteDeploy.spec ++++++
--- /var/tmp/diff_new_pack.pEfCAh/_old 2015-01-06 09:07:09.000000000 +0100
+++ /var/tmp/diff_new_pack.pEfCAh/_new 2015-01-06 09:07:09.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python3-PasteDeploy
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python3-PasteDeploy
-Version: 1.5.0
+Version: 1.5.2
Release: 0
Url: http://pythonpaste.org/deploy/
Summary: Load, configure, and compose WSGI applications and servers
++++++ PasteDeploy-1.5.0.tar.gz -> PasteDeploy-1.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PasteDeploy-1.5.0/PKG-INFO
new/PasteDeploy-1.5.2/PKG-INFO
--- old/PasteDeploy-1.5.0/PKG-INFO 2011-05-24 22:52:40.000000000 +0200
+++ new/PasteDeploy-1.5.2/PKG-INFO 2013-12-27 18:40:45.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: PasteDeploy
-Version: 1.5.0
+Version: 1.5.2
Summary: Load, configure, and compose WSGI applications and servers
Home-page: http://pythonpaste.org/deploy/
Author: Alex Gronholm
@@ -17,10 +17,9 @@
For the latest changes see the `news file
<http://pythonpaste.org/deploy/news.html>`_.
-
Keywords: web wsgi application server
Platform: UNKNOWN
-Classifier: Development Status :: 5 - Production/Stable
+Classifier: Development Status :: 6 - Mature
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
@@ -30,6 +29,7 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PasteDeploy-1.5.0/PasteDeploy.egg-info/PKG-INFO
new/PasteDeploy-1.5.2/PasteDeploy.egg-info/PKG-INFO
--- old/PasteDeploy-1.5.0/PasteDeploy.egg-info/PKG-INFO 2011-05-24
22:52:38.000000000 +0200
+++ new/PasteDeploy-1.5.2/PasteDeploy.egg-info/PKG-INFO 2013-12-27
18:40:45.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: PasteDeploy
-Version: 1.5.0
+Version: 1.5.2
Summary: Load, configure, and compose WSGI applications and servers
Home-page: http://pythonpaste.org/deploy/
Author: Alex Gronholm
@@ -17,10 +17,9 @@
For the latest changes see the `news file
<http://pythonpaste.org/deploy/news.html>`_.
-
Keywords: web wsgi application server
Platform: UNKNOWN
-Classifier: Development Status :: 5 - Production/Stable
+Classifier: Development Status :: 6 - Mature
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
@@ -30,6 +29,7 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PasteDeploy-1.5.0/PasteDeploy.egg-info/SOURCES.txt
new/PasteDeploy-1.5.2/PasteDeploy.egg-info/SOURCES.txt
--- old/PasteDeploy-1.5.0/PasteDeploy.egg-info/SOURCES.txt 2011-05-24
22:52:38.000000000 +0200
+++ new/PasteDeploy-1.5.2/PasteDeploy.egg-info/SOURCES.txt 2013-12-27
18:40:45.000000000 +0100
@@ -1,4 +1,6 @@
MANIFEST.in
+README
+setup.cfg
setup.py
PasteDeploy.egg-info/PKG-INFO
PasteDeploy.egg-info/SOURCES.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PasteDeploy-1.5.0/README new/PasteDeploy-1.5.2/README
--- old/PasteDeploy-1.5.0/README 1970-01-01 01:00:00.000000000 +0100
+++ new/PasteDeploy-1.5.2/README 2012-04-29 06:00:21.000000000 +0200
@@ -0,0 +1,11 @@
+This tool provides code to load WSGI applications and servers from
+URIs; these URIs can refer to Python Eggs for INI-style configuration
+files. `Paste Script <http://pythonpaste.org/script>`_ provides
+commands to serve applications based on this configuration file.
+
+The latest version is available in a `Mercurial repository
+<http://bitbucket.org/ianb/pastedeploy>`_ (or a `tarball
+<http://bitbucket.org/ianb/pastedeploy/get/tip.gz#egg=PasteDeploy-dev>`_).
+
+For the latest changes see the `news file
+<http://pythonpaste.org/deploy/news.html>`_.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PasteDeploy-1.5.0/docs/news.txt
new/PasteDeploy-1.5.2/docs/news.txt
--- old/PasteDeploy-1.5.0/docs/news.txt 2011-05-24 22:39:58.000000000 +0200
+++ new/PasteDeploy-1.5.2/docs/news.txt 2013-12-27 18:37:45.000000000 +0100
@@ -1,6 +1,26 @@
Paste Deployment News
=====================
+1.5.2
+-----
+
+* Fixed Python 3 issue in paste.deploy.util.fix_type_error()
+
+1.5.1
+-----
+
+* Fixed use of the wrong variable when determining the context protocol
+
+* Fixed invalid import of paste.deploy.Config to paste.deploy.config.Config
+
+* Fixed multi proxy IPs bug in X-Forwarded-For header in PrefixMiddleware
+
+* Fixed TypeError when trying to raise LookupError on Python 3
+
+* Fixed exception reraise on Python 3
+
+Thanks to Alexandre Conrad, Atsushi Odagiri, Pior Bastida and Tres Seaver for
their contributions.
+
1.5.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PasteDeploy-1.5.0/paste/deploy/compat.py
new/PasteDeploy-1.5.2/paste/deploy/compat.py
--- old/PasteDeploy-1.5.0/paste/deploy/compat.py 2011-05-22
06:47:11.000000000 +0200
+++ new/PasteDeploy-1.5.2/paste/deploy/compat.py 2013-05-25
22:12:05.000000000 +0200
@@ -17,6 +17,7 @@
from ConfigParser import ConfigParser
from urllib import unquote
iteritems = lambda d: d.iteritems()
+ dictkeys = lambda d: d.keys()
def reraise(t, e, tb):
exec('raise t, e, tb', dict(t=t, e=e, tb=tb))
@@ -25,6 +26,7 @@
from configparser import ConfigParser
from urllib.parse import unquote
iteritems = lambda d: d.items()
+ dictkeys = lambda d: list(d.keys())
def reraise(t, e, tb):
- exec('raise e from tb', dict(e=e, tb=tb))
+ raise e.with_traceback(tb)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PasteDeploy-1.5.0/paste/deploy/config.py
new/PasteDeploy-1.5.2/paste/deploy/config.py
--- old/PasteDeploy-1.5.0/paste/deploy/config.py 2011-05-22
06:47:11.000000000 +0200
+++ new/PasteDeploy-1.5.2/paste/deploy/config.py 2013-05-25
22:12:05.000000000 +0200
@@ -269,7 +269,7 @@
if 'HTTP_X_FORWARDED_HOST' in environ:
environ['HTTP_HOST'] =
environ.pop('HTTP_X_FORWARDED_HOST').split(',')[0]
if 'HTTP_X_FORWARDED_FOR' in environ:
- environ['REMOTE_ADDR'] = environ.pop('HTTP_X_FORWARDED_FOR')
+ environ['REMOTE_ADDR'] =
environ.pop('HTTP_X_FORWARDED_FOR').split(',')[0]
if 'HTTP_X_FORWARDED_SCHEME' in environ:
environ['wsgi.url_scheme'] =
environ.pop('HTTP_X_FORWARDED_SCHEME')
elif 'HTTP_X_FORWARDED_PROTO' in environ:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PasteDeploy-1.5.0/paste/deploy/converters.py
new/PasteDeploy-1.5.2/paste/deploy/converters.py
--- old/PasteDeploy-1.5.0/paste/deploy/converters.py 2011-05-22
06:47:11.000000000 +0200
+++ new/PasteDeploy-1.5.2/paste/deploy/converters.py 2013-05-25
22:12:05.000000000 +0200
@@ -3,12 +3,16 @@
from paste.deploy.compat import basestring
+truthy = frozenset(['true', 'yes', 'on', 'y', 't', '1'])
+falsy = frozenset(['false', 'no', 'off', 'n', 'f', '0'])
+
+
def asbool(obj):
if isinstance(obj, basestring):
obj = obj.strip().lower()
- if obj in ['true', 'yes', 'on', 'y', 't', '1']:
+ if obj in truthy:
return True
- elif obj in ['false', 'no', 'off', 'n', 'f', '0']:
+ elif obj in falsy:
return False
else:
raise ValueError("String is not true/false: %r" % obj)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PasteDeploy-1.5.0/paste/deploy/loadwsgi.py
new/PasteDeploy-1.5.2/paste/deploy/loadwsgi.py
--- old/PasteDeploy-1.5.0/paste/deploy/loadwsgi.py 2011-05-24
03:41:03.000000000 +0200
+++ new/PasteDeploy-1.5.2/paste/deploy/loadwsgi.py 2013-05-25
22:12:05.000000000 +0200
@@ -7,7 +7,7 @@
import pkg_resources
-from paste.deploy.compat import ConfigParser, unquote, iteritems
+from paste.deploy.compat import ConfigParser, unquote, iteritems, dictkeys
from paste.deploy.util import fix_call, lookup_object
__all__ = ['loadapp', 'loadserver', 'loadfilter', 'appconfig']
@@ -493,7 +493,7 @@
# This will work with 'server' and 'filter', otherwise it
# could fail but there is an error message already for
# bad protocols
- context.protocol = 'paste.%s_factory' % context_protocol
+ context.protocol = 'paste.%s_factory' % section_protocol
return context
@@ -655,7 +655,7 @@
dist.location,
', '.join(_flatten(object_type.egg_protocols)),
', '.join(_flatten([
- (pkg_resources.get_entry_info(self.spec, prot, name) or
{}).keys()
+ dictkeys(pkg_resources.get_entry_info(self.spec, prot, name)
or {})
for prot in protocol_options] or '(no entry points)'))))
if len(possible) > 1:
raise LookupError(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/PasteDeploy-1.5.0/paste/deploy/paster_templates/paste_deploy/+package+/sampleapp.py_tmpl
new/PasteDeploy-1.5.2/paste/deploy/paster_templates/paste_deploy/+package+/sampleapp.py_tmpl
---
old/PasteDeploy-1.5.0/paste/deploy/paster_templates/paste_deploy/+package+/sampleapp.py_tmpl
2011-05-24 03:13:19.000000000 +0200
+++
new/PasteDeploy-1.5.2/paste/deploy/paster_templates/paste_deploy/+package+/sampleapp.py_tmpl
2012-09-15 23:41:31.000000000 +0200
@@ -1,6 +1,6 @@
import cgi
-from paste.deploy import CONFIG
+from paste.deploy.config import CONFIG
def application(environ, start_response):
@@ -21,4 +21,3 @@
% (key, cgi.escape(repr(value))))
content.append('</table></body></html>')
return content
-
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PasteDeploy-1.5.0/paste/deploy/util.py
new/PasteDeploy-1.5.2/paste/deploy/util.py
--- old/PasteDeploy-1.5.0/paste/deploy/util.py 2011-05-23 21:51:07.000000000
+0200
+++ new/PasteDeploy-1.5.2/paste/deploy/util.py 2013-12-27 18:32:53.000000000
+0100
@@ -32,8 +32,7 @@
if kwargs and args:
args += ', '
if kwargs:
- kwargs = kwargs.items()
- kwargs.sort()
+ kwargs = sorted(kwargs.items())
args += ', '.join(['%s=...' % n for n, v in kwargs])
gotspec = '(%s)' % args
msg = '%s; got %s, wanted %s' % (exc_info[1], gotspec, argspec)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PasteDeploy-1.5.0/setup.cfg
new/PasteDeploy-1.5.2/setup.cfg
--- old/PasteDeploy-1.5.0/setup.cfg 2011-05-24 22:52:40.000000000 +0200
+++ new/PasteDeploy-1.5.2/setup.cfg 2013-12-27 18:40:45.000000000 +0100
@@ -1,3 +1,6 @@
+[wheel]
+universal = true
+
[egg_info]
tag_build =
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PasteDeploy-1.5.0/setup.py
new/PasteDeploy-1.5.2/setup.py
--- old/PasteDeploy-1.5.0/setup.py 2011-05-24 22:40:08.000000000 +0200
+++ new/PasteDeploy-1.5.2/setup.py 2013-12-27 18:38:46.000000000 +0100
@@ -1,47 +1,42 @@
-from setuptools import setup, find_packages
+import os
+from setuptools import setup, find_packages
-setup(
- name="PasteDeploy",
- version='1.5.0',
- description="Load, configure, and compose WSGI applications and servers",
- long_description="""\
-This tool provides code to load WSGI applications and servers from
-URIs; these URIs can refer to Python Eggs for INI-style configuration
-files. `Paste Script <http://pythonpaste.org/script>`_ provides
-commands to serve applications based on this configuration file.
+here = os.path.dirname(__file__)
+readme_path = os.path.join(here, 'README')
+readme = open(readme_path).read()
-The latest version is available in a `Mercurial repository
-<http://bitbucket.org/ianb/pastedeploy>`_ (or a `tarball
-<http://bitbucket.org/ianb/pastedeploy/get/tip.gz#egg=PasteDeploy-dev>`_).
-For the latest changes see the `news file
-<http://pythonpaste.org/deploy/news.html>`_.
-""",
+setup(
+ name='PasteDeploy',
+ version='1.5.2',
+ description='Load, configure, and compose WSGI applications and servers',
+ long_description=readme,
classifiers=[
- "Development Status :: 5 - Production/Stable",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: MIT License",
- "Programming Language :: Python",
- "Programming Language :: Python :: 2.5",
- "Programming Language :: Python :: 2.6",
- "Programming Language :: Python :: 2.7",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.1",
- "Programming Language :: Python :: 3.2",
- "Topic :: Internet :: WWW/HTTP",
- "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
- "Topic :: Internet :: WWW/HTTP :: WSGI",
- "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
- "Topic :: Software Development :: Libraries :: Python Modules",
- "Framework :: Paste",
- ],
+ 'Development Status :: 6 - Mature',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: MIT License',
+ 'Programming Language :: Python',
+ 'Programming Language :: Python :: 2.5',
+ 'Programming Language :: Python :: 2.6',
+ 'Programming Language :: Python :: 2.7',
+ 'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.1',
+ 'Programming Language :: Python :: 3.2',
+ 'Programming Language :: Python :: 3.3',
+ 'Topic :: Internet :: WWW/HTTP',
+ 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
+ 'Topic :: Internet :: WWW/HTTP :: WSGI',
+ 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
+ 'Framework :: Paste',
+ ],
keywords='web wsgi application server',
- author="Ian Bicking",
- author_email="[email protected]",
- maintainer="Alex Gronholm",
- maintainer_email="[email protected]",
- url="http://pythonpaste.org/deploy/",
+ author='Ian Bicking',
+ author_email='[email protected]',
+ maintainer='Alex Gronholm',
+ maintainer_email='[email protected]',
+ url='http://pythonpaste.org/deploy/',
license='MIT',
namespace_packages=['paste'],
packages=find_packages(exclude=['tests']),
@@ -50,9 +45,9 @@
test_suite='nose.collector',
tests_require=['nose>=0.11'],
extras_require={
- 'Config': [],
- 'Paste': ['Paste'],
- },
+ 'Config': [],
+ 'Paste': ['Paste'],
+ },
entry_points="""
[paste.filter_app_factory]
config = paste.deploy.config:make_config_filter [Config]
@@ -60,5 +55,5 @@
[paste.paster_create_template]
paste_deploy=paste.deploy.paster_templates:PasteDeploy
- """,
+ """
)
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]