Hello community, here is the log from the commit of package python3-aiohttp for openSUSE:Factory checked in at 2016-04-22 16:23:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-aiohttp (Old) and /work/SRC/openSUSE:Factory/.python3-aiohttp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-aiohttp" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-aiohttp/python3-aiohttp.changes 2016-03-17 16:48:21.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-aiohttp.new/python3-aiohttp.changes 2016-04-22 16:23:24.000000000 +0200 @@ -1,0 +2,6 @@ +Sat Mar 26 03:52:52 UTC 2016 - [email protected] + +- update to version 0.21.5: + * Fix command line arg parsing #797 + +------------------------------------------------------------------- Old: ---- aiohttp-0.21.4.tar.gz New: ---- aiohttp-0.21.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-aiohttp.spec ++++++ --- /var/tmp/diff_new_pack.rLkJC5/_old 2016-04-22 16:23:25.000000000 +0200 +++ /var/tmp/diff_new_pack.rLkJC5/_new 2016-04-22 16:23:25.000000000 +0200 @@ -17,7 +17,7 @@ Name: python3-aiohttp -Version: 0.21.4 +Version: 0.21.5 Release: 0 Url: https://pypi.python.org/pypi/aiohttp Summary: Http client/server for asyncio ++++++ aiohttp-0.21.4.tar.gz -> aiohttp-0.21.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp-0.21.4/CHANGES.txt new/aiohttp-0.21.5/CHANGES.txt --- old/aiohttp-0.21.4/CHANGES.txt 2016-03-13 12:17:25.000000000 +0100 +++ new/aiohttp-0.21.5/CHANGES.txt 2016-03-22 06:47:06.000000000 +0100 @@ -1,6 +1,11 @@ CHANGES ======= +0.21.5 (04-22-2016) +------------------- + +- Fix command line arg parsing #797 + 0.21.4 (03-12-2016) ------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp-0.21.4/PKG-INFO new/aiohttp-0.21.5/PKG-INFO --- old/aiohttp-0.21.4/PKG-INFO 2016-03-13 12:18:42.000000000 +0100 +++ new/aiohttp-0.21.5/PKG-INFO 2016-03-22 06:48:38.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: aiohttp -Version: 0.21.4 +Version: 0.21.5 Summary: http client/server for asyncio Home-page: https://github.com/KeepSafe/aiohttp/ Author: Andrew Svetlov @@ -150,6 +150,11 @@ CHANGES ======= + 0.21.5 (04-22-2016) + ------------------- + + - Fix command line arg parsing #797 + 0.21.4 (03-12-2016) ------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp-0.21.4/aiohttp/__init__.py new/aiohttp-0.21.5/aiohttp/__init__.py --- old/aiohttp-0.21.4/aiohttp/__init__.py 2016-03-13 12:17:25.000000000 +0100 +++ new/aiohttp-0.21.5/aiohttp/__init__.py 2016-03-22 06:47:06.000000000 +0100 @@ -1,6 +1,6 @@ # This relies on each of the submodules having an __all__ variable. -__version__ = '0.21.4' +__version__ = '0.21.5' from . import hdrs # noqa diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp-0.21.4/aiohttp/web.py new/aiohttp-0.21.5/aiohttp/web.py --- old/aiohttp-0.21.4/aiohttp/web.py 2016-03-13 12:17:25.000000000 +0100 +++ new/aiohttp-0.21.5/aiohttp/web.py 2016-03-22 06:47:06.000000000 +0100 @@ -349,7 +349,7 @@ type=int, default="8080" ) - args, extra_args = arg_parser.parse_known_args(argv) + args, extra_argv = arg_parser.parse_known_args(argv) # Import logic mod_str, _, func_str = args.entry_func.partition(":") @@ -368,9 +368,9 @@ except AttributeError: arg_parser.error("module %r has no attribute %r" % (mod_str, func_str)) - app = func(extra_args) + app = func(extra_argv) run_app(app, host=args.hostname, port=args.port) arg_parser.exit(message="Stopped\n") if __name__ == "__main__": - main(sys.argv) + main(sys.argv[1:]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp-0.21.4/aiohttp.egg-info/PKG-INFO new/aiohttp-0.21.5/aiohttp.egg-info/PKG-INFO --- old/aiohttp-0.21.4/aiohttp.egg-info/PKG-INFO 2016-03-13 12:18:42.000000000 +0100 +++ new/aiohttp-0.21.5/aiohttp.egg-info/PKG-INFO 2016-03-22 06:48:37.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: aiohttp -Version: 0.21.4 +Version: 0.21.5 Summary: http client/server for asyncio Home-page: https://github.com/KeepSafe/aiohttp/ Author: Andrew Svetlov @@ -150,6 +150,11 @@ CHANGES ======= + 0.21.5 (04-22-2016) + ------------------- + + - Fix command line arg parsing #797 + 0.21.4 (03-12-2016) ------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp-0.21.4/docs/web.rst new/aiohttp-0.21.5/docs/web.rst --- old/aiohttp-0.21.4/docs/web.rst 2016-03-13 12:17:25.000000000 +0100 +++ new/aiohttp-0.21.5/docs/web.rst 2016-03-22 06:47:06.000000000 +0100 @@ -58,7 +58,7 @@ accepts a list of any non-parsed command-line arguments and returns an :class:`Application` instance after setting it up:: - def init_function(args): + def init_function(argv): app = web.Application() app.router.add_route("GET", "/", index_handler) return app diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiohttp-0.21.4/examples/web_app.py new/aiohttp-0.21.5/examples/web_app.py --- old/aiohttp-0.21.4/examples/web_app.py 2016-03-13 12:17:25.000000000 +0100 +++ new/aiohttp-0.21.5/examples/web_app.py 2016-03-22 06:47:06.000000000 +0100 @@ -22,7 +22,7 @@ return Response(text=text) -def init(args): +def init(argv): arg_parser = ArgumentParser( prog="aiohttp.web ...", description="Application CLI", add_help=False ) @@ -45,10 +45,10 @@ help="show this message and exit", action="help" ) - parsed_args = arg_parser.parse_args(args) + args = arg_parser.parse_args(argv) app = Application() - app["args"] = parsed_args + app["args"] = args app.router.add_route('GET', '/', display_message) return app
