Hello community, here is the log from the commit of package python-zc.buildout for openSUSE:Factory checked in at 2019-07-16 08:40:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-zc.buildout (Old) and /work/SRC/openSUSE:Factory/.python-zc.buildout.new.1887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zc.buildout" Tue Jul 16 08:40:48 2019 rev:12 rq:715008 version:2.13.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-zc.buildout/python-zc.buildout.changes 2019-02-26 22:22:09.874071193 +0100 +++ /work/SRC/openSUSE:Factory/.python-zc.buildout.new.1887/python-zc.buildout.changes 2019-07-16 08:41:00.511029903 +0200 @@ -1,0 +2,6 @@ +Sat Jul 6 15:44:32 UTC 2019 - Sebastian Wagner <[email protected]> + +- Uodate to version 2.13.2: + - Fixed DeprecationWarning on python 3.7: "'U' mode is deprecated". + +------------------------------------------------------------------- Old: ---- zc.buildout-2.13.1.tar.gz New: ---- zc.buildout-2.13.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-zc.buildout.spec ++++++ --- /var/tmp/diff_new_pack.st72Qe/_old 2019-07-16 08:41:02.051030418 +0200 +++ /var/tmp/diff_new_pack.st72Qe/_new 2019-07-16 08:41:02.051030418 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %{!?license: %global license %doc} Name: python-zc.buildout -Version: 2.13.1 +Version: 2.13.2 Release: 0 Url: http://pypi.python.org/pypi/zc.buildout Summary: System for managing development buildouts ++++++ zc.buildout-2.13.1.tar.gz -> zc.buildout-2.13.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zc.buildout-2.13.1/CHANGES.rst new/zc.buildout-2.13.2/CHANGES.rst --- old/zc.buildout-2.13.1/CHANGES.rst 2019-01-29 09:20:41.000000000 +0100 +++ new/zc.buildout-2.13.2/CHANGES.rst 2019-07-03 10:58:15.000000000 +0200 @@ -1,6 +1,12 @@ Change History ************** +2.13.2 (2019-07-03) +=================== + +- Fixed DeprecationWarning on python 3.7: "'U' mode is deprecated". + + 2.13.1 (2019-01-29) =================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zc.buildout-2.13.1/PKG-INFO new/zc.buildout-2.13.2/PKG-INFO --- old/zc.buildout-2.13.1/PKG-INFO 2019-01-29 09:20:41.000000000 +0100 +++ new/zc.buildout-2.13.2/PKG-INFO 2019-07-03 10:58:15.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: zc.buildout -Version: 2.13.1 +Version: 2.13.2 Summary: System for managing development buildouts Home-page: http://buildout.org Author: Jim Fulton @@ -63,6 +63,12 @@ Change History ************** + 2.13.2 (2019-07-03) + =================== + + - Fixed DeprecationWarning on python 3.7: "'U' mode is deprecated". + + 2.13.1 (2019-01-29) =================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zc.buildout-2.13.1/setup.py new/zc.buildout-2.13.2/setup.py --- old/zc.buildout-2.13.1/setup.py 2019-01-29 09:20:41.000000000 +0100 +++ new/zc.buildout-2.13.2/setup.py 2019-07-03 10:58:15.000000000 +0200 @@ -12,7 +12,7 @@ # ############################################################################## name = "zc.buildout" -version = '2.13.1' +version = '2.13.2' import os from setuptools import setup diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zc.buildout-2.13.1/src/zc/buildout/easy_install.py new/zc.buildout-2.13.2/src/zc/buildout/easy_install.py --- old/zc.buildout-2.13.1/src/zc/buildout/easy_install.py 2019-01-29 09:20:41.000000000 +0100 +++ new/zc.buildout-2.13.2/src/zc/buildout/easy_install.py 2019-07-03 10:58:15.000000000 +0200 @@ -1467,15 +1467,20 @@ generated.append(dest) return generated +if sys.version_info[0] < 3: + universal_newline_option = ", 'U'" +else: + universal_newline_option = '' + py_script_template = script_header + '''\ -%(relative_paths_setup)s +%%(relative_paths_setup)s import sys sys.path[0:0] = [ - %(path)s + %%(path)s ] -%(initialization)s +%%(initialization)s _interactive = True if len(sys.argv) > 1: @@ -1496,13 +1501,13 @@ sys.argv[:] = _args __file__ = _args[0] del _options, _args - with open(__file__, 'U') as __file__f: + with open(__file__%s) as __file__f: exec(compile(__file__f.read(), __file__, "exec")) if _interactive: del _interactive __import__("code").interact(banner="", local=globals()) -''' +''' % universal_newline_option runsetup_template = """ import sys @@ -1516,9 +1521,9 @@ os.chdir(%%(setupdir)r) sys.argv[0] = %%(setup)r -with open(%%(setup)r, 'U') as f: +with open(%%(setup)r%s) as f: exec(compile(f.read(), %%(setup)r, 'exec')) -""" % setuptools_path +""" % (setuptools_path, universal_newline_option) class VersionConflict(zc.buildout.UserError): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zc.buildout-2.13.1/src/zc/buildout/testing.py new/zc.buildout-2.13.2/src/zc/buildout/testing.py --- old/zc.buildout-2.13.1/src/zc/buildout/testing.py 2019-01-29 09:20:41.000000000 +0100 +++ new/zc.buildout-2.13.2/src/zc/buildout/testing.py 2019-07-03 10:58:15.000000000 +0200 @@ -132,18 +132,6 @@ # http://bugs.python.org/issue19884 env = dict(os.environ, TERM='dumb') - # Beginning in Python 3.4, 'U' mode to open() is deprecated. - # Python 3.7 changes the way deprecations are shown for main - # modules, and introduces $PYTHONDEVMODE which turns on warnigs in - # more places. If that's done, this leads many of our doctests to - # break; some code path through executing setup.py does this, but - # it's not in our code. Unfortunately, normalizing this printed - # line away doesn't work, it just produces a blank line. We resort - # to turning that warning off. - warnings = env.get('PYTHONWARNINGS', '') - env['PYTHONWARNINGS'] = "ignore:'U' mode is deprecated:DeprecationWarning::," + warnings - - p = subprocess.Popen(command, shell=True, stdin=subprocess.PIPE, @@ -606,6 +594,9 @@ re.compile(r'^(\w+\.)*([A-Z][A-Za-z0-9]+Error: )'), '\2') +normalize_open_in_generated_script = ( + re.compile(r"open\(__file__, 'U'\)"), 'open(__file__)') + not_found = (re.compile(r'Not found: [^\n]+/(\w|\.)+/\r?\n'), '') # Setuptools now pulls in dependencies when installed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zc.buildout-2.13.1/src/zc/buildout/tests.py new/zc.buildout-2.13.2/src/zc/buildout/tests.py --- old/zc.buildout-2.13.1/src/zc/buildout/tests.py 2019-01-29 09:20:41.000000000 +0100 +++ new/zc.buildout-2.13.2/src/zc/buildout/tests.py 2019-07-03 10:58:15.000000000 +0200 @@ -3730,6 +3730,7 @@ zc.buildout.testing.normalize_endings, zc.buildout.testing.normalize_egg_py, zc.buildout.testing.normalize_exception_type_for_python_2_and_3, + zc.buildout.testing.normalize_open_in_generated_script, zc.buildout.testing.adding_find_link, zc.buildout.testing.not_found, normalize_bang, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zc.buildout-2.13.1/src/zc.buildout.egg-info/PKG-INFO new/zc.buildout-2.13.2/src/zc.buildout.egg-info/PKG-INFO --- old/zc.buildout-2.13.1/src/zc.buildout.egg-info/PKG-INFO 2019-01-29 09:20:41.000000000 +0100 +++ new/zc.buildout-2.13.2/src/zc.buildout.egg-info/PKG-INFO 2019-07-03 10:58:15.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: zc.buildout -Version: 2.13.1 +Version: 2.13.2 Summary: System for managing development buildouts Home-page: http://buildout.org Author: Jim Fulton @@ -63,6 +63,12 @@ Change History ************** + 2.13.2 (2019-07-03) + =================== + + - Fixed DeprecationWarning on python 3.7: "'U' mode is deprecated". + + 2.13.1 (2019-01-29) =================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zc.buildout-2.13.1/src/zc.buildout.egg-info/requires.txt new/zc.buildout-2.13.2/src/zc.buildout.egg-info/requires.txt --- old/zc.buildout-2.13.1/src/zc.buildout.egg-info/requires.txt 2019-01-29 09:20:41.000000000 +0100 +++ new/zc.buildout-2.13.2/src/zc.buildout.egg-info/requires.txt 2019-07-03 10:58:15.000000000 +0200 @@ -1,9 +1,9 @@ setuptools>=8.0 [test] -zope.testing -manuel bobo==2.3.0 -zdaemon -zc.zdaemonrecipe +manuel zc.recipe.deployment +zc.zdaemonrecipe +zdaemon +zope.testing
