commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2020-06-11 14:37:31 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.3606 (New) Package is "python" Thu Jun 11 14:37:31 2020 rev:151 rq:810400 version:2.7.18 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2020-04-27 23:31:02.158663346 +0200 +++ /work/SRC/openSUSE:Factory/.python.new.3606/python-base.changes 2020-06-11 14:37:36.176072647 +0200 @@ -1,0 +2,7 @@ +Sat May 30 12:19:40 UTC 2020 - Matej Cepl + +- Add patch configure_PYTHON_FOR_REGEN.patch which makes + configure.ac to consider the correct version of + PYTHON_FO_REGEN (bsc#1078326). + +--- python-doc.changes: same change python.changes: same change New: configure_PYTHON_FOR_REGEN.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.S0n3Ht/_old 2020-06-11 14:37:37.864077556 +0200 +++ /var/tmp/diff_new_pack.S0n3Ht/_new 2020-06-11 14:37:37.868077567 +0200 @@ -94,6 +94,9 @@ # PATCH-FIX-UPSTREAM CVE-2019-9674-zip-bomb.patch bsc#1162825 mc...@suse.com # Improve documentation warning against the possible zip bombs Patch59:CVE-2019-9674-zip-bomb.patch +# PATCH-FIX-UPSTREAM configure_PYTHON_FOR_REGEN.patch bsc#1078326 mc...@suse.com +# PYTHON_FOR_REGEN value is set very weird upstream +Patch60:configure_PYTHON_FOR_REGEN.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -219,6 +222,7 @@ %patch56 -p1 %patch58 -p1 %patch59 -p1 +%patch60 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.S0n3Ht/_old 2020-06-11 14:37:37.888077626 +0200 +++ /var/tmp/diff_new_pack.S0n3Ht/_new 2020-06-11 14:37:37.888077626 +0200 @@ -96,6 +96,9 @@ # PATCH-FIX-UPSTREAM CVE-2019-9674-zip-bomb.patch bsc#1162825 mc...@suse.com # Improve documentation warning against the possible zip bombs Patch59:CVE-2019-9674-zip-bomb.patch +# PATCH-FIX-UPSTREAM configure_PYTHON_FOR_REGEN.patch bsc#1078326 mc...@suse.com +# PYTHON_FOR_REGEN value is set very weird upstream +Patch60:configure_PYTHON_FOR_REGEN.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -162,6 +165,7 @@ %patch56 -p1 %patch58 -p1 %patch59 -p1 +%patch60 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.S0n3Ht/_old 2020-06-11 14:37:37.912077696 +0200 +++ /var/tmp/diff_new_pack.S0n3Ht/_new 2020-06-11 14:37:37.916077707 +0200 @@ -96,6 +96,9 @@ # PATCH-FIX-UPSTREAM CVE-2019-9674-zip-bomb.patch bsc#1162825 mc...@suse.com # Improve documentation warning against the possible zip bombs Patch59:CVE-2019-9674-zip-bomb.patch +# PATCH-FIX-UPSTREAM configure_PYTHON_FOR_REGEN.patch bsc#1078326 mc...@suse.com +# PYTHON_FOR_REGEN value is set very weird upstream +Patch60:configure_PYTHON_FOR_REGEN.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -276,6 +279,7 @@ %patch56 -p1 %patch58 -p1 %patch59 -p1 +%patch60 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ configure_PYTHON_FOR_REGEN.patch ++ --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ AC_SUBST(host) # pybuilddir.txt will be created by --generate-posix-vars in the Makefile rm -f pybuilddir.txt -AC_CHECK_PROGS(PYTHON_FOR_REGEN, python$PACKAGE_VERSION python3 python, python3) +AC_CHECK_PROGS(PYTHON_FOR_REGEN, python$PACKAGE_VERSION python python2, python) AC_SUBST(PYTHON_FOR_REGEN) if test "$cross_compiling" = yes; then
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2020-04-27 23:30:47 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.2738 (New) Package is "python" Mon Apr 27 23:30:47 2020 rev:150 rq:798115 version:2.7.18 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2020-02-15 22:24:01.319264363 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.2738/python-base.changes 2020-04-27 23:31:02.158663346 +0200 @@ -1,0 +2,32 @@ +Mon Apr 27 06:56:55 UTC 2020 - Matej Cepl + +- Use python3-Sphinx on anything more recent than SLE-15 (inclusive). + +--- +Thu Apr 23 09:17:24 UTC 2020 - Matej Cepl + +- Update to 2.7.18, final release of Python 2. Ever.: + - Newline characters have been escaped when performing uu +encoding to prevent them from overflowing into to content +section of the encoded file. This prevents malicious or +accidental modification of data during the decoding process. + - Fixes a ReDoS vulnerability in :mod:`http.cookiejar`. Patch +by Ben Caller. + - Fixed line numbers and column offsets for AST nodes for calls +without arguments in decorators. + - Disallow control characters in hostnames in http.client, +addressing CVE-2019-18348. Such potentially malicious header +injection URLs now cause a InvalidURL to be raised. + - Fix urllib.urlretrieve failing on subsequent ftp transfers +from the same host. + - Fix problems identified by GCC's -Wstringop-truncation +warning. + - AddRefActCtx() was needlessly being checked for failure in +PC/dl_nt.c. + - Prevent failure of test_relative_path in test_py_compile on +macOS Catalina. + - Fixed possible leak in :c:func:`PyArg_Parse` and similar +functions for format units "es#" and "et#" when the macro +:c:macro:`PY_SSIZE_T_CLEAN` is not defined. + +--- --- /work/SRC/openSUSE:Factory/python/python-doc.changes2020-02-15 22:24:01.371264391 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.2738/python-doc.changes 2020-04-27 23:31:03.550666064 +0200 @@ -1,0 +2,39 @@ +Mon Apr 27 06:56:55 UTC 2020 - Matej Cepl + +- Use python3-Sphinx on anything more recent than SLE-15 (inclusive). + +--- +Thu Apr 23 09:17:24 UTC 2020 - Matej Cepl + +- Update to 2.7.18, final release of Python 2. Ever.: + - Newline characters have been escaped when performing uu +encoding to prevent them from overflowing into to content +section of the encoded file. This prevents malicious or +accidental modification of data during the decoding process. + - Fixes a ReDoS vulnerability in :mod:`http.cookiejar`. Patch +by Ben Caller. + - Fixed line numbers and column offsets for AST nodes for calls +without arguments in decorators. + - Disallow control characters in hostnames in http.client, +addressing CVE-2019-18348. Such potentially malicious header +injection URLs now cause a InvalidURL to be raised. + - Fix urllib.urlretrieve failing on subsequent ftp transfers +from the same host. + - Fix problems identified by GCC's -Wstringop-truncation +warning. + - AddRefActCtx() was needlessly being checked for failure in +PC/dl_nt.c. + - Prevent failure of test_relative_path in test_py_compile on +macOS Catalina. + - Fixed possible leak in :c:func:`PyArg_Parse` and similar +functions for format units "es#" and "et#" when the macro +:c:macro:`PY_SSIZE_T_CLEAN` is not defined. + +--- +Sat Feb 8 23:29:28 CET 2020 - Matej Cepl + +- Add CVE-2019-9674-zip-bomb.patch to improve documentation + warning about dangers of zip-bombs and other security problems + with zipfile library. (bsc#1162825 CVE-2019-9674) + +--- python.changes: same change Old: Python-2.7.17.tar.xz Python-2.7.17.tar.xz.asc python-2.7.17-docs-pdf-a4.tar.bz2 python-2.7.17-docs-pdf-letter.tar.bz2 New: Python-2.7.18.tar.xz Python-2.7.18.tar.xz.asc python-2.7.18-docs-pdf-a4.tar.bz2 python-2.7.18-docs-pdf-letter.tar.bz2 Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.TxhB7q/_old 2020-04-27 23:31:05.038668968 +0200 +++ /var/tmp/diff_new_pack.TxhB7q/_new 2020-04-27 23:31:05.038668968 +0200 @@ -19,7 +19,7 @@ %define so_version 2_7-1_0 Name: python-base -Version:2.7.17 +Version:2.7.18 Release:0 Summary:Python Interpreter base
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2020-02-15 22:23:53 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.26092 (New) Package is "python" Sat Feb 15 22:23:53 2020 rev:149 rq:772516 version:2.7.17 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2020-02-06 13:18:52.128661751 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.26092/python-base.changes 2020-02-15 22:24:01.319264363 +0100 @@ -1,0 +2,21 @@ +Sat Feb 8 23:29:28 CET 2020 - Matej Cepl + +- Add CVE-2019-9674-zip-bomb.patch to improve documentation + warning about dangers of zip-bombs and other security problems + with zipfile library. (bsc#1162825 CVE-2019-9674) + +--- +Sat Feb 8 22:30:51 CET 2020 - Matej Cepl + +- Change to Requires: libpython%{so_version} == %{version}-%{release} + to python-base to keep both packages always synchronized (add + %{so_version}) (bsc#1162224). + +--- +Thu Feb 6 23:14:47 CET 2020 - Matej Cepl + +- Add CVE-2020-8492-urllib-ReDoS.patch fixing the security bug + "Python urrlib allowed an HTTP server to conduct Regular + Expression Denial of Service (ReDoS)" (bsc#1162367) + +--- --- /work/SRC/openSUSE:Factory/python/python-doc.changes2020-02-06 13:18:52.896662128 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.26092/python-doc.changes 2020-02-15 22:24:01.371264391 +0100 @@ -1,0 +2,14 @@ +Sat Feb 8 22:30:51 CET 2020 - Matej Cepl + +- Change to Requires: libpython%{so_version} == %{version}-%{release} + to python-base to keep both packages always synchronized (add + %{so_version}) (bsc#1162224). + +--- +Thu Feb 6 23:14:47 CET 2020 - Matej Cepl + +- Add CVE-2020-8492-urllib-ReDoS.patch fixing the security bug + "Python urrlib allowed an HTTP server to conduct Regular + Expression Denial of Service (ReDoS)" (bsc#1162367) + +--- python.changes: same change New: CVE-2019-9674-zip-bomb.patch CVE-2020-8492-urllib-ReDoS.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.PQlltO/_old 2020-02-15 22:24:02.495264998 +0100 +++ /var/tmp/diff_new_pack.PQlltO/_new 2020-02-15 22:24:02.495264998 +0100 @@ -16,6 +16,8 @@ # +%define so_version 2_7-1_0 + Name: python-base Version:2.7.17 Release:0 @@ -85,6 +87,13 @@ Patch56:adapted-from-F00251-change-user-install-location.patch # Switch couple of tests failing on acient SLE-12 Patch57:python-2.7.17-switch-off-failing-SSL-tests.patch +# PATCH-FIX-UPSTREAM CVE-2020-8492-urllib-ReDoS.patch bsc#1162367 mc...@suse.com +# Fixes Python urrlib allowed an HTTP server to conduct Regular +# Expression Denial of Service (ReDoS) +Patch58:CVE-2020-8492-urllib-ReDoS.patch +# PATCH-FIX-UPSTREAM CVE-2019-9674-zip-bomb.patch bsc#1162825 mc...@suse.com +# Improve documentation warning against the possible zip bombs +Patch59:CVE-2019-9674-zip-bomb.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -101,7 +110,7 @@ BuildRequires: netcfg Requires: python-rpm-macros # explicitly, see bnc#697251: -Requires: libpython2_7-1_0 = %{version} +Requires: libpython%{so_version} = %{version}-%{release} Provides: %{name} = %{python_version} # bug437293 %ifarch ppc64 @@ -157,7 +166,7 @@ The expat module is a Python interface to the expat XML parser. Since Python2.x, it is part of the core Python distribution. -%package -n libpython2_7-1_0 +%package -n libpython%{so_version} Summary:Python Interpreter shared library Group: Development/Languages/Python @@ -208,6 +217,8 @@ %patch51 -p1 %patch55 -p1 %patch56 -p1 +%patch58 -p1 +%patch59 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.PQlltO/_old 2020-02-15 22:24:02.515265009 +0100 +++ /var/tmp/diff_new_pack.PQlltO/_new 2020-02-15 22:24:02.515265009 +0100 @@ -85,6 +85,13 @@ Patch56:adapted-from-F00251-change-user-install-location.patch # Switch couple of tests failing on acient SLE-12 Patch57:python-2.7.17-switch-off-failing-SSL-tests.patch +# PATCH-FIX-UPSTREAM CVE-2020-8492-urllib-ReDoS.patch bsc#1162367 mc...@suse.com +# Fixes Python urrlib allowed an HTTP server to
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2020-02-06 13:18:46 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.26092 (New) Package is "python" Thu Feb 6 13:18:46 2020 rev:148 rq:769788 version:2.7.17 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2020-01-14 20:58:33.282520446 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.26092/python-base.changes 2020-02-06 13:18:52.128661751 +0100 @@ -1,0 +2,13 @@ +Mon Feb 3 19:30:31 UTC 2020 - Tomáš Chvátal + +- Provide python-testsuite from devel subkg to ease py2->py3 + dependencies + +--- +Mon Jan 27 16:47:56 CET 2020 - Matej Cepl + +- Add python-2.7.17-switch-off-failing-SSL-tests.patch to switch + off tests coliding with the combination of modern Python and + ancient OpenSSL on SLE-12. + +--- --- /work/SRC/openSUSE:Factory/python/python-doc.changes2020-01-05 15:21:11.705562113 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.26092/python-doc.changes 2020-02-06 13:18:52.896662128 +0100 @@ -1,0 +2,19 @@ +Mon Feb 3 19:30:31 UTC 2020 - Tomáš Chvátal + +- Provide python-testsuite from devel subkg to ease py2->py3 + dependencies + +--- +Mon Jan 27 16:47:56 CET 2020 - Matej Cepl + +- Add python-2.7.17-switch-off-failing-SSL-tests.patch to switch + off tests coliding with the combination of modern Python and + ancient OpenSSL on SLE-12. + +--- +Fri Jan 10 16:01:57 CET 2020 - Matej Cepl + +- libnsl is required only on more recent SLEs and openSUSE, older + glibc supported NIS on its own. + +--- python.changes: same change New: python-2.7.17-switch-off-failing-SSL-tests.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.EZeYtZ/_old 2020-02-06 13:18:55.508663409 +0100 +++ /var/tmp/diff_new_pack.EZeYtZ/_new 2020-02-06 13:18:55.508663409 +0100 @@ -83,12 +83,14 @@ # to /usr/local if executable is /usr/bin/python* and RPM build # is not detected to make pip and distutils install into separate location Patch56:adapted-from-F00251-change-user-install-location.patch +# Switch couple of tests failing on acient SLE-12 +Patch57:python-2.7.17-switch-off-failing-SSL-tests.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake BuildRequires: fdupes BuildRequires: libbz2-devel -%if %{suse_version} > 1200 +%if %{suse_version} >= 1500 BuildRequires: libnsl-devel %endif BuildRequires: pkg-config @@ -130,6 +132,9 @@ Requires: python = %{version} Requires: python-base = %{version}-%{release} Provides: python2-devel = %{version} +# provide testsuite namespace that was split in python3 to ease dependencies +Provides: python-testsuite = %{version} +Provides: python2-testsuite = %{version} %description -n python-devel The Python programming language's interpreter can be extended with @@ -192,8 +197,12 @@ %patch40 -p1 %endif %patch41 -p1 +%if %{suse_version} >= 1500 %patch47 -p1 %patch48 -p1 +%else +%patch57 -p1 +%endif %patch49 -p1 %patch50 -p1 %patch51 -p1 ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.EZeYtZ/_old 2020-02-06 13:18:55.528663419 +0100 +++ /var/tmp/diff_new_pack.EZeYtZ/_new 2020-02-06 13:18:55.528663419 +0100 @@ -83,6 +83,8 @@ # to /usr/local if executable is /usr/bin/python* and RPM build # is not detected to make pip and distutils install into separate location Patch56:adapted-from-F00251-change-user-install-location.patch +# Switch couple of tests failing on acient SLE-12 +Patch57:python-2.7.17-switch-off-failing-SSL-tests.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -136,8 +138,12 @@ %patch40 -p1 %endif %patch41 -p1 +%if %{suse_version} >= 1500 %patch47 -p1 %patch48 -p1 +%else +%patch57 -p1 +%endif %patch49 -p1 %patch50 -p1 %patch51 -p1 ++ python.spec ++ --- /var/tmp/diff_new_pack.EZeYtZ/_old 2020-02-06 13:18:55.548663428 +0100 +++ /var/tmp/diff_new_pack.EZeYtZ/_new 2020-02-06 13:18:55.548663428 +0100 @@ -87,6 +87,8 @@ # to /usr/local if executable is /usr/bin/python* and RPM build # is not detected to make pip and distutils install into separate location Patch56:adapted-from-F00251-change-user-install-location.patch +# Switch couple of tests failing on acient SLE-12
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2020-01-14 20:58:03 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.6675 (New) Package is "python" Tue Jan 14 20:58:03 2020 rev:147 rq:76 version:2.7.17 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2020-01-05 15:21:09.733561122 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.6675/python-base.changes 2020-01-14 20:58:33.282520446 +0100 @@ -1,0 +2,6 @@ +Fri Jan 10 16:01:57 CET 2020 - Matej Cepl + +- libnsl is required only on more recent SLEs and openSUSE, older + glibc supported NIS on its own. + +--- python.changes: same change Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.zrV17L/_old 2020-01-14 20:58:36.046521725 +0100 +++ /var/tmp/diff_new_pack.zrV17L/_new 2020-01-14 20:58:36.046521725 +0100 @@ -88,7 +88,9 @@ BuildRequires: automake BuildRequires: fdupes BuildRequires: libbz2-devel +%if %{suse_version} > 1200 BuildRequires: libnsl-devel +%endif BuildRequires: pkg-config BuildRequires: xz BuildRequires: zlib-devel ++ python.spec ++ --- /var/tmp/diff_new_pack.zrV17L/_old 2020-01-14 20:58:36.154521775 +0100 +++ /var/tmp/diff_new_pack.zrV17L/_new 2020-01-14 20:58:36.154521775 +0100 @@ -94,7 +94,9 @@ BuildRequires: gdbm-devel BuildRequires: gmp-devel BuildRequires: libbz2-devel +%if %{suse_version} > 1200 BuildRequires: libnsl-devel +%endif BuildRequires: libopenssl-devel BuildRequires: ncurses-devel BuildRequires: readline-devel ++ idle.desktop ++ --- /var/tmp/diff_new_pack.zrV17L/_old 2020-01-14 20:58:36.218521805 +0100 +++ /var/tmp/diff_new_pack.zrV17L/_new 2020-01-14 20:58:36.218521805 +0100 @@ -1,6 +1,7 @@ [Desktop Entry] Version=1.0 Name=IDLE +GenericName=Python IDE Comment=Python 2.7 Integrated Development and Learning Environment Exec=idle %F TryExec=idle
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2020-01-05 15:20:51 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.6675 (New) Package is "python" Sun Jan 5 15:20:51 2020 rev:146 rq:760397 version:2.7.17 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2019-12-24 14:29:33.270563883 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.6675/python-base.changes 2020-01-05 15:21:09.733561122 +0100 @@ -1,0 +2,7 @@ +Thu Jan 2 10:34:17 UTC 2020 - Tomáš Chvátal + +- Add provides in gdbm subpackage to provide dbm symbols. This + allows us to use %%{python_module dbm} as a dependency and have + it properly resolved for both python2 and python3 + +--- python-doc.changes: same change python.changes: same change Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.RA6XCM/_old 2020-01-05 15:21:15.681564107 +0100 +++ /var/tmp/diff_new_pack.RA6XCM/_new 2020-01-05 15:21:15.685564110 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-base # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed python-doc.spec: same change ++ python.spec ++ --- /var/tmp/diff_new_pack.RA6XCM/_old 2020-01-05 15:21:15.717564125 +0100 +++ /var/tmp/diff_new_pack.RA6XCM/_new 2020-01-05 15:21:15.721564128 +0100 @@ -1,7 +1,7 @@ # # spec file for package python # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -200,6 +200,10 @@ Obsoletes: pygdmod Provides: pygdmod Provides: python2-gdbm = %{version} +# Compat to allow BR on python_module dbm and have it properly +# pull in gdbm on py2 and dbm on py3 +Provides: python-dbm = %{version} +Provides: python2-dbm = %{version} %description gdbm An easy to use interface for GDBM databases. GDBM is the GNU
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2019-12-24 14:29:28 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.6675 (New) Package is "python" Tue Dec 24 14:29:28 2019 rev:145 rq:758106 version:2.7.17 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2019-12-07 15:15:26.227795426 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.6675/python-base.changes 2019-12-24 14:29:33.270563883 +0100 @@ -1,0 +2,24 @@ +Thu Dec 19 08:47:01 UTC 2019 - Dominique Leuenberger + +- Drop appstream-glib BuildRequires and no longer call + appstream-util validate-relax: eliminate a build cycle between + as-glib and python. The only thing would would gain by calling + as-uril is catching if upstream breaks the appdata.xml file in a + future release. Considering py2 is dying, chances for a new + release, let alone one breaking the xml file, are slim. + +--- +Wed Dec 11 14:35:46 CET 2019 - Matej Cepl + +- Unify packages among openSUSE:Factory and SLE versions. + (bsc#1159035) ; add missing records to this changelog. +- Add idle.desktop and idle.appdata.xml to provide IDLE in menus + (bsc#1153830) + +--- +Wed Dec 4 18:12:17 CET 2019 - Matej Cepl + +- Add python2_split_startup Provide to make it possible to + conflict older packages by shared-python-startup. + +--- @@ -115 +139 @@ -- Update to 2.7.16: +- (bsc#793) Update to 2.7.16: @@ -359,0 +384,14 @@ + +--- +Mon Sep 26 14:06:25 UTC 2016 - jmate...@suse.com + +- initial packaging of `python27` side-by-side variant (fate#321075, bsc#997436) +- renamed `python` to `python27` in package names and requires +- removed Provides and Obsoletes clauses +- dropped SLE12-only patch python-2.7.9-sles-disable-verification-by-default.patch, + companion sle_tls_checks_policy.py file and the python-strict-tls-checks subpackage +- dropped profile files +- removed /usr/bin/python and /usr/bin/python2, along with other unversioned + aliases +- rewrote macros file to enable stand-alone packages depending on py2.7 +- re-included downloaded version of HTML documentation python-doc.changes: same change python.changes: same change New: idle.appdata.xml idle.desktop Other differences: -- python-doc.spec: same change ++ python.spec ++ --- /var/tmp/diff_new_pack.g1OEJT/_old 2019-12-24 14:29:36.958565667 +0100 +++ /var/tmp/diff_new_pack.g1OEJT/_new 2019-12-24 14:29:36.958565667 +0100 @@ -29,6 +29,8 @@ Source1:README.SUSE Source8:sle_tls_checks_policy.py #Source11: testfiles.tar.bz2 +Source50: idle.appdata.xml +Source51: idle.desktop # issues with copyrighted Unicode testing files # !! @@ -100,6 +102,11 @@ BuildRequires: tk-devel BuildRequires: xz BuildRequires: pkgconfig(x11) +# for %%{_datadir}/application and %%{_datadir}/mime/packages +BuildRequires: filesystem +BuildRequires: update-desktop-files +# for %%{_datadir}/icons/hicolor directories +BuildRequires: hicolor-icon-theme %define python_version%(echo %{tarversion} | head -c 3) %define idle_name idle Requires: python-base = %{version} @@ -108,6 +115,9 @@ %endif Provides: %{name} = %{python_version} Provides: python2 = %{version} +# To make older versions of this package to conflict with +# shared-python-startup I need a symbol to conflict with +Provides: python2_split_startup Obsoletes: python-elementtree Obsoletes: python-nothreads Obsoletes: python-sqlite @@ -429,6 +439,15 @@ done ) +# Install .desktop, mime and appdata files from upstream tarball +%if 0%{?suse_version} >= 1500 +install -Dm0644 %{SOURCE50} %{buildroot}/%{_datadir}/mime/packages/idle.appdata.xml +%endif +install -D -m 0644 Lib/idlelib/Icons/idle_16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/idle.png +install -D -m 0644 Lib/idlelib/Icons/idle_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/idle.png +install -D -m 0644 Lib/idlelib/Icons/idle_48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/idle.png +desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE51} + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -444,6 +463,11 @@ %doc Lib/idlelib/ChangeLog %{_libdir}/python%{python_version}/idlelib %attr(755, root, root) %{_bindir}/%{idle_name} +%if 0%{?suse_version} >= 1500 +%{_datadir}/mime/packages/idle.appdata.xml
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2019-12-07 15:14:50 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.4691 (New) Package is "python" Sat Dec 7 15:14:50 2019 rev:144 rq:753190 version:2.7.17 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2019-11-04 17:08:53.768420719 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.4691/python-base.changes 2019-12-07 15:15:26.227795426 +0100 @@ -1,0 +2,19 @@ +Fri Nov 22 13:10:03 CET 2019 - Matej Cepl + +- Move /etc/pythonstart script to shared-python-startup + package. + +--- +Tue Nov 5 11:41:40 CET 2019 - Matej Cepl + +- Add bpo-36576-skip_tests_for_OpenSSL-111.patch (originally from + bpo#36576) skipping tests failing with OpenSSL 1.1.1. Fixes + bsc#1149792 + +--- +Tue Nov 5 04:24:05 UTC 2019 - Steve Kowalik + +- Add adapted-from-F00251-change-user-install-location.patch fixing + pip/distutils to install into /usr/local. + +--- @@ -12,0 +32,5 @@ + - python-2.7.14-CVE-2018-130-1.patch + - python-2.7.14-CVE-2018-130-2.patch +- Renamed remove-static-libpython.diff and python-bsddb6.diff to + remove-static-libpython.patch and python-bsddb6.patch to unify + filenames. @@ -27 +51,8 @@ -Fri Jul 19 13:28:16 CEST 2019 - Matej Cepl +Mon Sep 16 15:57:54 CEST 2019 - Matej Cepl + +- Add CVE-2019-16056-email-parse-addr.patch fixing the email + module wrongly parses email addresses [bsc#1149955, + CVE-2019-16056] + +--- +Thu Jul 25 19:31:47 CEST 2019 - Matej Cepl @@ -40,0 +72,8 @@ +Wed Jul 3 21:02:00 CEST 2019 - Matej Cepl + +- bsc#1138459: add CVE-2019-10160-netloc-port-regression.patch + which fixes regression introduced by the previous patch. + (CVE-2019-10160) + Upstream gh#python/cpython#13812 + +--- @@ -70 +109 @@ - no error will be raised. + no error will be raised (CVE-2019-9636). @@ -95 +134 @@ -remove-static-libpython.diff +remove-static-libpython.patch @@ -99,0 +139,19 @@ +Fri Jan 25 16:53:50 CET 2019 - mc...@suse.com + +- bsc#1109847: add CVE-2018-14647_XML_SetHashSalt-in_elementtree.patch + fixing bpo-34623. + +--- +Fri Jan 25 16:02:21 CET 2019 - mc...@suse.com + +- bsc#1073748: add bpo-29347-dereferencing-undefined-pointers.patch + PyWeakref_NewProxy@Objects/weakrefobject.c creates new isntance + of PyWeakReference struct and does not intialize wr_prev and + wr_next of new isntance. These pointers can have garbage and + point to random memory locations. + Python should not crash while destroying the isntance created + in the same interpreter function. As per my understanding, both + wr_prev and wr_next of PyWeakReference instance should be + initialized to NULL to avoid segfault. + +--- @@ -120,0 +179 @@ + (bsc#1113755) @@ -129,0 +189,26 @@ +Fri Jun 29 10:24:27 UTC 2018 - mc...@suse.com + +- Apply "CVE-2018-1061-DOS-via-regexp-difflib.patch" to prevent + low-grade poplib REDOS (CVE-2018-1060) and to prevent difflib REDOS + (CVE-2018-1061). Prior to this patch mail server's timestamp was + susceptible to catastrophic backtracking on long evil response from + the server. Also, it was susceptible to catastrophic backtracking, + which was a potential DOS vector. + [bsc#1088004 and bsc#1088009, CVE-2018-1061 and CVE-2018-1060] + +--- +Thu Jun 7 17:04:40 UTC 2018 - psim...@suse.com + +- Apply "CVE-2017-18207.patch" to add a check to Lib/wave.py that + verifies that at least one channel is provided. Prior to this + check, attackers could cause a denial of service (divide-by-zero + error and application crash) via a crafted wav format audio file. + [bsc#1083507, CVE-2017-18207] + +--- +Tue May 29 12:42:22 UTC 2018 - mc...@suse.com + +- Apply "python-sorted_tar.patch" (bsc#1086001, boo#1081750) +sort tarfile output directory listing + +--- @@ -147 +232 @@ -Tue Feb 20 13:14:27 UTC 2018 - bwiedem...@suse.com +Tue Mar 13 15:22:47 UTC 2018 - psim...@suse.com @@ -149 +234,4 @@ -- Add python-sorted_tar.patch (boo#1081750) +- Apply "python-2.7.14-CVE-2017-1000158.patch" to prevent integer + overflows in PyString_DecodeEscape that could have resulted in + heap-based buffer
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2019-11-04 17:08:49 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.2990 (New) Package is "python" Mon Nov 4 17:08:49 2019 rev:143 rq:742620 version:2.7.17 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2019-10-22 15:36:53.485133015 +0200 +++ /work/SRC/openSUSE:Factory/.python.new.2990/python-base.changes 2019-11-04 17:08:53.768420719 +0100 @@ -1,0 +2,13 @@ +Thu Oct 24 14:40:39 CEST 2019 - Matej Cepl + +- Update to 2.7.17: + - a bug fix release in the Python 2.7.x series. It is expected +to be the penultimate release for Python 2.7. +- Removed patches included upstream: + - CVE-2018-20852-cookie-domain-check.patch + - CVE-2019-16935-xmlrpc-doc-server_title.patch + - CVE-2019-9636-netloc-no-decompose-characters.patch + - CVE-2019-9947-no-ctrl-char-http.patch + - CVE-2019-9948-avoid_local-file.patch + +--- python.changes: same change Old: CVE-2018-20852-cookie-domain-check.patch CVE-2019-16935-xmlrpc-doc-server_title.patch CVE-2019-9636-netloc-no-decompose-characters.patch CVE-2019-9947-no-ctrl-char-http.patch CVE-2019-9948-avoid_local-file.patch Python-2.7.16.tar.xz Python-2.7.16.tar.xz.asc python-2.7.16-docs-pdf-a4.tar.bz2 python-2.7.16-docs-pdf-letter.tar.bz2 New: Python-2.7.17.tar.xz Python-2.7.17.tar.xz.asc python-2.7.17-docs-pdf-a4.tar.bz2 python-2.7.17-docs-pdf-letter.tar.bz2 Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.VUHDgv/_old 2019-11-04 17:08:55.852422945 +0100 +++ /var/tmp/diff_new_pack.VUHDgv/_new 2019-11-04 17:08:55.860422954 +0100 @@ -17,7 +17,7 @@ Name: python-base -Version:2.7.16 +Version:2.7.17 Release:0 Summary:Python Interpreter base package License:Python-2.0 @@ -72,23 +72,8 @@ # PATCH-FIX-UPSTREAM bpo36160-init-sysconfig_vars.patch gh#python/cpython#12131 mc...@suse.com # Initialize sysconfig variables in test_site. Patch50:bpo36160-init-sysconfig_vars.patch -# PATCH-FIX-UPSTREAM CVE-2019-9636-netloc-no-decompose-characters.patch bsc#1129346 mc...@suse.com -# https://bugs.python.org/issue36216 -Patch51:CVE-2019-9636-netloc-no-decompose-characters.patch -# PATCH-FIX-UPSTREAM CVE-2019-9948-avoid_local-file.patch bsc#1130847 mc...@suse.com -# removing unnecessary (and potentially harmful) URL scheme local-file:// -Patch52:CVE-2019-9948-avoid_local-file.patch -# PATCH-FIX-UPSTREAM CVE-2019-9947-no-ctrl-char-http.patch bsc#1130840 mc...@suse.com -# bpo#30458: Disallow control chars in http URLs. -Patch53:CVE-2019-9947-no-ctrl-char-http.patch -# PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mc...@suse.com -# http.cookiejar.DefaultPolicy.domain_return_ok does not correctly validate the domain -Patch54:CVE-2018-20852-cookie-domain-check.patch # PATCH-FIX-UPSTREAM https://github.com/python/cpython/pull/12341 Patch55:bpo36302-sort-module-sources.patch -# PATCH-FIX-UPSTREAM CVE-2019-16935-xmlrpc-doc-server_title.patch bsc#1153238 mc...@suse.com -# XSS vulnerability in the documentation XML-RPC server in server_title field -Patch56:CVE-2019-16935-xmlrpc-doc-server_title.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -200,12 +185,7 @@ %patch48 -p1 %patch49 -p1 %patch50 -p1 -%patch51 -p1 -%patch52 -p1 -%patch53 -p1 -%patch54 -p1 %patch55 -p1 -%patch56 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.VUHDgv/_old 2019-11-04 17:08:55.876422971 +0100 +++ /var/tmp/diff_new_pack.VUHDgv/_new 2019-11-04 17:08:55.880422975 +0100 @@ -17,7 +17,7 @@ Name: python-doc -Version:2.7.16 +Version:2.7.17 Release:0 Summary:Additional Package Documentation for Python License:Python-2.0 @@ -72,23 +72,8 @@ # PATCH-FIX-UPSTREAM bpo36160-init-sysconfig_vars.patch gh#python/cpython#12131 mc...@suse.com # Initialize sysconfig variables in test_site. Patch50:bpo36160-init-sysconfig_vars.patch -# PATCH-FIX-UPSTREAM CVE-2019-9636-netloc-no-decompose-characters.patch bsc#1129346 mc...@suse.com -# https://bugs.python.org/issue36216 -Patch51:CVE-2019-9636-netloc-no-decompose-characters.patch -# PATCH-FIX-UPSTREAM CVE-2019-9948-avoid_local-file.patch bsc#1130847 mc...@suse.com -# removing unnecessary (and potentially harmful) URL
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2019-10-22 15:36:52 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.2352 (New) Package is "python" Tue Oct 22 15:36:52 2019 rev:142 rq:736441 version:2.7.16 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2019-10-05 16:20:02.625478073 +0200 +++ /work/SRC/openSUSE:Factory/.python.new.2352/python-base.changes 2019-10-22 15:36:53.485133015 +0200 @@ -1,0 +2,7 @@ +Tue Oct 8 19:46:52 CEST 2019 - Matej Cepl + +- Add CVE-2019-16935-xmlrpc-doc-server_title.patch fixing + bsc#1153238 (aka CVE-2019-16935) fixing a reflected XSS in + python/Lib/DocXMLRPCServer.py + +--- python.changes: same change New: CVE-2019-16935-xmlrpc-doc-server_title.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.dll3ii/_old 2019-10-22 15:36:54.885134562 +0200 +++ /var/tmp/diff_new_pack.dll3ii/_new 2019-10-22 15:36:54.885134562 +0200 @@ -86,6 +86,9 @@ Patch54:CVE-2018-20852-cookie-domain-check.patch # PATCH-FIX-UPSTREAM https://github.com/python/cpython/pull/12341 Patch55:bpo36302-sort-module-sources.patch +# PATCH-FIX-UPSTREAM CVE-2019-16935-xmlrpc-doc-server_title.patch bsc#1153238 mc...@suse.com +# XSS vulnerability in the documentation XML-RPC server in server_title field +Patch56:CVE-2019-16935-xmlrpc-doc-server_title.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -202,6 +205,7 @@ %patch53 -p1 %patch54 -p1 %patch55 -p1 +%patch56 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.dll3ii/_old 2019-10-22 15:36:54.901134580 +0200 +++ /var/tmp/diff_new_pack.dll3ii/_new 2019-10-22 15:36:54.905134584 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + Name: python-doc Version:2.7.16 Release:0 @@ -85,6 +86,9 @@ Patch54:CVE-2018-20852-cookie-domain-check.patch # PATCH-FIX-UPSTREAM https://github.com/python/cpython/pull/12341 Patch55:bpo36302-sort-module-sources.patch +# PATCH-FIX-UPSTREAM CVE-2019-16935-xmlrpc-doc-server_title.patch bsc#1153238 mc...@suse.com +# XSS vulnerability in the documentation XML-RPC server in server_title field +Patch56:CVE-2019-16935-xmlrpc-doc-server_title.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -147,6 +151,7 @@ %patch53 -p1 %patch54 -p1 %patch55 -p1 +%patch56 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.dll3ii/_old 2019-10-22 15:36:54.921134601 +0200 +++ /var/tmp/diff_new_pack.dll3ii/_new 2019-10-22 15:36:54.925134607 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + Name: python Version:2.7.16 Release:0 @@ -90,6 +91,9 @@ Patch54:CVE-2018-20852-cookie-domain-check.patch # PATCH-FIX-UPSTREAM https://github.com/python/cpython/pull/12341 Patch55:bpo36302-sort-module-sources.patch +# PATCH-FIX-UPSTREAM CVE-2019-16935-xmlrpc-doc-server_title.patch bsc#1153238 mc...@suse.com +# XSS vulnerability in the documentation XML-RPC server in server_title field +Patch56:CVE-2019-16935-xmlrpc-doc-server_title.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -252,6 +256,7 @@ %patch53 -p1 %patch54 -p1 %patch55 -p1 +%patch56 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ CVE-2019-16935-xmlrpc-doc-server_title.patch ++ >From b41cde823d026f2adc21ef14b1c2e92b1006de06 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Sat, 28 Sep 2019 10:17:25 +0900 Subject: [PATCH 1/3] [2.7] bpo-38243: Escape the server title of DocXMLRPCServer when rendering --- a/Lib/DocXMLRPCServer.py +++ b/Lib/DocXMLRPCServer.py @@ -20,6 +20,16 @@ from SimpleXMLRPCServer import (SimpleXM CGIXMLRPCRequestHandler, resolve_dotted_attribute) + +def _html_escape_quote(s): +s = s.replace("&", "") # Must be done first! +s = s.replace("<", "") +s = s.replace(">", "") +s = s.replace('"', "") +s = s.replace('\'', "") +return s + + class ServerHTMLDoc(pydoc.HTMLDoc): """Class used to generate pydoc HTML document for a server""" @@ -210,7 +220,8 @@ class XMLRPCDocGenerator:
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2019-10-05 16:20:01 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.2352 (New) Package is "python" Sat Oct 5 16:20:01 2019 rev:141 rq:734624 version:2.7.16 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2019-07-30 13:03:31.150412929 +0200 +++ /work/SRC/openSUSE:Factory/.python.new.2352/python-base.changes 2019-10-05 16:20:02.625478073 +0200 @@ -1,0 +2,5 @@ +Wed Sep 25 13:25:33 UTC 2019 - Bernhard Wiedemann + +- Add bpo36302-sort-module-sources.patch (boo#1041090) + +--- python.changes: same change New: bpo36302-sort-module-sources.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.LJwSx3/_old 2019-10-05 16:20:04.973471959 +0200 +++ /var/tmp/diff_new_pack.LJwSx3/_new 2019-10-05 16:20:04.977471949 +0200 @@ -84,6 +84,8 @@ # PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mc...@suse.com # http.cookiejar.DefaultPolicy.domain_return_ok does not correctly validate the domain Patch54:CVE-2018-20852-cookie-domain-check.patch +# PATCH-FIX-UPSTREAM https://github.com/python/cpython/pull/12341 +Patch55:bpo36302-sort-module-sources.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -199,6 +201,7 @@ %patch52 -p1 %patch53 -p1 %patch54 -p1 +%patch55 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.LJwSx3/_old 2019-10-05 16:20:05.009471866 +0200 +++ /var/tmp/diff_new_pack.LJwSx3/_new 2019-10-05 16:20:05.021471835 +0200 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - Name: python-doc Version:2.7.16 Release:0 @@ -84,6 +83,8 @@ # PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mc...@suse.com # http.cookiejar.DefaultPolicy.domain_return_ok does not correctly validate the domain Patch54:CVE-2018-20852-cookie-domain-check.patch +# PATCH-FIX-UPSTREAM https://github.com/python/cpython/pull/12341 +Patch55:bpo36302-sort-module-sources.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -145,6 +146,7 @@ %patch52 -p1 %patch53 -p1 %patch54 -p1 +%patch55 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.LJwSx3/_old 2019-10-05 16:20:05.061471731 +0200 +++ /var/tmp/diff_new_pack.LJwSx3/_new 2019-10-05 16:20:05.065471720 +0200 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - Name: python Version:2.7.16 Release:0 @@ -89,6 +88,8 @@ # PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mc...@suse.com # http.cookiejar.DefaultPolicy.domain_return_ok does not correctly validate the domain Patch54:CVE-2018-20852-cookie-domain-check.patch +# PATCH-FIX-UPSTREAM https://github.com/python/cpython/pull/12341 +Patch55:bpo36302-sort-module-sources.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -250,6 +251,7 @@ %patch52 -p1 %patch53 -p1 %patch54 -p1 +%patch55 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ bpo36302-sort-module-sources.patch ++ diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 86a85c1..66bf0c2 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -455,7 +455,7 @@ class build_ext (Command): ("in 'ext_modules' option (extension '%s'), " + "'sources' must be present and must be " + "a list of source filenames") % ext.name -sources = list(sources) +sources = sorted(sources) ext_path = self.get_ext_fullpath(ext.name) depends = sources + ext.depends
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2019-08-27 15:19:48 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.7948 (New) Package is "python" Tue Aug 27 15:19:48 2019 rev:140 rq:724359 version:2.7.16 Changes: python-doc.changes: same change --- /work/SRC/openSUSE:Factory/python/python.changes2019-07-30 13:03:31.278412903 +0200 +++ /work/SRC/openSUSE:Factory/.python.new.7948/python.changes 2019-08-27 15:19:49.692887916 +0200 @@ -1,0 +2,5 @@ +Sat Aug 17 13:11:11 UTC 2019 - John Vandenberg + +- Remove xrpm from subpackage tk description + +--- Other differences: -- python-doc.spec: same change ++ python.spec ++ --- /var/tmp/diff_new_pack.fOO14r/_old 2019-08-27 15:19:51.052887231 +0200 +++ /var/tmp/diff_new_pack.fOO14r/_new 2019-08-27 15:19:51.056887229 +0200 @@ -173,8 +173,7 @@ Provides: python2-tk = %{version} %description tk -Python interface to Tk. Tk is the GUI toolkit that comes with Tcl. The -"xrpm" package uses this Python interface. +Python interface to Tk. Tk is the GUI toolkit that comes with Tcl. %package curses Summary:Python Interface to the (N)Curses Library
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2019-07-30 13:03:27 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.4126 (New) Package is "python" Tue Jul 30 13:03:27 2019 rev:139 rq:717087 version:2.7.16 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2019-06-24 21:44:46.923718456 +0200 +++ /work/SRC/openSUSE:Factory/.python.new.4126/python-base.changes 2019-07-30 13:03:31.150412929 +0200 @@ -1,0 +2,14 @@ +Fri Jul 19 13:28:16 CEST 2019 - Matej Cepl + +- boo#1141853 (CVE-2018-20852) add + CVE-2018-20852-cookie-domain-check.patch fixing + http.cookiejar.DefaultPolicy.domain_return_ok which did not + correctly validate the domain: it could be tricked into sending + cookies to the wrong server. + +--- +Fri Jul 19 11:19:42 UTC 2019 - Tomáš Chvátal + +- Skip test_urllib2_localnet that randomly fails in OBS + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2019-06-24 21:44:47.191718606 +0200 +++ /work/SRC/openSUSE:Factory/.python.new.4126/python.changes 2019-07-30 13:03:31.278412903 +0200 @@ -1,0 +2,5 @@ +Fri Jul 19 11:19:42 UTC 2019 - Tomáš Chvátal + +- Skip test_urllib2_localnet that randomly fails in OBS + +--- New: CVE-2018-20852-cookie-domain-check.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.H68e9p/_old 2019-07-30 13:03:34.506412254 +0200 +++ /var/tmp/diff_new_pack.H68e9p/_new 2019-07-30 13:03:34.510412253 +0200 @@ -81,6 +81,9 @@ # PATCH-FIX-UPSTREAM CVE-2019-9947-no-ctrl-char-http.patch bsc#1130840 mc...@suse.com # bpo#30458: Disallow control chars in http URLs. Patch53:CVE-2019-9947-no-ctrl-char-http.patch +# PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mc...@suse.com +# http.cookiejar.DefaultPolicy.domain_return_ok does not correctly validate the domain +Patch54:CVE-2018-20852-cookie-domain-check.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -195,6 +198,7 @@ %patch51 -p1 %patch52 -p1 %patch53 -p1 +%patch54 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac @@ -235,7 +239,8 @@ %ifnarch hppa # test_file(2k) fails in autobuild env - "stdin.seek(-1)" wrongly succeeds. probably an issue with autobuild's stdin # test_urllib2 relies on being able to resolve local address, which is notoriously impossible in autobuild -EXCLUDE="test_urllib2 test_file test_file2k" +# test_urllib2_localnet randomly fails out +EXCLUDE="test_urllib2 test_urllib2_localnet test_file test_file2k" # test_nis and test_threading are AWFULLY slow. EXCLUDE="$EXCLUDE test_nis test_threading" # test_gdb fails if gdb with (different) python support is part of the buildsystem ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.H68e9p/_old 2019-07-30 13:03:34.522412250 +0200 +++ /var/tmp/diff_new_pack.H68e9p/_new 2019-07-30 13:03:34.526412249 +0200 @@ -81,6 +81,9 @@ # PATCH-FIX-UPSTREAM CVE-2019-9947-no-ctrl-char-http.patch bsc#1130840 mc...@suse.com # bpo#30458: Disallow control chars in http URLs. Patch53:CVE-2019-9947-no-ctrl-char-http.patch +# PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mc...@suse.com +# http.cookiejar.DefaultPolicy.domain_return_ok does not correctly validate the domain +Patch54:CVE-2018-20852-cookie-domain-check.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -141,6 +144,7 @@ %patch51 -p1 %patch52 -p1 %patch53 -p1 +%patch54 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.H68e9p/_old 2019-07-30 13:03:34.542412246 +0200 +++ /var/tmp/diff_new_pack.H68e9p/_new 2019-07-30 13:03:34.546412246 +0200 @@ -86,6 +86,9 @@ # PATCH-FIX-UPSTREAM CVE-2019-9947-no-ctrl-char-http.patch bsc#1130840 mc...@suse.com # bpo#30458: Disallow control chars in http URLs. Patch53:CVE-2019-9947-no-ctrl-char-http.patch +# PATCH-FIX-UPSTREAM CVE-2018-20852-cookie-domain-check.patch bsc#1141853 mc...@suse.com +# http.cookiejar.DefaultPolicy.domain_return_ok does not correctly validate the domain +Patch54:CVE-2018-20852-cookie-domain-check.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -247,6 +250,7 @@ %patch51 -p1 %patch52 -p1 %patch53 -p1 +%patch54 -p1 #
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2019-06-24 21:44:43 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.4615 (New) Package is "python" Mon Jun 24 21:44:43 2019 rev:138 rq:706252 version:2.7.16 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2019-04-14 12:21:24.491688153 +0200 +++ /work/SRC/openSUSE:Factory/.python.new.4615/python-base.changes 2019-06-24 21:44:46.923718456 +0200 @@ -1,0 +2,15 @@ +Wed May 29 08:58:16 UTC 2019 - Martin Liška + +- Set _lto_cflags to nil as it will prevent to propage LTO + for Python modules that are built in a separate package. + +--- +Thu May 2 08:40:33 CEST 2019 - Matej Cepl + +- bsc#1130840 (CVE-2019-9947): add CVE-2019-9947-no-ctrl-char-http.patch + Address the issue by disallowing URL paths with embedded + whitespace or control characters through into the underlying + http client request. Such potentially malicious header + injection URLs now cause a ValueError to be raised. + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2018-12-10 12:21:28.874937406 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.4615/python.changes 2019-06-24 21:44:47.191718606 +0200 @@ -1,0 +2,6 @@ +Wed May 29 08:58:16 UTC 2019 - Martin Liška + +- Set _lto_cflags to nil as it will prevent to propage LTO + for Python modules that are built in a separate package. + +--- New: CVE-2019-9947-no-ctrl-char-http.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.GSs6IL/_old 2019-06-24 21:44:51.583721072 +0200 +++ /var/tmp/diff_new_pack.GSs6IL/_new 2019-06-24 21:44:51.615721090 +0200 @@ -78,6 +78,9 @@ # PATCH-FIX-UPSTREAM CVE-2019-9948-avoid_local-file.patch bsc#1130847 mc...@suse.com # removing unnecessary (and potentially harmful) URL scheme local-file:// Patch52:CVE-2019-9948-avoid_local-file.patch +# PATCH-FIX-UPSTREAM CVE-2019-9947-no-ctrl-char-http.patch bsc#1130840 mc...@suse.com +# bpo#30458: Disallow control chars in http URLs. +Patch53:CVE-2019-9947-no-ctrl-char-http.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -191,12 +194,14 @@ %patch50 -p1 %patch51 -p1 %patch52 -p1 +%patch53 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac # COMMON-PREP-END %build +%define _lto_cflags %{nil} export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv" autoreconf -f -i . # Modules/_ctypes/libffi ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.GSs6IL/_old 2019-06-24 21:44:51.951721279 +0200 +++ /var/tmp/diff_new_pack.GSs6IL/_new 2019-06-24 21:44:51.975721292 +0200 @@ -78,6 +78,9 @@ # PATCH-FIX-UPSTREAM CVE-2019-9948-avoid_local-file.patch bsc#1130847 mc...@suse.com # removing unnecessary (and potentially harmful) URL scheme local-file:// Patch52:CVE-2019-9948-avoid_local-file.patch +# PATCH-FIX-UPSTREAM CVE-2019-9947-no-ctrl-char-http.patch bsc#1130840 mc...@suse.com +# bpo#30458: Disallow control chars in http URLs. +Patch53:CVE-2019-9947-no-ctrl-char-http.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -137,6 +140,7 @@ %patch50 -p1 %patch51 -p1 %patch52 -p1 +%patch53 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.GSs6IL/_old 2019-06-24 21:44:52.335721494 +0200 +++ /var/tmp/diff_new_pack.GSs6IL/_new 2019-06-24 21:44:52.355721505 +0200 @@ -83,6 +83,9 @@ # PATCH-FIX-UPSTREAM CVE-2019-9948-avoid_local-file.patch bsc#1130847 mc...@suse.com # removing unnecessary (and potentially harmful) URL scheme local-file:// Patch52:CVE-2019-9948-avoid_local-file.patch +# PATCH-FIX-UPSTREAM CVE-2019-9947-no-ctrl-char-http.patch bsc#1130840 mc...@suse.com +# bpo#30458: Disallow control chars in http URLs. +Patch53:CVE-2019-9947-no-ctrl-char-http.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -243,6 +246,7 @@ %patch50 -p1 %patch51 -p1 %patch52 -p1 +%patch53 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac @@ -253,6 +257,7 @@ %endif %build +%define _lto_cflags %{nil} export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv" autoreconf -f -i . # Modules/_ctypes/libffi ++ CVE-2019-9947-no-ctrl-char-http.patch ++
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2019-04-14 12:21:11 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.27019 (New) Package is "python" Sun Apr 14 12:21:11 2019 rev:137 rq:692401 version:2.7.16 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2019-02-26 22:13:42.594246870 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.27019/python-base.changes 2019-04-14 12:21:24.491688153 +0200 @@ -1,0 +2,44 @@ +Mon Apr 8 22:40:01 CEST 2019 - Matej Cepl + +- bsc#1130847 (CVE-2019-9948) add CVE-2019-9948-avoid_local-file.patch + removing unnecessary (and potentially harmful) URL scheme + local-file://. + +--- +Mon Apr 8 21:13:48 CEST 2019 - Matej Cepl + +- bsc#1129346: add CVE-2019-9636-netloc-no-decompose-characters.patch + Characters in the netloc attribute that decompose under NFKC + normalization (as used by the IDNA encoding) into any of ``/``, + ``?``, ``#``, ``@``, or ``:`` will raise a ValueError. If the + URL is decomposed before parsing, or is not a Unicode string, + no error will be raised. + Upstream commits e37ef41 and 507bd8c. + +--- +Thu Apr 4 22:28:24 CEST 2019 - Matej Cepl + +- Update to 2.7.16: + * bugfix-only release: complete list of changes on +https://github.com/python/cpython/blob/2.7/Misc/NEWS.d/2.7.16rc1.rst + * Removed openssl-111.patch and CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch +which are fully included in the tarball. + * Updated patches to apply cleanly: +CVE-2019-5010-null-defer-x509-cert-DOS.patch +bpo36160-init-sysconfig_vars.patch +do-not-use-non-ascii-in-test_ssl.patch +openssl-111-middlebox-compat.patch +openssl-111-ssl_options.patch +python-2.5.1-sqlite.patch +python-2.6-gettext-plurals.patch +python-2.7-dirs.patch +python-2.7.2-fix_date_time_compiler.patch +python-2.7.4-canonicalize2.patch +python-2.7.5-multilib.patch +python-2.7.9-ssl_ca_path.patch +python-bsddb6.diff +remove-static-libpython.diff + * Update python-2.7.5-multilib.patch to pass with new platlib +regime. + +--- python.changes: same change Old: CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch Python-2.7.15.tar.xz Python-2.7.15.tar.xz.asc openssl-111.patch python-2.7.15-docs-pdf-a4.tar.bz2 python-2.7.15-docs-pdf-letter.tar.bz2 New: CVE-2019-9636-netloc-no-decompose-characters.patch CVE-2019-9948-avoid_local-file.patch Python-2.7.16.tar.xz Python-2.7.16.tar.xz.asc bpo36160-init-sysconfig_vars.patch python-2.7.16-docs-pdf-a4.tar.bz2 python-2.7.16-docs-pdf-letter.tar.bz2 Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.QP9QkA/_old 2019-04-14 12:21:26.547690619 +0200 +++ /var/tmp/diff_new_pack.QP9QkA/_new 2019-04-14 12:21:26.547690619 +0200 @@ -17,7 +17,7 @@ Name: python-base -Version:2.7.15 +Version:2.7.16 Release:0 Summary:Python Interpreter base package License:Python-2.0 @@ -61,11 +61,6 @@ Patch40:python-skip_random_failing_tests.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 Patch41:python-sorted_tar.patch -# https://github.com/python/cpython/pull/8771 -Patch42:openssl-111.patch -# PATCH-FIX-UPSTREAM CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch mc...@suse.com -# Suggested in https://github.com/python/cpython/commit/add531a1e55b.patch -Patch43:CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch # https://github.com/python/cpython/pull/9624 (https://bugs.python.org/issue34834) Patch47:openssl-111-middlebox-compat.patch # PATCH-FIX-SUSE python default SSLContext doesn't contain OP_CIPHER_SERVER_PREFERENCE @@ -74,6 +69,15 @@ # https://github.com/python/cpython/pull/11569 # Fix segfault in ssl's cert parser Patch49:CVE-2019-5010-null-defer-x509-cert-DOS.patch +# PATCH-FIX-UPSTREAM bpo36160-init-sysconfig_vars.patch gh#python/cpython#12131 mc...@suse.com +# Initialize sysconfig variables in test_site. +Patch50:bpo36160-init-sysconfig_vars.patch +# PATCH-FIX-UPSTREAM CVE-2019-9636-netloc-no-decompose-characters.patch bsc#1129346 mc...@suse.com +# https://bugs.python.org/issue36216 +Patch51:CVE-2019-9636-netloc-no-decompose-characters.patch +# PATCH-FIX-UPSTREAM CVE-2019-9948-avoid_local-file.patch bsc#1130847 mc...@suse.com +# removing
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2019-02-26 22:13:27 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.28833 (New) Package is "python" Tue Feb 26 22:13:27 2019 rev:136 rq:677944 version:2.7.15 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2018-12-24 11:36:16.473724650 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.28833/python-base.changes 2019-02-26 22:13:42.594246870 +0100 @@ -1,0 +2,12 @@ +Sat Jan 19 16:19:38 CET 2019 - mc...@suse.com + +- bsc#1122191: add CVE-2019-5010-null-defer-x509-cert-DOS.patch + fixing bpo-35746. + An exploitable denial-of-service vulnerability exists in the + X509 certificate parser of Python.org Python 2.7.11 / 3.7.2. + A specially crafted X509 certificate can cause a NULL pointer + dereference, resulting in a denial of service. An attacker can + initiate or accept TLS connections using crafted certificates + to trigger this vulnerability. + +--- python.changes: same change New: CVE-2019-5010-null-defer-x509-cert-DOS.patch python-base-rpmlintrc Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.6QhtAb/_old 2019-02-26 22:13:44.850246078 +0100 +++ /var/tmp/diff_new_pack.6QhtAb/_new 2019-02-26 22:13:44.854246076 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-base # -# Copyright (c) 2018 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 @@ -32,6 +32,7 @@ Source2:baselibs.conf Source3:README.SUSE Source5:local.pth +Source99: python-base-rpmlintrc # COMMON-PATCH-BEGIN Patch1: python-2.7-dirs.patch Patch2: python-distutils-rpm-8.patch @@ -69,6 +70,10 @@ Patch47:openssl-111-middlebox-compat.patch # PATCH-FIX-SUSE python default SSLContext doesn't contain OP_CIPHER_SERVER_PREFERENCE Patch48:openssl-111-ssl_options.patch +# PATCH-FIX-UPSTREAM CVE-2019-5010-null-defer-x509-cert-DOS.patch bnc#1122191 mc...@suse.com +# https://github.com/python/cpython/pull/11569 +# Fix segfault in ssl's cert parser +Patch49:CVE-2019-5010-null-defer-x509-cert-DOS.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -180,6 +185,7 @@ %patch43 -p1 %patch47 -p1 %patch48 -p1 +%patch49 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.6QhtAb/_old 2019-02-26 22:13:44.870246070 +0100 +++ /var/tmp/diff_new_pack.6QhtAb/_new 2019-02-26 22:13:44.874246069 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-doc # -# Copyright (c) 2018 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 @@ -70,6 +70,10 @@ Patch47:openssl-111-middlebox-compat.patch # PATCH-FIX-SUSE python default SSLContext doesn't contain OP_CIPHER_SERVER_PREFERENCE Patch48:openssl-111-ssl_options.patch +# PATCH-FIX-UPSTREAM CVE-2019-5010-null-defer-x509-cert-DOS.patch bnc#1122191 mc...@suse.com +# https://github.com/python/cpython/pull/11569 +# Fix segfault in ssl's cert parser +Patch49:CVE-2019-5010-null-defer-x509-cert-DOS.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -127,6 +131,7 @@ %patch43 -p1 %patch47 -p1 %patch48 -p1 +%patch49 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.6QhtAb/_old 2019-02-26 22:13:44.890246064 +0100 +++ /var/tmp/diff_new_pack.6QhtAb/_new 2019-02-26 22:13:44.890246064 +0100 @@ -1,7 +1,7 @@ # # spec file for package python # -# Copyright (c) 2018 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 @@ -75,6 +75,10 @@ Patch47:openssl-111-middlebox-compat.patch # PATCH-FIX-SUSE python default SSLContext doesn't contain OP_CIPHER_SERVER_PREFERENCE Patch48:openssl-111-ssl_options.patch +# PATCH-FIX-UPSTREAM CVE-2019-5010-null-defer-x509-cert-DOS.patch
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2018-12-24 11:36:15 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.28833 (New) Package is "python" Mon Dec 24 11:36:15 2018 rev:135 rq:660147 version:2.7.15 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2018-12-10 12:21:27.466938809 +0100 +++ /work/SRC/openSUSE:Factory/.python.new.28833/python-base.changes 2018-12-24 11:36:16.473724650 +0100 @@ -1,0 +2,6 @@ +Wed Dec 19 19:29:44 UTC 2018 - Todd R + +- Use upstream-recommended %{_rpmconfigdir}/macros.d directory + for the rpm macros. + +--- python.changes: same change Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.fUOd9m/_old 2018-12-24 11:36:17.685723573 +0100 +++ /var/tmp/diff_new_pack.fUOd9m/_new 2018-12-24 11:36:17.685723573 +0100 @@ -275,8 +275,8 @@ %make_install OPT="%{optflags} -fPIC" install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages/_local.pth -install -d -m 755 %{buildroot}%{_sysconfdir}/rpm -install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm +install -d -m 755 %{buildroot}%{_rpmconfigdir}/macros.d/ +install -m 644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/ # make sure /usr/lib/python/site-packages exists even on lib64 machines mkdir -p %{buildroot}%{_prefix}/lib/python%{python_version}/site-packages @@ -348,7 +348,7 @@ %files %defattr(644, root, root, 755) -%config %{_sysconfdir}/rpm/macros.python2 +%{_rpmconfigdir}/macros.d/macros.python2 %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/README %doc %{_docdir}/%{name}/LICENSE python.spec: same change
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2018-12-10 12:21:19 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new.19453 (New) Package is "python" Mon Dec 10 12:21:19 2018 rev:134 rq:645305 version:2.7.15 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2018-10-02 19:41:29.802202938 +0200 +++ /work/SRC/openSUSE:Factory/.python.new.19453/python-base.changes 2018-12-10 12:21:27.466938809 +0100 @@ -1,0 +2,5 @@ +Fri Oct 26 10:48:44 UTC 2018 - Tomáš Chvátal + +- Add patch openssl-111.patch to work with openssl-1.1.1 + +--- python-doc.changes: same change --- /work/SRC/openSUSE:Factory/python/python.changes2018-10-02 19:41:33.906196841 +0200 +++ /work/SRC/openSUSE:Factory/.python.new.19453/python.changes 2018-12-10 12:21:28.874937406 +0100 @@ -1,0 +2,14 @@ +Mon Oct 29 13:21:20 UTC 2018 - Vítězslav Čížek + +- Enable all the tests in %check +- Add more patches to successfully build with openssl 1.1.1 + (bsc#1113755) + * openssl-111-middlebox-compat.patch + * openssl-111-ssl_options.patch + +--- +Fri Oct 26 10:48:44 UTC 2018 - Tomáš Chvátal + +- Add patch openssl-111.patch to work with openssl-1.1.1 + +--- New: openssl-111-middlebox-compat.patch openssl-111-ssl_options.patch openssl-111.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.ymMtcP/_old 2018-12-10 12:21:30.138936148 +0100 +++ /var/tmp/diff_new_pack.ymMtcP/_new 2018-12-10 12:21:30.138936148 +0100 @@ -60,10 +60,15 @@ Patch40:python-skip_random_failing_tests.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 Patch41:python-sorted_tar.patch +# https://github.com/python/cpython/pull/8771 +Patch42:openssl-111.patch # PATCH-FIX-UPSTREAM CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch mc...@suse.com # Suggested in https://github.com/python/cpython/commit/add531a1e55b.patch -Patch42:CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch -# +Patch43:CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch +# https://github.com/python/cpython/pull/9624 (https://bugs.python.org/issue34834) +Patch47:openssl-111-middlebox-compat.patch +# PATCH-FIX-SUSE python default SSLContext doesn't contain OP_CIPHER_SERVER_PREFERENCE +Patch48:openssl-111-ssl_options.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -172,6 +177,9 @@ %endif %patch41 -p1 %patch42 -p1 +%patch43 -p1 +%patch47 -p1 +%patch48 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.ymMtcP/_old 2018-12-10 12:21:30.170936116 +0100 +++ /var/tmp/diff_new_pack.ymMtcP/_new 2018-12-10 12:21:30.174936113 +0100 @@ -61,10 +61,15 @@ Patch40:python-skip_random_failing_tests.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 Patch41:python-sorted_tar.patch +# https://github.com/python/cpython/pull/8771 +Patch42:openssl-111.patch # PATCH-FIX-UPSTREAM CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch mc...@suse.com # Suggested in https://github.com/python/cpython/commit/add531a1e55b.patch -Patch42:CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch -# +Patch43:CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch +# https://github.com/python/cpython/pull/9624 (https://bugs.python.org/issue34834) +Patch47:openssl-111-middlebox-compat.patch +# PATCH-FIX-SUSE python default SSLContext doesn't contain OP_CIPHER_SERVER_PREFERENCE +Patch48:openssl-111-ssl_options.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -119,6 +124,9 @@ %endif %patch41 -p1 %patch42 -p1 +%patch43 -p1 +%patch47 -p1 +%patch48 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.ymMtcP/_old 2018-12-10 12:21:30.230936057 +0100 +++ /var/tmp/diff_new_pack.ymMtcP/_new 2018-12-10 12:21:30.234936052 +0100 @@ -66,10 +66,15 @@ Patch40:python-skip_random_failing_tests.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 Patch41:python-sorted_tar.patch +# https://github.com/python/cpython/pull/8771 +Patch42:openssl-111.patch # PATCH-FIX-UPSTREAM
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2018-10-02 19:41:22 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Tue Oct 2 19:41:22 2018 rev:133 rq:638809 version:2.7.15 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2018-05-25 21:36:32.445649011 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2018-10-02 19:41:29.802202938 +0200 @@ -1,0 +2,7 @@ +Tue Sep 25 22:01:08 UTC 2018 - Matěj Cepl + +- Apply "CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch" which + converts shutil._call_external_zip to use subprocess rather than + distutils.spawn. [bsc#1109663, CVE-2018-1000802] + +--- python-doc.changes: same change python.changes: same change New: CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.88zoie/_old 2018-10-02 19:41:35.578194358 +0200 +++ /var/tmp/diff_new_pack.88zoie/_new 2018-10-02 19:41:35.578194358 +0200 @@ -12,7 +12,7 @@ # 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/ # @@ -60,6 +60,10 @@ Patch40:python-skip_random_failing_tests.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 Patch41:python-sorted_tar.patch +# PATCH-FIX-UPSTREAM CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch mc...@suse.com +# Suggested in https://github.com/python/cpython/commit/add531a1e55b.patch +Patch42:CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch +# # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -167,6 +171,7 @@ %patch40 -p1 %endif %patch41 -p1 +%patch42 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.88zoie/_old 2018-10-02 19:41:35.638194269 +0200 +++ /var/tmp/diff_new_pack.88zoie/_new 2018-10-02 19:41:35.642194262 +0200 @@ -12,7 +12,7 @@ # 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/ # @@ -61,6 +61,10 @@ Patch40:python-skip_random_failing_tests.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 Patch41:python-sorted_tar.patch +# PATCH-FIX-UPSTREAM CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch mc...@suse.com +# Suggested in https://github.com/python/cpython/commit/add531a1e55b.patch +Patch42:CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch +# # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -114,6 +118,7 @@ %patch40 -p1 %endif %patch41 -p1 +%patch42 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.88zoie/_old 2018-10-02 19:41:35.666194227 +0200 +++ /var/tmp/diff_new_pack.88zoie/_new 2018-10-02 19:41:35.670194221 +0200 @@ -12,7 +12,7 @@ # 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/ # @@ -66,6 +66,10 @@ Patch40:python-skip_random_failing_tests.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 Patch41:python-sorted_tar.patch +# PATCH-FIX-UPSTREAM CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch mc...@suse.com +# Suggested in https://github.com/python/cpython/commit/add531a1e55b.patch +Patch42:CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch +# # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -220,6 +224,7 @@ %patch40 -p1 %endif %patch41 -p1 +%patch42 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch ++ >From add531a1e55b0a739b0f42582f1c9747e5649ace Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 28 Aug 2018 22:12:56 -0700 Subject: [PATCH] closes bpo-34540: Convert shutil._call_external_zip to use subprocess
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2018-05-25 21:36:18 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Fri May 25 21:36:18 2018 rev:132 rq:611151 version:2.7.15 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2018-04-07 20:54:11.924597808 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2018-05-25 21:36:32.445649011 +0200 @@ -1,0 +2,12 @@ +Mon May 21 18:41:43 UTC 2018 - mich...@stroeder.com + +- update to 2.7.15 + * dozens of bugfixes, see NEWS for details +- removed obsolete patches: + * python-ncurses-6.0-accessors.patch + * python-fix-shebang.patch + * gcc8-miscompilation-fix.patch +- add patch from upstream: + * do-not-use-non-ascii-in-test_ssl.patch + +--- python-doc.changes: same change python.changes: same change Old: Python-2.7.14.tar.xz Python-2.7.14.tar.xz.asc gcc8-miscompilation-fix.patch python-2.7.14-docs-pdf-a4.tar.bz2 python-2.7.14-docs-pdf-letter.tar.bz2 python-fix-shebang.patch python-ncurses-6.0-accessors.patch New: Python-2.7.15.tar.xz Python-2.7.15.tar.xz.asc do-not-use-non-ascii-in-test_ssl.patch python-2.7.15-docs-pdf-a4.tar.bz2 python-2.7.15-docs-pdf-letter.tar.bz2 Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.UgSoPM/_old 2018-05-25 21:36:35.493538689 +0200 +++ /var/tmp/diff_new_pack.UgSoPM/_new 2018-05-25 21:36:35.513537966 +0200 @@ -17,7 +17,7 @@ Name: python-base -Version:2.7.14 +Version:2.7.15 Release:0 Summary:Python Interpreter base package License:Python-2.0 @@ -52,17 +52,14 @@ Patch33:python-2.7.9-ssl_ca_path.patch # PATCH-FEATURE-SLE disable SSL verification-by-default in http clients Patch34:python-2.7.9-sles-disable-verification-by-default.patch -# PATCH-FIX-UPSTREAM python-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 -Patch35:python-ncurses-6.0-accessors.patch +# PATCH-FIX-UPSTREAM do not use non-ASCII filename in test_ssl.py +Patch35:do-not-use-non-ascii-in-test_ssl.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly Patch38:reproducible.patch -# PATCH-FIX-UPSTREAM taken from upstream fix py3 shebang -Patch39:python-fix-shebang.patch # bypass boo#1078485 random failing tests Patch40:python-skip_random_failing_tests.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 Patch41:python-sorted_tar.patch -Patch42:gcc8-miscompilation-fix.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -166,12 +163,10 @@ %endif %patch35 -p1 %patch38 -p1 -%patch39 -p1 %ifarch ppc ppc64 ppc64le %patch40 -p1 %endif %patch41 -p1 -%patch42 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.UgSoPM/_old 2018-05-25 21:36:35.569535939 +0200 +++ /var/tmp/diff_new_pack.UgSoPM/_new 2018-05-25 21:36:35.577535649 +0200 @@ -17,7 +17,7 @@ Name: python-doc -Version:2.7.14 +Version:2.7.15 Release:0 Summary:Additional Package Documentation for Python License:Python-2.0 @@ -53,12 +53,10 @@ Patch33:python-2.7.9-ssl_ca_path.patch # PATCH-FEATURE-SLE disable SSL verification-by-default in http clients Patch34:python-2.7.9-sles-disable-verification-by-default.patch -# PATCH-FIX-UPSTREAM python-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 -Patch35:python-ncurses-6.0-accessors.patch +# PATCH-FIX-UPSTREAM do not use non-ASCII filename in test_ssl.py +Patch35:do-not-use-non-ascii-in-test_ssl.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly Patch38:reproducible.patch -# PATCH-FIX-UPSTREAM taken from upstream fix py3 shebang -Patch39:python-fix-shebang.patch # bypass boo#1078485 random failing tests Patch40:python-skip_random_failing_tests.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 @@ -112,7 +110,6 @@ %endif %patch35 -p1 %patch38 -p1 -%patch39 -p1 %ifarch ppc ppc64 ppc64le %patch40 -p1 %endif ++ python.spec ++ --- /var/tmp/diff_new_pack.UgSoPM/_old 2018-05-25 21:36:35.625533913 +0200 +++
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2018-04-07 20:54:08 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Sat Apr 7 20:54:08 2018 rev:131 rq:593955 version:2.7.14 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2018-02-25 12:19:54.704874279 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2018-04-07 20:54:11.924597808 +0200 @@ -1,0 +2,5 @@ +Fri Apr 6 10:11:22 UTC 2018 - mli...@suse.cz + +- Add gcc8-miscompilation-fix.patch (boo#1084650). + +--- python.changes: same change New: gcc8-miscompilation-fix.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.WgE6T7/_old 2018-04-07 20:54:14.296511959 +0200 +++ /var/tmp/diff_new_pack.WgE6T7/_new 2018-04-07 20:54:14.308511525 +0200 @@ -62,6 +62,7 @@ Patch40:python-skip_random_failing_tests.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 Patch41:python-sorted_tar.patch +Patch42:gcc8-miscompilation-fix.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -170,6 +171,7 @@ %patch40 -p1 %endif %patch41 -p1 +%patch42 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac python.spec: same change ++ gcc8-miscompilation-fix.patch ++ diff --git a/Include/objimpl.h b/Include/objimpl.h index 55e83eced6..aa906144dc 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h @@ -248,6 +248,18 @@ PyAPI_FUNC(PyVarObject *) _PyObject_GC_Resize(PyVarObject *, Py_ssize_t); /* for source compatibility with 2.2 */ #define _PyObject_GC_Del PyObject_GC_Del +/* Former over-aligned definition of PyGC_Head, used to compute the + size of the padding for the new version below. */ +union _gc_head; +union _gc_head_old { +struct { +union _gc_head *gc_next; +union _gc_head *gc_prev; +Py_ssize_t gc_refs; +} gc; +long double dummy; +}; + /* GC information is stored BEFORE the object structure. */ typedef union _gc_head { struct { @@ -255,7 +267,8 @@ typedef union _gc_head { union _gc_head *gc_prev; Py_ssize_t gc_refs; } gc; -long double dummy; /* force worst-case alignment */ +double dummy; /* force worst-case alignment */ +char dummy_padding[sizeof(union _gc_head_old)]; } PyGC_Head; extern PyGC_Head *_PyGC_generation0;
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2018-02-25 12:19:49 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Sun Feb 25 12:19:49 2018 rev:130 rq:578360 version:2.7.14 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2018-02-09 15:43:53.919249248 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2018-02-25 12:19:54.704874279 +0100 @@ -1,0 +2,5 @@ +Tue Feb 20 13:14:27 UTC 2018 - bwiedem...@suse.com + +- Add python-sorted_tar.patch (boo#1081750) + +--- python.changes: same change New: python-sorted_tar.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.IzglKT/_old 2018-02-25 12:20:02.808580770 +0100 +++ /var/tmp/diff_new_pack.IzglKT/_new 2018-02-25 12:20:02.812580625 +0100 @@ -60,6 +60,8 @@ Patch39:python-fix-shebang.patch # bypass boo#1078485 random failing tests Patch40:python-skip_random_failing_tests.patch +# PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 +Patch41:python-sorted_tar.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -167,6 +169,7 @@ %ifarch ppc ppc64 ppc64le %patch40 -p1 %endif +%patch41 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.IzglKT/_old 2018-02-25 12:20:02.852579177 +0100 +++ /var/tmp/diff_new_pack.IzglKT/_new 2018-02-25 12:20:02.856579032 +0100 @@ -61,6 +61,8 @@ Patch39:python-fix-shebang.patch # bypass boo#1078485 random failing tests Patch40:python-skip_random_failing_tests.patch +# PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 +Patch41:python-sorted_tar.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -114,6 +116,7 @@ %ifarch ppc ppc64 ppc64le %patch40 -p1 %endif +%patch41 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.IzglKT/_old 2018-02-25 12:20:02.920576714 +0100 +++ /var/tmp/diff_new_pack.IzglKT/_new 2018-02-25 12:20:02.924576569 +0100 @@ -66,6 +66,8 @@ Patch39:python-fix-shebang.patch # bypass boo#1078485 random failing tests Patch40:python-skip_random_failing_tests.patch +# PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 +Patch41:python-sorted_tar.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -220,6 +222,7 @@ %ifarch ppc ppc64 ppc64le %patch40 -p1 %endif +%patch41 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-sorted_tar.patch ++ commit 6936e36efcc0a75c7d5e67b949c9749d61fa5ead Author: Bernhard M. WiedemannDate: Sun Jun 18 03:50:25 2017 +0200 tarfile: sort directory listing to generate tar files in a more reproducible way diff --git a/Lib/tarfile.py b/Lib/tarfile.py index adf91d5382..36f6ed7167 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -2027,7 +2027,7 @@ class TarFile(object): elif tarinfo.isdir(): self.addfile(tarinfo) if recursive: -for f in os.listdir(name): +for f in sorted(os.listdir(name)): self.add(os.path.join(name, f), os.path.join(arcname, f), recursive, exclude, filter)
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2018-02-09 15:43:50 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Fri Feb 9 15:43:50 2018 rev:129 rq:573233 version:2.7.14 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2018-02-05 10:48:19.925447249 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2018-02-09 15:43:53.919249248 +0100 @@ -1,0 +2,6 @@ +Mon Feb 5 16:01:59 UTC 2018 - norm...@linux.vnet.ibm.com + +- exclude test_socket & test_subprocess for PowerPC boo#1078485 + (same ref as previous change) + +--- python.changes: same change Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.rCd2R7/_old 2018-02-09 15:43:55.747183618 +0100 +++ /var/tmp/diff_new_pack.rCd2R7/_new 2018-02-09 15:43:55.751183475 +0100 @@ -239,7 +239,7 @@ # bypass boo#1078485 # many flaky tests if osc build in loop on ppc64le %ifarch ppc ppc64 ppc64le -EXCLUDE="$EXCLUDE test_asynchat test_asyncore test_dircache test_multiprocessing test_nntplib test_queue test_signal test_telnetlib test_xmlrpc " +EXCLUDE="$EXCLUDE test_asynchat test_asyncore test_dircache test_multiprocessing test_nntplib test_queue test_signal test_socket test_subprocess test_telnetlib test_xmlrpc " %endif # Limit virtual memory to avoid spurious failures python.spec: same change
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2018-02-05 10:48:15 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Mon Feb 5 10:48:15 2018 rev:128 rq:572016 version:2.7.14 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2018-02-01 21:25:42.891376593 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2018-02-05 10:48:19.925447249 +0100 @@ -1,0 +2,6 @@ +Fri Feb 2 09:21:24 UTC 2018 - norm...@linux.vnet.ibm.com + +- Add python-skip_random_failing_tests.patch bypass boo#1078485 + and exclude many tests for PowerPC + +--- python.changes: same change New: python-skip_random_failing_tests.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.cqCJn1/_old 2018-02-05 10:48:23.857263177 +0100 +++ /var/tmp/diff_new_pack.cqCJn1/_new 2018-02-05 10:48:23.861262990 +0100 @@ -58,6 +58,8 @@ Patch38:reproducible.patch # PATCH-FIX-UPSTREAM taken from upstream fix py3 shebang Patch39:python-fix-shebang.patch +# bypass boo#1078485 random failing tests +Patch40:python-skip_random_failing_tests.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -162,6 +164,9 @@ %patch35 -p1 %patch38 -p1 %patch39 -p1 +%ifarch ppc ppc64 ppc64le +%patch40 -p1 +%endif # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac @@ -231,6 +236,12 @@ # don't have any such interface breaking the uuid module test. EXCLUDE="$EXCLUDE test_uuid" +# bypass boo#1078485 +# many flaky tests if osc build in loop on ppc64le +%ifarch ppc ppc64 ppc64le +EXCLUDE="$EXCLUDE test_asynchat test_asyncore test_dircache test_multiprocessing test_nntplib test_queue test_signal test_telnetlib test_xmlrpc " +%endif + # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ulimit -v 1000 || : ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.cqCJn1/_old 2018-02-05 10:48:23.889261679 +0100 +++ /var/tmp/diff_new_pack.cqCJn1/_new 2018-02-05 10:48:23.893261492 +0100 @@ -59,6 +59,8 @@ Patch38:reproducible.patch # PATCH-FIX-UPSTREAM taken from upstream fix py3 shebang Patch39:python-fix-shebang.patch +# bypass boo#1078485 random failing tests +Patch40:python-skip_random_failing_tests.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -109,6 +111,9 @@ %patch35 -p1 %patch38 -p1 %patch39 -p1 +%ifarch ppc ppc64 ppc64le +%patch40 -p1 +%endif # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.cqCJn1/_old 2018-02-05 10:48:23.925259994 +0100 +++ /var/tmp/diff_new_pack.cqCJn1/_new 2018-02-05 10:48:23.929259806 +0100 @@ -64,6 +64,8 @@ Patch38:reproducible.patch # PATCH-FIX-UPSTREAM taken from upstream fix py3 shebang Patch39:python-fix-shebang.patch +# bypass boo#1078485 random failing tests +Patch40:python-skip_random_failing_tests.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -215,6 +217,9 @@ %patch35 -p1 %patch38 -p1 %patch39 -p1 +%ifarch ppc ppc64 ppc64le +%patch40 -p1 +%endif # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-skip_random_failing_tests.patch ++ --- Lib/test/test_multiprocessing.py |1 + Lib/test/test_subprocess.py |1 + Lib/test/test_telnetlib.py |2 ++ 3 files changed, 4 insertions(+) Index: Python-2.7.14/Lib/test/test_subprocess.py === --- Python-2.7.14.orig/Lib/test/test_subprocess.py +++ Python-2.7.14/Lib/test/test_subprocess.py @@ -654,6 +654,7 @@ class ProcessTestCase(BaseTestCase): 'ab ""') +@unittest.skip("transient failure on PowerPC") def test_poll(self): p = subprocess.Popen([sys.executable, "-c", "import time; time.sleep(1)"]) Index: Python-2.7.14/Lib/test/test_telnetlib.py === --- Python-2.7.14.orig/Lib/test/test_telnetlib.py +++ Python-2.7.14/Lib/test/test_telnetlib.py @@ -134,6 +134,7 @@ class ReadTests(TestCase): data = telnet.read_until('match') self.assertEqual(data, ''.join(want[:-2])) +@unittest.skip("transient failure on PowerPC") def
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2018-02-01 21:25:39 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Thu Feb 1 21:25:39 2018 rev:127 rq:571147 version:2.7.14 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2018-01-06 18:45:54.288439713 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2018-02-01 21:25:42.891376593 +0100 @@ -1,0 +2,5 @@ +Tue Jan 30 16:08:33 UTC 2018 - tchva...@suse.com + +- Add patch python-fix-shebang.patch to fix bsc#1078326 + +--- python.changes: same change New: python-fix-shebang.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.uFSTEN/_old 2018-02-01 21:25:45.071274702 +0100 +++ /var/tmp/diff_new_pack.uFSTEN/_new 2018-02-01 21:25:45.075274515 +0100 @@ -56,6 +56,8 @@ Patch35:python-ncurses-6.0-accessors.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly Patch38:reproducible.patch +# PATCH-FIX-UPSTREAM taken from upstream fix py3 shebang +Patch39:python-fix-shebang.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -159,6 +161,7 @@ %endif %patch35 -p1 %patch38 -p1 +%patch39 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.uFSTEN/_old 2018-02-01 21:25:45.099273393 +0100 +++ /var/tmp/diff_new_pack.uFSTEN/_new 2018-02-01 21:25:45.099273393 +0100 @@ -57,6 +57,8 @@ Patch35:python-ncurses-6.0-accessors.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly Patch38:reproducible.patch +# PATCH-FIX-UPSTREAM taken from upstream fix py3 shebang +Patch39:python-fix-shebang.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -106,6 +108,7 @@ %endif %patch35 -p1 %patch38 -p1 +%patch39 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.uFSTEN/_old 2018-02-01 21:25:45.127272085 +0100 +++ /var/tmp/diff_new_pack.uFSTEN/_new 2018-02-01 21:25:45.127272085 +0100 @@ -62,6 +62,8 @@ Patch35:python-ncurses-6.0-accessors.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly Patch38:reproducible.patch +# PATCH-FIX-UPSTREAM taken from upstream fix py3 shebang +Patch39:python-fix-shebang.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -212,6 +214,7 @@ %endif %patch35 -p1 %patch38 -p1 +%patch39 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-fix-shebang.patch ++ >From 448c6739877a4143a2c3599f041fa6127f354044 Mon Sep 17 00:00:00 2001 From: Victor StinnerDate: Thu, 23 Nov 2017 17:04:34 +0100 Subject: [PATCH] bpo-29512: Fix Lib/test/bisect.py shebang (#4522) Replace python3 with python2. --- Lib/test/bisect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/bisect.py b/Lib/test/bisect.py index 6fc561890262..1bf32ef06dd9 100755 --- a/Lib/test/bisect.py +++ b/Lib/test/bisect.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python2 """ Command line tool to bisect failing CPython tests.
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2018-01-06 18:45:50 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Sat Jan 6 18:45:50 2018 rev:126 rq:561149 version:2.7.14 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2017-11-30 12:33:17.600311784 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2018-01-06 18:45:54.288439713 +0100 @@ -1,0 +2,9 @@ +Fri Dec 22 16:49:38 UTC 2017 - jmate...@suse.com + +- exclude test_regrtest for s390, where it does not segfault as it should + (fixes bsc#1073269) +- fix segfault while creating weakref - bsc#1073748, bpo#29347 + (this is actually fixed by the 2.7.14 update; mentioning this for purposes + of bugfix tracking) + +--- python.changes: same change Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.ixzsjq/_old 2018-01-06 18:45:58.776230017 +0100 +++ /var/tmp/diff_new_pack.ixzsjq/_new 2018-01-06 18:45:58.784229643 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-base # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -217,6 +217,11 @@ # qemu bug (siginterrupt handling) EXCLUDE="$EXCLUDE test_signal" %endif +%ifarch s390 s390x +# test_regrtest tries to segfault the interpreter by dereferencing a NULL pointer, but that doesn't +# actually produce a segfault on S390 +EXCLUDE="$EXCLUDE test_regrtest" +%endif # This test (part of test_uuid) requires real network interfaces # so that ifconfig output has "HWaddr ". Some kvm instances ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.ixzsjq/_old 2018-01-06 18:45:58.828227587 +0100 +++ /var/tmp/diff_new_pack.ixzsjq/_new 2018-01-06 18:45:58.832227400 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-doc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 python.spec: same change
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2017-11-30 12:33:14 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Thu Nov 30 12:33:14 2017 rev:125 rq:544427 version:2.7.14 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2017-11-10 14:37:32.279160119 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2017-11-30 12:33:17.600311784 +0100 @@ -1,0 +2,13 @@ +Mon Nov 20 16:11:48 UTC 2017 - jmate...@suse.com + +- update to 2.7.14 + * dozens of bugfixes, see NEWS for details + * fixed possible integer overflow in PyString_DecodeEscape (CVE-2017-1000158, bsc#1068664) + * fixed segfaults with dict mutated during search + * fixed possible free-after-use problems with buffer objects with custom indexing + * fixed urllib.splithost to correctly parse fragments (bpo-30500) +- drop upstreamed python-2.7.13-overflow_check.patch +- drop unneeded python-2.7.12-makeopcode.patch +- drop upstreamed 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch + +--- python-doc.changes: same change python.changes: same change Old: 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch Python-2.7.13.tar.xz Python-2.7.13.tar.xz.asc python-2.7.12-makeopcode.patch python-2.7.13-docs-pdf-a4.tar.bz2 python-2.7.13-docs-pdf-letter.tar.bz2 python-2.7.13-overflow_check.patch New: Python-2.7.14.tar.xz Python-2.7.14.tar.xz.asc python-2.7.14-docs-pdf-a4.tar.bz2 python-2.7.14-docs-pdf-letter.tar.bz2 Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.hGkUfp/_old 2017-11-30 12:33:20.736197750 +0100 +++ /var/tmp/diff_new_pack.hGkUfp/_new 2017-11-30 12:33:20.740197605 +0100 @@ -17,7 +17,7 @@ Name: python-base -Version:2.7.13 +Version:2.7.14 Release:0 Summary:Python Interpreter base package License:Python-2.0 @@ -54,11 +54,8 @@ Patch34:python-2.7.9-sles-disable-verification-by-default.patch # PATCH-FIX-UPSTREAM python-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch35:python-ncurses-6.0-accessors.patch -Patch36:python-2.7.13-overflow_check.patch -Patch37:python-2.7.12-makeopcode.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly Patch38:reproducible.patch -Patch39:0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -161,10 +158,7 @@ %patch34 -p1 %endif %patch35 -p1 -%patch36 -p1 -%patch37 -p1 %patch38 -p1 -%patch39 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.hGkUfp/_old 2017-11-30 12:33:20.776196296 +0100 +++ /var/tmp/diff_new_pack.hGkUfp/_new 2017-11-30 12:33:20.780196151 +0100 @@ -17,7 +17,7 @@ Name: python-doc -Version:2.7.13 +Version:2.7.14 Release:0 Summary:Additional Package Documentation for Python License:Python-2.0 @@ -55,11 +55,8 @@ Patch34:python-2.7.9-sles-disable-verification-by-default.patch # PATCH-FIX-UPSTREAM python-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch35:python-ncurses-6.0-accessors.patch -Patch36:python-2.7.13-overflow_check.patch -Patch37:python-2.7.12-makeopcode.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly Patch38:reproducible.patch -Patch39:0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -108,10 +105,7 @@ %patch34 -p1 %endif %patch35 -p1 -%patch36 -p1 -%patch37 -p1 %patch38 -p1 -%patch39 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.hGkUfp/_old 2017-11-30 12:33:20.824194551 +0100 +++ /var/tmp/diff_new_pack.hGkUfp/_new 2017-11-30 12:33:20.832194260 +0100 @@ -17,7 +17,7 @@ Name: python -Version:2.7.13 +Version:2.7.14 Release:0 Summary:Python Interpreter License:Python-2.0 @@ -60,11 +60,8 @@ Patch34:python-2.7.9-sles-disable-verification-by-default.patch # PATCH-FIX-UPSTREAM
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2017-11-10 14:37:24 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Fri Nov 10 14:37:24 2017 rev:124 rq:538777 version:2.7.13 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2017-09-28 12:32:34.879211279 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2017-11-10 14:37:32.279160119 +0100 @@ -1,0 +2,5 @@ +Thu Nov 2 16:53:42 UTC 2017 - mplus...@suse.com + +- Call python2 instead of python in macros + +--- python.changes: same change Other differences: -- python-doc.spec: same change python.spec: same change ++ macros.python2 ++ --- /var/tmp/diff_new_pack.Z8ZfDT/_old 2017-11-10 14:37:34.575077145 +0100 +++ /var/tmp/diff_new_pack.Z8ZfDT/_new 2017-11-10 14:37:34.575077145 +0100 @@ -9,10 +9,10 @@ # these might be still in use somewhere %py_compile(O) \ find %1 -name '*.pyc' -exec rm -f {} \\; \ -python -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \ +python2 -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \ %{-O: \ find %1 -name '*.pyo' -exec rm -f {} \\; \ -python -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \ +python2 -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \ } %py_requires(d) \ BuildRequires: /usr/bin/python %{-d:python-devel} \
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2017-09-28 12:32:34 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Thu Sep 28 12:32:34 2017 rev:123 rq:527332 version:2.7.13 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2017-08-29 11:36:04.451932339 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2017-09-28 12:32:34.879211279 +0200 @@ -6,0 +7,6 @@ +Mon May 15 14:03:01 UTC 2017 - jmate...@suse.com + +- obsolete/provide python-argparse and provide python2-argparse, + because the argparse module is available from python 2.7 up + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2017-08-29 11:36:04.499925596 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2017-09-28 12:32:34.915206218 +0200 @@ -1,0 +2,11 @@ +Thu Sep 14 14:12:38 UTC 2017 - vci...@suse.com + +- Fix test broken with OpenSSL 1.1 (bsc#1042670) + * add 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch + +--- +Mon Aug 28 13:28:46 UTC 2017 - jmate...@suse.com + +- drop SUSE_ASNEEDED=0 as it is not needed anymore + +--- New: 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.UknfGk/_old 2017-09-28 12:32:36.674958782 +0200 +++ /var/tmp/diff_new_pack.UknfGk/_new 2017-09-28 12:32:36.678958219 +0200 @@ -58,6 +58,7 @@ Patch37:python-2.7.12-makeopcode.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly Patch38:reproducible.patch +Patch39:0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -80,6 +81,9 @@ %endif Provides: python-ctypes = 1.1.0 Obsoletes: python-ctypes < 1.1.0 +Provides: python-argparse = 1.4.0.1 +Obsoletes: python-argparse < 1.4.0.1 +Provides: python2-argparse = 1.4.0.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: python2-base = %{version} @@ -160,6 +164,7 @@ %patch36 -p1 %patch37 -p1 %patch38 -p1 +%patch39 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.UknfGk/_old 2017-09-28 12:32:36.710953721 +0200 +++ /var/tmp/diff_new_pack.UknfGk/_new 2017-09-28 12:32:36.714953158 +0200 @@ -59,6 +59,7 @@ Patch37:python-2.7.12-makeopcode.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly Patch38:reproducible.patch +Patch39:0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -110,6 +111,7 @@ %patch36 -p1 %patch37 -p1 %patch38 -p1 +%patch39 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.UknfGk/_old 2017-09-28 12:32:36.746948660 +0200 +++ /var/tmp/diff_new_pack.UknfGk/_new 2017-09-28 12:32:36.750948097 +0200 @@ -64,6 +64,7 @@ Patch37:python-2.7.12-makeopcode.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly Patch38:reproducible.patch +Patch39:0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -216,6 +217,7 @@ %patch36 -p1 %patch37 -p1 %patch38 -p1 +%patch39 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac @@ -226,9 +228,6 @@ %endif %build -# necessary for correct linking with GDBM: -export SUSE_ASNEEDED=0 - export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv" autoreconf -f -i . # Modules/_ctypes/libffi ++ 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch ++ >From 05b7d9c6675b71d17f5fcf379b3888fba431f14e Mon Sep 17 00:00:00 2001 From: Christian HeimesDate: Tue, 15 Aug 2017 10:55:03 +0200 Subject: [PATCH] [2.7] bpo-30714: ALPN changes for OpenSSL 1.1.0f (#3094) OpenSSL 1.1.0 to 1.1.0e aborted the handshake when server and client could not agree on a protocol using ALPN. OpenSSL 1.1.0f changed that. The most recent version now behaves like OpenSSL 1.0.2 again. The ALPN callback can pretend
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2017-08-29 11:36:03 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Tue Aug 29 11:36:03 2017 rev:122 rq:517921 version:2.7.13 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2017-04-19 18:03:40.394547310 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2017-08-29 11:36:04.451932339 +0200 @@ -1,0 +2,5 @@ +Thu Aug 17 08:58:02 CEST 2017 - ku...@suse.de + +- Add libnsl-devel build requires for glibc obsoleting libnsl + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2017-01-11 11:56:06.439081283 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2017-08-29 11:36:04.499925596 +0200 @@ -1,0 +2,5 @@ +Thu Aug 17 08:58:02 CEST 2017 - ku...@suse.de + +- Add libnsl-devel build requires for glibc obsoleting libnsl + +--- Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.ARA8II/_old 2017-08-29 11:36:07.243540109 +0200 +++ /var/tmp/diff_new_pack.ARA8II/_new 2017-08-29 11:36:07.267536737 +0200 @@ -63,6 +63,7 @@ BuildRequires: automake BuildRequires: fdupes BuildRequires: libbz2-devel +BuildRequires: libnsl-devel BuildRequires: pkg-config BuildRequires: xz BuildRequires: zlib-devel ++ python.spec ++ --- /var/tmp/diff_new_pack.ARA8II/_old 2017-08-29 11:36:07.523500774 +0200 +++ /var/tmp/diff_new_pack.ARA8II/_new 2017-08-29 11:36:07.531499650 +0200 @@ -71,6 +71,7 @@ BuildRequires: gdbm-devel BuildRequires: gmp-devel BuildRequires: libbz2-devel +BuildRequires: libnsl-devel BuildRequires: libopenssl-devel BuildRequires: ncurses-devel BuildRequires: readline-devel
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2017-04-19 18:03:38 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Wed Apr 19 18:03:38 2017 rev:121 rq:482570 version:2.7.13 Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2017-01-11 11:56:06.339095563 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2017-04-19 18:03:40.394547310 +0200 @@ -1,0 +2,7 @@ +Fri Feb 24 17:08:25 UTC 2017 - bwiedem...@suse.com + +- Add reproducible.patch to allow reproducible builds of various + python packages like python-amqp + Upstream: https://github.com/python/cpython/pull/296 + +--- python.changes: same change New: reproducible.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.NdGbwU/_old 2017-04-19 18:03:42.434258783 +0200 +++ /var/tmp/diff_new_pack.NdGbwU/_new 2017-04-19 18:03:42.438258218 +0200 @@ -56,6 +56,8 @@ Patch35:python-ncurses-6.0-accessors.patch Patch36:python-2.7.13-overflow_check.patch Patch37:python-2.7.12-makeopcode.patch +# PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly +Patch38:reproducible.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -156,6 +158,7 @@ %patch35 -p1 %patch36 -p1 %patch37 -p1 +%patch38 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.NdGbwU/_old 2017-04-19 18:03:42.470253691 +0200 +++ /var/tmp/diff_new_pack.NdGbwU/_new 2017-04-19 18:03:42.470253691 +0200 @@ -57,6 +57,8 @@ Patch35:python-ncurses-6.0-accessors.patch Patch36:python-2.7.13-overflow_check.patch Patch37:python-2.7.12-makeopcode.patch +# PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly +Patch38:reproducible.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -107,6 +109,7 @@ %patch35 -p1 %patch36 -p1 %patch37 -p1 +%patch38 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.NdGbwU/_old 2017-04-19 18:03:42.498249731 +0200 +++ /var/tmp/diff_new_pack.NdGbwU/_new 2017-04-19 18:03:42.502249166 +0200 @@ -62,6 +62,8 @@ Patch35:python-ncurses-6.0-accessors.patch Patch36:python-2.7.13-overflow_check.patch Patch37:python-2.7.12-makeopcode.patch +# PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- allow python packages to build reproducibly +Patch38:reproducible.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -212,6 +214,7 @@ %patch35 -p1 %patch36 -p1 %patch37 -p1 +%patch38 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ reproducible.patch ++ Index: Python-2.7.13/Lib/py_compile.py === --- Python-2.7.13.orig/Lib/py_compile.py +++ Python-2.7.13/Lib/py_compile.py @@ -108,6 +108,10 @@ def compile(file, cfile=None, dfile=None timestamp = long(os.fstat(f.fileno()).st_mtime) except AttributeError: timestamp = long(os.stat(file).st_mtime) +sde = os.environ.get('SOURCE_DATE_EPOCH') +if sde and timestamp > int(sde): +timestamp = int(sde) +os.utime(file, (timestamp, timestamp)) codestring = f.read() try: codeobject = __builtin__.compile(codestring, dfile or file,'exec')
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2016-07-07 15:08:43 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2016-02-28 02:26:13.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2016-07-07 15:08:45.0 +0200 @@ -1,0 +2,18 @@ +Thu Jun 30 09:23:05 UTC 2016 - jmate...@suse.com + +- update to 2.7.12 + * dozens of bugfixes, see NEWS for details + * fixes multiple security issues: +CVE-2016-0772 TLS stripping attack on smtplib (bsc#984751) +CVE-2016-5636 zipimporter heap overflow (bsc#985177) +CVE-2016-5699 httplib header injection (bsc#985348) + (this one is actually fixed since 2.7.10) +- removed upstreamed python-2.7.7-mhlib-linkcount.patch +- refreshed multilib patch +- python-2.7.12-makeopcode.patch - run newly-built python interpreter + to make opcodes, in order not to require pre-built python +- update LD_LIBRARY_PATH to use $PWD instead of "." because the test + process escapes to its own directory +- modify shebang-fixing scriptlet to ignore makeopcodetargets.py + +--- --- /work/SRC/openSUSE:Factory/python/python-doc.changes2015-06-06 09:49:30.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-doc.changes 2016-07-07 15:08:45.0 +0200 @@ -1,0 +2,11 @@ +Thu Jun 30 09:23:05 UTC 2016 - jmate...@suse.com + +- update to 2.7.12 + * dozens of bugfixes, see NEWS for details + * fixes multiple security issues: +CVE-2016-0772 TLS stripping attack on smtplib (bsc#984751) +CVE-2016-5636 zipimporter heap overflow (bsc#985177) +CVE-2016-5699 httplib header injection (bsc#985348) + (this one is actually fixed since 2.7.10) + +--- python.changes: same change Old: Python-2.7.10.tar.xz Python-2.7.10.tar.xz.asc python-2.7.10-docs-pdf-a4.tar.bz2 python-2.7.10-docs-pdf-letter.tar.bz2 python-2.7.7-mhlib-linkcount.patch New: Python-2.7.12.tar.xz Python-2.7.12.tar.xz.asc python-2.7.12-docs-pdf-a4.tar.bz2 python-2.7.12-docs-pdf-letter.tar.bz2 python-2.7.12-makeopcode.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.lWCRRo/_old 2016-07-07 15:08:47.0 +0200 +++ /var/tmp/diff_new_pack.lWCRRo/_new 2016-07-07 15:08:47.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-base # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,7 +17,7 @@ Name: python-base -Version:2.7.10 +Version:2.7.12 Release:0 Summary:Python Interpreter base package License:Python-2.0 @@ -48,8 +48,6 @@ # PATCH-FIX-UPSTREAM Fix argument passing in libffi for aarch64 Patch22:python-2.7-libffi-aarch64.patch Patch24:python-bsddb6.diff -# PATCH-FIX-OPENSUSE remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) -Patch31:python-2.7.7-mhlib-linkcount.patch # PATCH-FIX-UPSTREAM accept directory-based CA paths as well Patch33:python-2.7.9-ssl_ca_path.patch # PATCH-FEATURE-SLE disable SSL verification-by-default in http clients @@ -57,6 +55,7 @@ # PATCH-FIX-UPSTREAM python-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch35:python-ncurses-6.0-accessors.patch Patch36: python-2.7.10-overflow_check.patch +Patch37:python-2.7.12-makeopcode.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -144,13 +143,13 @@ %patch20 -p1 %patch22 -p1 %patch24 -p1 -%patch31 -p1 %patch33 -p1 %if %{suse_version} == 1315 && !0%{?is_opensuse} %patch34 -p1 %endif %patch35 -p1 %patch36 +%patch37 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac @@ -180,7 +179,7 @@ %else target=all %endif -LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \ +LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH \ make %{?_smp_mflags} $target %check @@ -226,7 +225,9 @@ %install # replace rest of /usr/local/bin/python or /usr/bin/python2.5 with /usr/bin/python -find . -wholename "./Parser" -prune -o -name '*.py' -type f -print0 | xargs -0 grep -lE '^#! *(/usr/.*bin/(env +)?)?python' |
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2016-02-28 02:26:10 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2015-09-19 06:52:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2016-02-28 02:26:13.0 +0100 @@ -1,0 +2,6 @@ +Fri Jan 29 13:03:40 UTC 2016 - rguent...@suse.com + +- Add python-2.7.10-overflow_check.patch to fix broken overflow checks. + [bnc#964182] + +--- python.changes: same change New: python-2.7.10-overflow_check.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.16JCKS/_old 2016-02-28 02:26:16.0 +0100 +++ /var/tmp/diff_new_pack.16JCKS/_new 2016-02-28 02:26:16.0 +0100 @@ -56,6 +56,7 @@ Patch34:python-2.7.9-sles-disable-verification-by-default.patch # PATCH-FIX-UPSTREAM python-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch35:python-ncurses-6.0-accessors.patch +Patch36: python-2.7.10-overflow_check.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -149,6 +150,7 @@ %patch34 -p1 %endif %patch35 -p1 +%patch36 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.16JCKS/_old 2016-02-28 02:26:16.0 +0100 +++ /var/tmp/diff_new_pack.16JCKS/_new 2016-02-28 02:26:16.0 +0100 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: python-doc Version:2.7.10 Release:0 @@ -57,6 +56,7 @@ Patch34:python-2.7.9-sles-disable-verification-by-default.patch # PATCH-FIX-UPSTREAM python-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch35:python-ncurses-6.0-accessors.patch +Patch36: python-2.7.10-overflow_check.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -104,6 +104,7 @@ %patch34 -p1 %endif %patch35 -p1 +%patch36 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.16JCKS/_old 2016-02-28 02:26:16.0 +0100 +++ /var/tmp/diff_new_pack.16JCKS/_new 2016-02-28 02:26:16.0 +0100 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: python Version:2.7.10 Release:0 @@ -62,6 +61,7 @@ Patch34:python-2.7.9-sles-disable-verification-by-default.patch # PATCH-FIX-UPSTREAM python-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch35:python-ncurses-6.0-accessors.patch +Patch36: python-2.7.10-overflow_check.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -205,6 +205,7 @@ %patch34 -p1 %endif %patch35 -p1 +%patch36 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-2.7.10-overflow_check.patch ++ --- ./Objects/bytearrayobject.c.orig2016-01-29 13:58:55.414941897 +0100 +++ ./Objects/bytearrayobject.c 2016-01-29 14:00:18.383902058 +0100 @@ -1903,12 +1903,12 @@ /* Check for overflow */ /*result_len = self_len + count * (to_len-from_len) */ -product = count * (to_len-from_len); +product = (size_t)count * (to_len-from_len); if (product / (to_len-from_len) != count) { PyErr_SetString(PyExc_OverflowError, "replace bytes is too long"); return NULL; } -result_len = self_len + product; +result_len = (size_t)self_len + product; if (result_len < 0) { PyErr_SetString(PyExc_OverflowError, "replace bytes is too long"); return NULL; --- ./Objects/stringobject.c.orig 2016-01-29 14:00:30.904046945 +0100 +++ ./Objects/stringobject.c2016-01-29 14:01:14.120547063 +0100 @@ -2693,12 +2693,12 @@ /* Check for overflow */ /*result_len = self_len + count * (to_len-from_len) */ -product = count * (to_len-from_len); +product = (size_t)count * (to_len-from_len); if (product / (to_len-from_len) != count) { PyErr_SetString(PyExc_OverflowError, "replace string is too long"); return NULL; } -result_len = self_len + product; +result_len =
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2015-09-19 06:52:47 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is "python" Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2015-06-12 20:28:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2015-09-19 06:52:48.0 +0200 @@ -1,0 +2,13 @@ +Mon Sep 14 15:04:43 UTC 2015 - jmate...@suse.com + +- copy strict-tls-checks subpackage from SLE to retain future compatibility + (not built in openSUSE) +- do this properly to fix bnc#945401 + +--- +Wed Sep 9 12:19:01 UTC 2015 - dims...@opensuse.org + +- Add python-ncurses-6.0-accessors.patch: Fix build with + NCurses 6.0 and OPAQUE_WINDOW set to 1. + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2015-06-06 09:49:30.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2015-09-19 06:52:48.0 +0200 @@ -1,0 +2,17 @@ +Mon Sep 14 15:03:30 UTC 2015 - jmate...@suse.com + +- implement python-strict-tls-checks subpackage + * when present, Python will perform TLS certificate checking by default. +it is possible to remove the package to turn off the checks +for compatibility with legacy scripts. + * as discussed in fate#318300 + * this is not built for openSUSE, but retained here in case we want +to build the package for a SLE system + +--- +Wed Sep 9 12:18:20 UTC 2015 - dims...@opensuse.org + +- Add python-ncurses-6.0-accessors.patch: Fix build with + NCurses 6.0 and OPAQUE_WINDOW set to 1. + +--- New: python-ncurses-6.0-accessors.patch sle_tls_checks_policy.py Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.zuK5Rz/_old 2015-09-19 06:52:50.0 +0200 +++ /var/tmp/diff_new_pack.zuK5Rz/_new 2015-09-19 06:52:50.0 +0200 @@ -54,6 +54,8 @@ Patch33:python-2.7.9-ssl_ca_path.patch # PATCH-FEATURE-SLE disable SSL verification-by-default in http clients Patch34:python-2.7.9-sles-disable-verification-by-default.patch +# PATCH-FIX-UPSTREAM python-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 +Patch35:python-ncurses-6.0-accessors.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -143,9 +145,10 @@ %patch24 -p1 %patch31 -p1 %patch33 -p1 -%if %{suse_version} == 1315 +%if %{suse_version} == 1315 && !0%{?is_opensuse} %patch34 -p1 %endif +%patch35 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.zuK5Rz/_old 2015-09-19 06:52:50.0 +0200 +++ /var/tmp/diff_new_pack.zuK5Rz/_new 2015-09-19 06:52:50.0 +0200 @@ -55,6 +55,8 @@ Patch33:python-2.7.9-ssl_ca_path.patch # PATCH-FEATURE-SLE disable SSL verification-by-default in http clients Patch34:python-2.7.9-sles-disable-verification-by-default.patch +# PATCH-FIX-UPSTREAM python-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 +Patch35:python-ncurses-6.0-accessors.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -98,9 +100,10 @@ %patch24 -p1 %patch31 -p1 %patch33 -p1 -%if %{suse_version} == 1315 +%if %{suse_version} == 1315 && !0%{?is_opensuse} %patch34 -p1 %endif +%patch35 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.zuK5Rz/_old 2015-09-19 06:52:50.0 +0200 +++ /var/tmp/diff_new_pack.zuK5Rz/_new 2015-09-19 06:52:50.0 +0200 @@ -30,6 +30,7 @@ Source2:pythonstart Source3:python.sh Source4:python.csh +Source8:sle_tls_checks_policy.py #Source11: testfiles.tar.bz2 # issues with copyrighted Unicode testing files @@ -59,6 +60,8 @@ Patch33:python-2.7.9-ssl_ca_path.patch # PATCH-FEATURE-SLE disable SSL verification-by-default in http clients Patch34:python-2.7.9-sles-disable-verification-by-default.patch +# PATCH-FIX-UPSTREAM python-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 +Patch35:python-ncurses-6.0-accessors.patch #
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2015-06-12 20:28:37 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2015-06-06 09:49:30.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2015-06-12 20:28:37.0 +0200 @@ -1,0 +2,5 @@ +Wed Jun 10 11:19:58 UTC 2015 - dmuel...@suse.com + +- add __python2 compatibility macro (used by Fedora) + +--- python.changes: same change Other differences: -- python-doc.spec: same change python.spec: same change ++ macros.python ++ --- /var/tmp/diff_new_pack.ZwNQ4D/_old 2015-06-12 20:28:41.0 +0200 +++ /var/tmp/diff_new_pack.ZwNQ4D/_new 2015-06-12 20:28:41.0 +0200 @@ -3,6 +3,8 @@ %py_libdir %{py_prefix}/%{_lib}/python%{py_ver} %py_incdir %{py_prefix}/include/python%{py_ver} %py_sitedir%{py_libdir}/site-packages +%__python2 /usr/bin/python2 + %py_compile(O) \ find %1 -name '*.pyc' -exec rm -f {} \\; \ python -c import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None) %1 \
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2015-06-06 09:49:28 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2015-05-23 13:04:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2015-06-06 09:49:30.0 +0200 @@ -1,0 +2,6 @@ +Sun May 24 14:36:37 UTC 2015 - mich...@stroeder.com + +- update to 2.7.10 +- removed obsolete python-2.7-urllib2-localnet-ssl.patch + +--- --- /work/SRC/openSUSE:Factory/python/python-doc.changes2014-12-21 12:02:58.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-doc.changes 2015-06-06 09:49:30.0 +0200 @@ -1,0 +2,5 @@ +Sun May 24 14:36:56 UTC 2015 - mich...@stroeder.com + +- update to 2.7.10 + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2015-05-23 13:04:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2015-06-06 09:49:30.0 +0200 @@ -1,0 +2,6 @@ +Sun May 24 14:36:10 UTC 2015 - mich...@stroeder.com + +- update to 2.7.10 +- removed obsolete python-2.7-urllib2-localnet-ssl.patch + +--- Old: Python-2.7.9.tar.xz Python-2.7.9.tar.xz.asc python-2.7-urllib2-localnet-ssl.patch python-2.7.9-docs-pdf-a4.tar.bz2 python-2.7.9-docs-pdf-letter.tar.bz2 New: Python-2.7.10.tar.xz Python-2.7.10.tar.xz.asc python-2.7.10-docs-pdf-a4.tar.bz2 python-2.7.10-docs-pdf-letter.tar.bz2 Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.bJOQxX/_old 2015-06-06 09:49:32.0 +0200 +++ /var/tmp/diff_new_pack.bJOQxX/_new 2015-06-06 09:49:32.0 +0200 @@ -17,7 +17,7 @@ Name: python-base -Version:2.7.9 +Version:2.7.10 Release:0 Summary:Python Interpreter base package License:Python-2.0 @@ -50,8 +50,6 @@ Patch24:python-bsddb6.diff # PATCH-FIX-OPENSUSE remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) Patch31:python-2.7.7-mhlib-linkcount.patch -# PATCH-FIX-UPSTREAM remove unconditional import ssl from test -Patch32:python-2.7-urllib2-localnet-ssl.patch # PATCH-FIX-UPSTREAM accept directory-based CA paths as well Patch33:python-2.7.9-ssl_ca_path.patch # PATCH-FEATURE-SLE disable SSL verification-by-default in http clients @@ -144,7 +142,6 @@ %patch22 -p1 %patch24 -p1 %patch31 -p1 -%patch32 -p1 %patch33 -p1 %if %{suse_version} == 1315 %patch34 -p1 python-doc.spec: same change ++ python.spec ++ --- /var/tmp/diff_new_pack.bJOQxX/_old 2015-06-06 09:49:32.0 +0200 +++ /var/tmp/diff_new_pack.bJOQxX/_new 2015-06-06 09:49:32.0 +0200 @@ -17,7 +17,7 @@ Name: python -Version:2.7.9 +Version:2.7.10 Release:0 Summary:Python Interpreter License:Python-2.0 @@ -55,8 +55,6 @@ Patch24:python-bsddb6.diff # PATCH-FIX-OPENSUSE remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) Patch31:python-2.7.7-mhlib-linkcount.patch -# PATCH-FIX-UPSTREAM remove unconditional import ssl from test -Patch32:python-2.7-urllib2-localnet-ssl.patch # PATCH-FIX-UPSTREAM accept directory-based CA paths as well Patch33:python-2.7.9-ssl_ca_path.patch # PATCH-FEATURE-SLE disable SSL verification-by-default in http clients @@ -179,7 +177,6 @@ %patch22 -p1 %patch24 -p1 %patch31 -p1 -%patch32 -p1 %patch33 -p1 %if %{suse_version} == 1315 %patch34 -p1 ++ Python-2.7.9.tar.xz - Python-2.7.10.tar.xz ++ /work/SRC/openSUSE:Factory/python/Python-2.7.9.tar.xz /work/SRC/openSUSE:Factory/.python.new/Python-2.7.10.tar.xz differ: char 26, line 1 ++ python-2.7.9-docs-pdf-a4.tar.bz2 - python-2.7.10-docs-pdf-a4.tar.bz2 ++ /work/SRC/openSUSE:Factory/python/python-2.7.9-docs-pdf-a4.tar.bz2 /work/SRC/openSUSE:Factory/.python.new/python-2.7.10-docs-pdf-a4.tar.bz2 differ: char 11, line 1 ++ python-2.7.9-docs-pdf-letter.tar.bz2 - python-2.7.10-docs-pdf-letter.tar.bz2 ++ /work/SRC/openSUSE:Factory/python/python-2.7.9-docs-pdf-letter.tar.bz2 /work/SRC/openSUSE:Factory/.python.new/python-2.7.10-docs-pdf-letter.tar.bz2 differ: char 11, line 1
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2015-05-23 13:04:09 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2014-12-25 23:19:43.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2015-05-23 13:04:10.0 +0200 @@ -1,0 +2,5 @@ +Tue May 19 11:18:12 UTC 2015 - sch...@suse.de + +- Reenable test_posix on aarch64 + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2015-03-09 10:03:17.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2015-05-23 13:04:10.0 +0200 @@ -1,0 +2,6 @@ +Thu May 14 13:27:09 UTC 2015 - jmate...@suse.com + +- for SLE 12 SP1, disable SSL verification-by-default for backwards + compatibility (python-2.7.9-sles-disable-verification-by-default.patch) + +--- New: python-2.7.9-sles-disable-verification-by-default.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.CM9fYU/_old 2015-05-23 13:04:12.0 +0200 +++ /var/tmp/diff_new_pack.CM9fYU/_new 2015-05-23 13:04:12.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-base # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -54,6 +54,8 @@ Patch32:python-2.7-urllib2-localnet-ssl.patch # PATCH-FIX-UPSTREAM accept directory-based CA paths as well Patch33:python-2.7.9-ssl_ca_path.patch +# PATCH-FEATURE-SLE disable SSL verification-by-default in http clients +Patch34:python-2.7.9-sles-disable-verification-by-default.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -144,6 +146,9 @@ %patch31 -p1 %patch32 -p1 %patch33 -p1 +%if %{suse_version} == 1315 +%patch34 -p1 +%endif # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac @@ -202,10 +207,6 @@ # qemu bug (siginterrupt handling) EXCLUDE=$EXCLUDE test_signal %endif -%ifarch aarch64 -# qemu bug (wrong USE_UID16) -EXCLUDE=$EXCLUDE test_posix -%endif # This test (part of test_uuid) requires real network interfaces # so that ifconfig output has HWaddr something. Some kvm instances ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.CM9fYU/_old 2015-05-23 13:04:12.0 +0200 +++ /var/tmp/diff_new_pack.CM9fYU/_new 2015-05-23 13:04:12.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-doc # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-doc Version:2.7.9 Release:0 @@ -54,6 +55,8 @@ Patch32:python-2.7-urllib2-localnet-ssl.patch # PATCH-FIX-UPSTREAM accept directory-based CA paths as well Patch33:python-2.7.9-ssl_ca_path.patch +# PATCH-FEATURE-SLE disable SSL verification-by-default in http clients +Patch34:python-2.7.9-sles-disable-verification-by-default.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -98,6 +101,9 @@ %patch31 -p1 %patch32 -p1 %patch33 -p1 +%if %{suse_version} == 1315 +%patch34 -p1 +%endif # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.CM9fYU/_old 2015-05-23 13:04:12.0 +0200 +++ /var/tmp/diff_new_pack.CM9fYU/_new 2015-05-23 13:04:12.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python Version:2.7.9 Release:0 @@ -58,6 +59,8 @@ Patch32:python-2.7-urllib2-localnet-ssl.patch #
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2014-12-25 23:19:55 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2014-12-21 12:02:58.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2014-12-25 23:19:43.0 +0100 @@ -1,0 +2,7 @@ +Sun Dec 21 19:14:17 UTC 2014 - sch...@suse.de + +- python-2.7.4-aarch64.patch: Remove obsolete patch +- python-2.7-libffi-aarch64.patch: Fix argument passing in libffi for + aarch64 + +--- python.changes: same change Old: python-2.7.4-aarch64.patch New: python-2.7-libffi-aarch64.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.PLX95Z/_old 2014-12-25 23:19:45.0 +0100 +++ /var/tmp/diff_new_pack.PLX95Z/_new 2014-12-25 23:19:45.0 +0100 @@ -45,8 +45,8 @@ Patch17:remove-static-libpython.diff # PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 dims...@opensuse.org -- gettext: when looking in default_localedir also check in locale-bundle. Patch20:python-bundle-lang.patch -# PATCH-FIX-OPENSUSE Properly support aarch64 in _ctypes module -Patch22:python-2.7.4-aarch64.patch +# PATCH-FIX-UPSTREAM Fix argument passing in libffi for aarch64 +Patch22:python-2.7-libffi-aarch64.patch Patch24:python-bsddb6.diff # PATCH-FIX-OPENSUSE remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) Patch31:python-2.7.7-mhlib-linkcount.patch python-doc.spec: same change ++ python.spec ++ --- /var/tmp/diff_new_pack.PLX95Z/_old 2014-12-25 23:19:45.0 +0100 +++ /var/tmp/diff_new_pack.PLX95Z/_new 2014-12-25 23:19:45.0 +0100 @@ -49,8 +49,8 @@ Patch17:remove-static-libpython.diff # PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 dims...@opensuse.org -- gettext: when looking in default_localedir also check in locale-bundle. Patch20:python-bundle-lang.patch -# PATCH-FIX-OPENSUSE Properly support aarch64 in _ctypes module -Patch22:python-2.7.4-aarch64.patch +# PATCH-FIX-UPSTREAM Fix argument passing in libffi for aarch64 +Patch22:python-2.7-libffi-aarch64.patch Patch24:python-bsddb6.diff # PATCH-FIX-OPENSUSE remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) Patch31:python-2.7.7-mhlib-linkcount.patch ++ python-2.7-libffi-aarch64.patch ++ Index: Python-2.7.9/Modules/_ctypes/libffi/src/aarch64/ffi.c === --- Python-2.7.9.orig/Modules/_ctypes/libffi/src/aarch64/ffi.c +++ Python-2.7.9/Modules/_ctypes/libffi/src/aarch64/ffi.c @@ -728,7 +728,7 @@ aarch64_prep_args (struct call_context * state.ngrn = N_X_ARG_REG; memcpy (allocate_to_stack (state, stack, ty-alignment, -ty-size), ecif-avalue + i, ty-size); +ty-size), ecif-avalue[i], ty-size); } break; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2014-12-21 12:04:15 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2014-11-02 16:28:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2014-12-21 12:02:58.0 +0100 @@ -1,0 +2,20 @@ +Fri Dec 12 17:11:51 UTC 2014 - jmate...@suse.com + +- update to 2.7.9 + * contains full backport of ssl module from Python 3.4 (PEP466) + * HTTPS certificate validation enabled by default (PEP476) + * SSLv3 disabled by default (bnc#901715) + * backported ensurepip module (PEP477) + * fixes several missing CVEs from last release: CVE-2013-1752, +CVE-2013-1753 + * dozens of minor bugfixes +- dropped upstreamed patches: python-2.7.6-poplib.patch, + smtplib_maxline-2.7.patch, xmlrpc_gzip_27.patch +- dropped patch python-2.7.3-ssl_ca_path.patch because we don't need it + with ssl module from Python 3 +- libffi was upgraded upstream, seems to contain our changes, + so dropping libffi-ppc64le.diff as well +- python-2.7-urllib2-localnet-ssl.patch - properly remove unconditional + import ssl from test_urllib2_localnet that caused it to fail without ssl + +--- --- /work/SRC/openSUSE:Factory/python/python-doc.changes2014-10-05 20:31:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-doc.changes 2014-12-21 12:02:58.0 +0100 @@ -1,0 +2,7 @@ +Fri Dec 12 17:11:51 UTC 2014 - jmate...@suse.com + +- update to 2.7.9 +- drop HTML doc tarball, build HTML documentation from source +- set fixed doc build date, lower sphinx requirement (for older openSUSE) + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2014-11-02 16:28:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2014-12-21 12:02:58.0 +0100 @@ -1,0 +2,5 @@ +Fri Dec 12 17:11:51 UTC 2014 - jmate...@suse.com + +- update to 2.7.9 + +--- Old: Python-2.7.8.tar.xz Python-2.7.8.tar.xz.asc libffi-ppc64le.diff python-2.7.3-ssl_ca_path.patch python-2.7.6-poplib.patch python-2.7.8-docs-html.tar.bz2 python-2.7.8-docs-pdf-a4.tar.bz2 python-2.7.8-docs-pdf-letter.tar.bz2 smtplib_maxline-2.7.patch xmlrpc_gzip_27.patch New: Python-2.7.9.tar.xz Python-2.7.9.tar.xz.asc python-2.7-urllib2-localnet-ssl.patch python-2.7.9-docs-pdf-a4.tar.bz2 python-2.7.9-docs-pdf-letter.tar.bz2 Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.wlBZq5/_old 2014-12-21 12:03:01.0 +0100 +++ /var/tmp/diff_new_pack.wlBZq5/_new 2014-12-21 12:03:01.0 +0100 @@ -17,7 +17,7 @@ Name: python-base -Version:2.7.8 +Version:2.7.9 Release:0 Summary:Python Interpreter base package License:Python-2.0 @@ -43,22 +43,15 @@ Patch10:sparc_longdouble.patch Patch13:python-2.7.2-fix_date_time_compiler.patch Patch17:remove-static-libpython.diff -# PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions -Patch18:python-2.7.3-ssl_ca_path.patch # PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 dims...@opensuse.org -- gettext: when looking in default_localedir also check in locale-bundle. Patch20:python-bundle-lang.patch # PATCH-FIX-OPENSUSE Properly support aarch64 in _ctypes module Patch22:python-2.7.4-aarch64.patch Patch24:python-bsddb6.diff -# PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module -Patch25:libffi-ppc64le.diff -# CVE-2013-1753 [bnc#856835] unbounded gzip decompression in xmlrpc client -Patch26:xmlrpc_gzip_27.patch -# CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib -Patch28:smtplib_maxline-2.7.patch -Patch29:python-2.7.6-poplib.patch -# remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) +# PATCH-FIX-OPENSUSE remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) Patch31:python-2.7.7-mhlib-linkcount.patch +# PATCH-FIX-UPSTREAM remove unconditional import ssl from test +Patch32:python-2.7-urllib2-localnet-ssl.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -143,15 +136,11 @@ %patch10 -p1 %patch13
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2014-11-02 16:28:06 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2014-10-05 20:31:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2014-11-02 16:28:07.0 +0100 @@ -1,0 +2,5 @@ +Wed Oct 22 13:30:24 UTC 2014 - dmuel...@suse.com + +- skip test_thread in qemu_linux_user mode + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2014-10-05 20:31:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2014-11-02 16:28:07.0 +0100 @@ -1,0 +2,5 @@ +Sat Oct 18 20:05:00 UTC 2014 - crrodrig...@opensuse.org + +- Only pkgconfig(x11) is required for build,not xorg-x11-devel. + +--- Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.vxTtYA/_old 2014-11-02 16:28:09.0 +0100 +++ /var/tmp/diff_new_pack.vxTtYA/_new 2014-11-02 16:28:09.0 +0100 @@ -206,7 +206,7 @@ # test_asyncore fails because of unimplemented sockopt EXCLUDE=$EXCLUDE test_asyncore test_mmap # emulation is unreliable -EXCLUDE=$EXCLUDE test_multiprocessing +EXCLUDE=$EXCLUDE test_multiprocessing test_thread # qemu bug (siginterrupt handling) EXCLUDE=$EXCLUDE test_signal %endif ++ python.spec ++ --- /var/tmp/diff_new_pack.vxTtYA/_old 2014-11-02 16:28:09.0 +0100 +++ /var/tmp/diff_new_pack.vxTtYA/_new 2014-11-02 16:28:09.0 +0100 @@ -75,7 +75,7 @@ BuildRequires: readline-devel BuildRequires: sqlite-devel BuildRequires: tk-devel -BuildRequires: xorg-x11-devel +BuildRequires: pkgconfig(x11) BuildRequires: xz %define python_version%(echo %{tarversion} | head -c 3) %define idle_name idle -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2014-10-05 20:30:36 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2014-07-28 06:31:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2014-10-05 20:31:03.0 +0200 @@ -1,0 +2,9 @@ +Tue Sep 30 15:06:15 UTC 2014 - jmate...@suse.com + +- update to 2.7.8 + * bugfix-only release, dozens of bugs fixed + * fixes CVE-2014-4650 directory traversal in CGIHTTPServer + * fixes CVE-2014-7185 (bnc#898572) potential buffer overflow in buffer() +- dropped upstreamed CVE-2014-4650-CGIHTTPserver-traversal.patch + +--- --- /work/SRC/openSUSE:Factory/python/python-doc.changes2014-06-25 15:24:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-doc.changes 2014-10-05 20:31:03.0 +0200 @@ -1,0 +2,5 @@ +Tue Sep 30 15:32:07 UTC 2014 - jmate...@suse.com + +- update to 2.7.8 + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2014-06-25 15:24:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2014-10-05 20:31:03.0 +0200 @@ -1,0 +2,6 @@ +Tue Sep 30 15:27:40 UTC 2014 - jmate...@suse.com + +- update to 2.7.8 + * bugfix-only release, dozens of bugs fixed + +--- Old: CVE-2014-4650-CGIHTTPServer-traversal.patch Python-2.7.7.tar.xz Python-2.7.7.tar.xz.asc python-2.7.7-docs-html.tar.bz2 python-2.7.7-docs-pdf-a4.tar.bz2 python-2.7.7-docs-pdf-letter.tar.bz2 New: Python-2.7.8.tar.xz Python-2.7.8.tar.xz.asc python-2.7.8-docs-html.tar.bz2 python-2.7.8-docs-pdf-a4.tar.bz2 python-2.7.8-docs-pdf-letter.tar.bz2 Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.Vo2fyt/_old 2014-10-05 20:31:05.0 +0200 +++ /var/tmp/diff_new_pack.Vo2fyt/_new 2014-10-05 20:31:05.0 +0200 @@ -17,7 +17,7 @@ Name: python-base -Version:2.7.7 +Version:2.7.8 Release:0 Summary:Python Interpreter base package License:Python-2.0 @@ -57,8 +57,6 @@ # CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib Patch28:smtplib_maxline-2.7.patch Patch29:python-2.7.6-poplib.patch -# CVE-2014-4650 - File disclosure and directory traversal in CGIHTTPServer -Patch30:CVE-2014-4650-CGIHTTPServer-traversal.patch # remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) Patch31:python-2.7.7-mhlib-linkcount.patch # COMMON-PATCH-END @@ -153,7 +151,6 @@ %patch26 -p1 %patch28 -p1 %patch29 -p1 -%patch30 -p1 %patch31 -p1 # drop Autoconf version requirement ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.Vo2fyt/_old 2014-10-05 20:31:05.0 +0200 +++ /var/tmp/diff_new_pack.Vo2fyt/_new 2014-10-05 20:31:05.0 +0200 @@ -16,7 +16,7 @@ # Name: python-doc -Version:2.7.7 +Version:2.7.8 Release:0 Summary:Additional Package Documentation for Python License:Python-2.0 @@ -60,8 +60,6 @@ # CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib Patch28:smtplib_maxline-2.7.patch Patch29:python-2.7.6-poplib.patch -# CVE-2014-4650 - File disclosure and directory traversal in CGIHTTPServer -Patch30:CVE-2014-4650-CGIHTTPServer-traversal.patch # remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) Patch31:python-2.7.7-mhlib-linkcount.patch # COMMON-PATCH-END @@ -110,7 +108,6 @@ %patch26 -p1 %patch28 -p1 %patch29 -p1 -%patch30 -p1 %patch31 -p1 # drop Autoconf version requirement ++ python.spec ++ --- /var/tmp/diff_new_pack.Vo2fyt/_old 2014-10-05 20:31:05.0 +0200 +++ /var/tmp/diff_new_pack.Vo2fyt/_new 2014-10-05 20:31:05.0 +0200 @@ -16,7 +16,7 @@ # Name: python -Version:2.7.7 +Version:2.7.8 Release:0 Summary:Python Interpreter License:Python-2.0 @@ -61,8 +61,6 @@ # CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib Patch28:smtplib_maxline-2.7.patch Patch29:python-2.7.6-poplib.patch -# CVE-2014-4650 - File disclosure and directory traversal in CGIHTTPServer -Patch30:CVE-2014-4650-CGIHTTPServer-traversal.patch # remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) Patch31:
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2014-07-28 06:31:15 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2014-06-25 15:24:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2014-07-28 06:31:18.0 +0200 @@ -1,0 +2,9 @@ +Wed Jul 23 16:48:38 UTC 2014 - jmate...@suse.com + +- CVE-2014-4650-CGIHTTPServer-traversal.patch: CGIHTTPServer file + disclosure and directory traversal through URL-encoded characters + (CVE-2014-4650, bnc#885882) +- python-2.7.7-mhlib-linkcount.patch: remove link count optimizations + that are incorrect on btrfs (and possibly other filesystems) + +--- python.changes: same change New: CVE-2014-4650-CGIHTTPServer-traversal.patch python-2.7.7-mhlib-linkcount.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.jfvqCf/_old 2014-07-28 06:31:20.0 +0200 +++ /var/tmp/diff_new_pack.jfvqCf/_new 2014-07-28 06:31:20.0 +0200 @@ -57,6 +57,10 @@ # CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib Patch28:smtplib_maxline-2.7.patch Patch29:python-2.7.6-poplib.patch +# CVE-2014-4650 - File disclosure and directory traversal in CGIHTTPServer +Patch30:CVE-2014-4650-CGIHTTPServer-traversal.patch +# remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) +Patch31:python-2.7.7-mhlib-linkcount.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -149,6 +153,8 @@ %patch26 -p1 %patch28 -p1 %patch29 -p1 +%patch30 -p1 +%patch31 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.jfvqCf/_old 2014-07-28 06:31:20.0 +0200 +++ /var/tmp/diff_new_pack.jfvqCf/_new 2014-07-28 06:31:20.0 +0200 @@ -60,6 +60,10 @@ # CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib Patch28:smtplib_maxline-2.7.patch Patch29:python-2.7.6-poplib.patch +# CVE-2014-4650 - File disclosure and directory traversal in CGIHTTPServer +Patch30:CVE-2014-4650-CGIHTTPServer-traversal.patch +# remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) +Patch31:python-2.7.7-mhlib-linkcount.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -106,6 +110,8 @@ %patch26 -p1 %patch28 -p1 %patch29 -p1 +%patch30 -p1 +%patch31 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.jfvqCf/_old 2014-07-28 06:31:20.0 +0200 +++ /var/tmp/diff_new_pack.jfvqCf/_new 2014-07-28 06:31:20.0 +0200 @@ -61,6 +61,10 @@ # CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib Patch28:smtplib_maxline-2.7.patch Patch29:python-2.7.6-poplib.patch +# CVE-2014-4650 - File disclosure and directory traversal in CGIHTTPServer +Patch30:CVE-2014-4650-CGIHTTPServer-traversal.patch +# remove link count optimization that breaks mhlib on btrfs (and possibly elsewhere) +Patch31:python-2.7.7-mhlib-linkcount.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -183,6 +187,8 @@ %patch26 -p1 %patch28 -p1 %patch29 -p1 +%patch30 -p1 +%patch31 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ CVE-2014-4650-CGIHTTPServer-traversal.patch ++ # HG changeset patch # User Benjamin Peterson benja...@python.org # Date 1402796189 25200 # Node ID b4bab078876811c7d95231d08aa6fa7142fdda66 # Parent bb8b0c7fefd0c5ed99b3f336178a4f9554a1d0ef url unquote the path before checking if it refers to a CGI script (closes #21766) diff --git a/Lib/CGIHTTPServer.py b/Lib/CGIHTTPServer.py --- a/Lib/CGIHTTPServer.py +++ b/Lib/CGIHTTPServer.py @@ -84,7 +84,7 @@ class CGIHTTPRequestHandler(SimpleHTTPSe path begins with one of the strings in self.cgi_directories (and the next character is a '/' or the end of the string). -collapsed_path = _url_collapse_path(self.path) +collapsed_path = _url_collapse_path(urllib.unquote(self.path)) dir_sep = collapsed_path.find('/', 1) head, tail = collapsed_path[:dir_sep], collapsed_path[dir_sep+1:] if head in self.cgi_directories: diff --git
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2014-06-25 15:24:03 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2014-03-21 15:47:37.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2014-06-25 15:24:07.0 +0200 @@ -1,0 +2,18 @@ +Fri Jun 20 13:11:34 UTC 2014 - jmate...@suse.com + +- update to 2.7.7 + * bugfix-only release, over a hundred bugs fixed + * backported hmac.compare_digest from python3, first step of PEP 466 +- drop upstreamed patches: + * CVE-2014-1912-recvfrom_into.patch + * python-2.7.4-no-REUSEPORT.patch + * python-2.7.6-bdist-rpm.patch + * python-2.7.6-imaplib.patch + * python-2.7.6-sqlite-3.8.4-tests.patch +- refresh patches: + * python-2.7.3-ssl_ca_path.patch + * python-2.7.4-canonicalize2.patch + * xmlrpc_gzip_27.patch +- added python keyring and signature for the main tarball + +--- --- /work/SRC/openSUSE:Factory/python/python-doc.changes2014-03-21 15:47:37.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-doc.changes 2014-06-25 15:24:07.0 +0200 @@ -1,0 +2,5 @@ +Fri Jun 20 13:46:40 UTC 2014 - jmate...@suse.com + +- update to 2.7.7 + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2014-03-21 15:47:37.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2014-06-25 15:24:07.0 +0200 @@ -1,0 +2,6 @@ +Fri Jun 20 13:46:22 UTC 2014 - jmate...@suse.com + +- update to 2.7.7 + * bugfix-only release, over a hundred bugs fixed + +--- Old: CVE-2014-1912-recvfrom_into.patch Python-2.7.6.tar.xz python-2.7.4-no-REUSEPORT.patch python-2.7.6-bdist-rpm.patch python-2.7.6-docs-html.tar.bz2 python-2.7.6-docs-pdf-a4.tar.bz2 python-2.7.6-docs-pdf-letter.tar.bz2 python-2.7.6-imaplib.patch python-2.7.6-sqlite-3.8.4-tests.patch New: Python-2.7.7.tar.xz Python-2.7.7.tar.xz.asc python-2.7.7-docs-html.tar.bz2 python-2.7.7-docs-pdf-a4.tar.bz2 python-2.7.7-docs-pdf-letter.tar.bz2 python.keyring Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.6D7Jw3/_old 2014-06-25 15:24:09.0 +0200 +++ /var/tmp/diff_new_pack.6D7Jw3/_new 2014-06-25 15:24:09.0 +0200 @@ -17,7 +17,7 @@ Name: python-base -Version:2.7.6 +Version:2.7.7 Release:0 Summary:Python Interpreter base package License:Python-2.0 @@ -26,6 +26,8 @@ %define tarversion %{version} %define tarname Python-%{tarversion} Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz +Source4: http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz.asc +Source6:python.keyring Source1:macros.python Source2:baselibs.conf Source3:README.SUSE @@ -47,21 +49,14 @@ Patch20:python-bundle-lang.patch # PATCH-FIX-OPENSUSE Properly support aarch64 in _ctypes module Patch22:python-2.7.4-aarch64.patch -Patch23:python-2.7.4-no-REUSEPORT.patch Patch24:python-bsddb6.diff # PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module Patch25:libffi-ppc64le.diff # CVE-2013-1753 [bnc#856835] unbounded gzip decompression in xmlrpc client Patch26:xmlrpc_gzip_27.patch # CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib -Patch27:python-2.7.6-imaplib.patch Patch28:smtplib_maxline-2.7.patch Patch29:python-2.7.6-poplib.patch -# [bnc#857470] add missing import to bdist_rpm command -Patch30:python-2.7.6-bdist-rpm.patch -# CVE-2014-1912 [bnc#863741] buffer overflow in recvfrom_into -Patch31:CVE-2014-1912-recvfrom_into.patch -Patch32:python-2.7.6-sqlite-3.8.4-tests.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -149,16 +144,11 @@ %patch18 -p1 %patch20 -p1 %patch22 -p1 -%patch23 -p1 %patch24 -p1 %patch25 -p0 %patch26 -p1 -%patch27 -p1 %patch28 -p1 %patch29 -p1 -%patch30 -p1 -%patch31 -p1 -%patch32 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.6D7Jw3/_old 2014-06-25 15:24:10.0 +0200 +++ /var/tmp/diff_new_pack.6D7Jw3/_new 2014-06-25 15:24:10.0 +0200 @@ -16,7 +16,7 @@ #
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2014-03-21 15:47:36 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2014-02-19 09:10:35.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2014-03-21 15:47:37.0 +0100 @@ -1,0 +2,14 @@ +Sat Mar 15 08:05:41 UTC 2014 - sch...@suse.de + +- Use profile-opt only when profiling is enabled +- python-2.7.2-disable-tests-in-test_io.patch: removed, no longer needed +- update testsuite exclusion list: + * test_signal and test_posix fail due to qemu bugs + +--- +Fri Mar 14 20:26:03 UTC 2014 - andreas.stie...@gmx.de + +- Fix build with SQLite 3.8.4 [bnc#867887], fixing SQLite tests, + adding python-2.7.6-sqlite-3.8.4-tests.patch + +--- --- /work/SRC/openSUSE:Factory/python/python-doc.changes2013-11-26 19:33:33.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-doc.changes 2014-03-21 15:47:37.0 +0100 @@ -1,0 +2,6 @@ +Fri Mar 14 20:26:03 UTC 2014 - andreas.stie...@gmx.de + +- Fix build with SQLite 3.8.4 [bnc#867887], fixing SQLite tests, + adding python-2.7.6-sqlite-3.8.4-tests.patch + +--- python.changes: same change Old: python-2.7.2-disable-tests-in-test_io.patch New: python-2.7.6-sqlite-3.8.4-tests.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.StxigS/_old 2014-03-21 15:47:39.0 +0100 +++ /var/tmp/diff_new_pack.StxigS/_new 2014-03-21 15:47:39.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-base # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -40,7 +40,6 @@ Patch8: python-2.6b3-curses-panel.patch Patch10:sparc_longdouble.patch Patch13:python-2.7.2-fix_date_time_compiler.patch -Patch15:python-2.7.2-disable-tests-in-test_io.patch Patch17:remove-static-libpython.diff # PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions Patch18:python-2.7.3-ssl_ca_path.patch @@ -62,6 +61,7 @@ Patch30:python-2.7.6-bdist-rpm.patch # CVE-2014-1912 [bnc#863741] buffer overflow in recvfrom_into Patch31:CVE-2014-1912-recvfrom_into.patch +Patch32:python-2.7.6-sqlite-3.8.4-tests.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -145,10 +145,6 @@ %patch8 -p1 %patch10 -p1 %patch13 -p1 -#skip test_io test for ppc,ppc64 as it is broken. -%ifarch ppc ppc64 ppc64le -%patch15 -p1 -%endif %patch17 -p1 %patch18 -p1 %patch20 -p1 @@ -162,6 +158,7 @@ %patch29 -p1 %patch30 -p1 %patch31 -p1 +%patch32 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac @@ -186,8 +183,13 @@ --enable-shared \ --enable-unicode=ucs4 +%if 0%{?do_profiling} +target=profile-opt +%else +target=all +%endif LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \ -make %{?_smp_mflags} profile-opt +make %{?_smp_mflags} $target %check # on hppa, the threading of glibc is quite broken. The tests just stop @@ -196,34 +198,40 @@ %ifnarch hppa # test_file(2k) fails in autobuild env - stdin.seek(-1) wrongly succeeds. probably an issue with autobuild's stdin # test_urllib2 relies on being able to resolve local address, which is notoriously impossible in autobuild -EXCLUDE=-x test_urllib2 -x test_file -x test_file2k +EXCLUDE=test_urllib2 test_file test_file2k # test_nis and test_threading are AWFULLY slow. -EXCLUDE=$EXCLUDE -x test_nis -x test_threading +EXCLUDE=$EXCLUDE test_nis test_threading # test_gdb fails if gdb with (different) python support is part of the buildsystem -EXCLUDE=$EXCLUDE -x test_gdb +EXCLUDE=$EXCLUDE test_gdb %ifarch ia64 # test_smtplib's testSend is known to be broken and on ia64 it actually fails most of the time, preventing the build. -EXCLUDE=$EXCLUDE -x test_smtplib +EXCLUDE=$EXCLUDE test_smtplib %endif # test_unicode fails in Factory -EXCLUDE=$EXCLUDE -x test_unicode +EXCLUDE=$EXCLUDE test_unicode %if 0%{?qemu_user_space_build} # test_asyncore fails
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2014-02-19 09:10:33 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2014-01-23 15:53:38.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2014-02-19 09:10:35.0 +0100 @@ -1,0 +2,17 @@ +Mon Feb 10 14:24:52 UTC 2014 - jmate...@suse.com + +- added patches for CVE-2013-1752 (bnc#856836) issues that are + missing in 2.7.6: + python-2.7.6-imaplib.patch + python-2.7.6-poplib.patch + smtplib_maxline-2.7.patch +- CVE-2013-1753 (bnc#856835) gzip decompression bomb in xmlrpc client: + xmlrpc_gzip_27.patch +- python-2.7.6-bdist-rpm.patch: fix broken setup.py bdist_rpm command + (bnc#857470, issue18045) +- multilib patch: add ~/.local/lib64 paths to search path + (bnc#637176) +- CVE-2014-1912-recvfrom_into.patch: fix potential buffer overflow + in socket.recvfrom_into (CVE-2014-1912, bnc#863741) + +--- python.changes: same change New: CVE-2014-1912-recvfrom_into.patch python-2.7.6-bdist-rpm.patch python-2.7.6-imaplib.patch python-2.7.6-poplib.patch smtplib_maxline-2.7.patch xmlrpc_gzip_27.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.utcRVe/_old 2014-02-19 09:10:36.0 +0100 +++ /var/tmp/diff_new_pack.utcRVe/_new 2014-02-19 09:10:36.0 +0100 @@ -52,6 +52,16 @@ Patch24:python-bsddb6.diff # PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module Patch25:libffi-ppc64le.diff +# CVE-2013-1753 [bnc#856835] unbounded gzip decompression in xmlrpc client +Patch26:xmlrpc_gzip_27.patch +# CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib +Patch27:python-2.7.6-imaplib.patch +Patch28:smtplib_maxline-2.7.patch +Patch29:python-2.7.6-poplib.patch +# [bnc#857470] add missing import to bdist_rpm command +Patch30:python-2.7.6-bdist-rpm.patch +# CVE-2014-1912 [bnc#863741] buffer overflow in recvfrom_into +Patch31:CVE-2014-1912-recvfrom_into.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -146,6 +156,12 @@ %patch23 -p1 %patch24 -p1 %patch25 -p0 +%patch26 -p1 +%patch27 -p1 +%patch28 -p1 +%patch29 -p1 +%patch30 -p1 +%patch31 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.utcRVe/_old 2014-02-19 09:10:36.0 +0100 +++ /var/tmp/diff_new_pack.utcRVe/_new 2014-02-19 09:10:36.0 +0100 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: python-doc Version:2.7.6 Release:0 @@ -58,6 +57,16 @@ Patch24:python-bsddb6.diff # PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module Patch25:libffi-ppc64le.diff +# CVE-2013-1753 [bnc#856835] unbounded gzip decompression in xmlrpc client +Patch26:xmlrpc_gzip_27.patch +# CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib +Patch27:python-2.7.6-imaplib.patch +Patch28:smtplib_maxline-2.7.patch +Patch29:python-2.7.6-poplib.patch +# [bnc#857470] add missing import to bdist_rpm command +Patch30:python-2.7.6-bdist-rpm.patch +# CVE-2014-1912 [bnc#863741] buffer overflow in recvfrom_into +Patch31:CVE-2014-1912-recvfrom_into.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -106,6 +115,12 @@ %patch23 -p1 %patch24 -p1 %patch25 -p0 +%patch26 -p1 +%patch27 -p1 +%patch28 -p1 +%patch29 -p1 +%patch30 -p1 +%patch31 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.utcRVe/_old 2014-02-19 09:10:36.0 +0100 +++ /var/tmp/diff_new_pack.utcRVe/_new 2014-02-19 09:10:36.0 +0100 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: python Version:2.7.6 Release:0 @@ -59,6 +58,16 @@ Patch24:python-bsddb6.diff # PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module Patch25:libffi-ppc64le.diff +# CVE-2013-1753 [bnc#856835] unbounded gzip decompression in xmlrpc client +Patch26:xmlrpc_gzip_27.patch +# CVE-2013-1752 patches missing in 2.7.6: imaplib, poplib, smtplib +Patch27:python-2.7.6-imaplib.patch +Patch28:smtplib_maxline-2.7.patch
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2014-01-16 15:38:05 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2014-01-03 14:49:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2014-01-23 15:53:38.0 +0100 @@ -1,0 +2,5 @@ +Tue Dec 10 16:56:02 UTC 2013 - uweig...@de.ibm.com + +- Add Obsoletes/Provides for python-ctypes. + +--- python.changes: same change Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.Y1osyb/_old 2014-01-23 15:53:40.0 +0100 +++ /var/tmp/diff_new_pack.Y1osyb/_new 2014-01-23 15:53:40.0 +0100 @@ -69,6 +69,8 @@ %ifarch ppc64 Obsoletes: python-64bit %endif +Provides: python-ctypes = 1.1.0 +Obsoletes: python-ctypes 1.1.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description python.spec: same change -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2014-01-03 14:49:34 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2013-12-07 08:50:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2014-01-03 14:49:36.0 +0100 @@ -1,0 +2,6 @@ +Sat Dec 7 02:27:51 UTC 2013 - m...@suse.de + +- Ignore uuid testcase in the testsuite, it relies on unreliable + ifconfig output. + +--- python.changes: same change Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.LWo4nc/_old 2014-01-03 14:49:37.0 +0100 +++ /var/tmp/diff_new_pack.LWo4nc/_new 2014-01-03 14:49:37.0 +0100 @@ -195,6 +195,12 @@ # emulation is unreliable EXCLUDE=$EXCLUDE -x test_multiprocessing %endif + +# This test (part of test_uuid) requires real network interfaces +# so that ifconfig output has HWaddr something. Some kvm instances +# don't have any such interface breaking the uuid module test. +EXCLUDE=$EXCLUDE -x test_uuid + # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ulimit -v 1000 || : python.spec: same change -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-12-07 08:50:06 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2013-11-26 19:33:33.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2013-12-07 08:50:07.0 +0100 @@ -1,0 +2,23 @@ +Tue Dec 3 20:03:08 CET 2013 - m...@suse.de + +- adapt python-2.7.5-multilib.patch for ppc64le + +--- +Tue Dec 3 17:30:26 UTC 2013 - dval...@suse.com + +- adjust %files for ppc64le + +--- +Tue Dec 3 17:05:45 UTC 2013 - m...@suse.de + +- Support for ppc64le in _ctypes libffi copy. + +- added patches: + * libffi-ppc64le.diff +--- +Tue Dec 3 09:44:28 UTC 2013 - adr...@suse.de + +- add ppc64le rules +- avoid errors from source-validator + +--- python.changes: same change Old: _local.pth New: libffi-ppc64le.diff local.pth Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.CH1MI7/_old 2013-12-07 08:50:10.0 +0100 +++ /var/tmp/diff_new_pack.CH1MI7/_new 2013-12-07 08:50:10.0 +0100 @@ -29,7 +29,7 @@ Source1:macros.python Source2:baselibs.conf Source3:README.SUSE -Source5:_local.pth +Source5:local.pth # COMMON-PATCH-BEGIN Patch1: python-2.7-dirs.patch Patch2: python-distutils-rpm-8.patch @@ -50,6 +50,8 @@ Patch22:python-2.7.4-aarch64.patch Patch23:python-2.7.4-no-REUSEPORT.patch Patch24:python-bsddb6.diff +# PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module +Patch25:libffi-ppc64le.diff # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -132,7 +134,7 @@ %patch10 -p1 %patch13 -p1 #skip test_io test for ppc,ppc64 as it is broken. -%ifarch ppc ppc64 +%ifarch ppc ppc64 ppc64le %patch15 -p1 %endif %patch17 -p1 @@ -141,6 +143,7 @@ %patch22 -p1 %patch23 -p1 %patch24 -p1 +%patch25 -p0 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac @@ -209,7 +212,7 @@ # install it %make_install OPT=%{optflags} -fPIC -install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages +install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages/_local.pth install -d -m 755 %{buildroot}%{_sysconfdir}/rpm install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm # make sure /usr/lib/python/site-packages exists even on lib64 machines @@ -377,7 +380,7 @@ %{_libdir}/python%{python_version}/lib-dynload/_multibytecodec.so %{_libdir}/python%{python_version}/lib-dynload/Python-%{tarversion}-py%{python_version}.egg-info # these modules don't support 64-bit arches (disabled by setup.py) -%ifnarch alpha ia64 x86_64 s390x ppc64 sparc64 aarch64 +%ifnarch alpha ia64 x86_64 s390x ppc64 ppc64le sparc64 aarch64 # requires sizeof(int) == sizeof(long) == sizeof(char*) %{_libdir}/python%{python_version}/lib-dynload/dl.so %endif ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.CH1MI7/_old 2013-12-07 08:50:10.0 +0100 +++ /var/tmp/diff_new_pack.CH1MI7/_new 2013-12-07 08:50:10.0 +0100 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-doc Version:2.7.6 Release:0 @@ -55,6 +56,8 @@ Patch22:python-2.7.4-aarch64.patch Patch23:python-2.7.4-no-REUSEPORT.patch Patch24:python-bsddb6.diff +# PATCH-FIX-OPENSUSE Properly support ppc64le in _ctypes module +Patch25:libffi-ppc64le.diff # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -93,7 +96,7 @@ %patch10 -p1 %patch13 -p1 #skip test_io test for ppc,ppc64 as it is broken. -%ifarch ppc ppc64 +%ifarch ppc ppc64 ppc64le %patch15 -p1 %endif %patch17 -p1 @@ -102,6 +105,7 @@ %patch22 -p1 %patch23 -p1 %patch24 -p1 +%patch25 -p0 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.CH1MI7/_old 2013-12-07 08:50:10.0 +0100 +++ /var/tmp/diff_new_pack.CH1MI7/_new 2013-12-07 08:50:10.0 +0100 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-11-26 19:33:31 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2013-10-11 12:54:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2013-11-26 19:33:33.0 +0100 @@ -1,0 +2,12 @@ +Thu Nov 21 15:39:28 UTC 2013 - jmate...@suse.com + +- update to 2.7.6 + * bugfix-only release + * SSL-related fixes + * upstream fix for CVE-2013-4238 + * upstream fixes for CVE-2013-1752 +- removed upstreamed patch CVE-2013-4238_py27.patch +- reintroduce audioop.so as the problems with it seem to be fixed + (bnc#831442) + +--- --- /work/SRC/openSUSE:Factory/python/python-doc.changes2013-06-25 06:57:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-doc.changes 2013-11-26 19:33:33.0 +0100 @@ -1,0 +2,6 @@ +Thu Nov 21 15:55:04 UTC 2013 - jmate...@suse.com + +- update to 2.7.6 +- docs are now versioned with patchlevel too + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2013-09-26 19:43:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2013-11-26 19:33:33.0 +0100 @@ -1,0 +2,5 @@ +Thu Nov 21 15:54:55 UTC 2013 - jmate...@suse.com + +- update to 2.7.6 + +--- Old: CVE-2013-4238_py27.patch Python-2.7.5.tar.xz python-2.7.5-docs-html.tar.bz2 python-2.7.5-docs-pdf-a4.tar.bz2 python-2.7.5-docs-pdf-letter.tar.bz2 New: Python-2.7.6.tar.xz python-2.7.6-docs-html.tar.bz2 python-2.7.6-docs-pdf-a4.tar.bz2 python-2.7.6-docs-pdf-letter.tar.bz2 Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.CqkVhw/_old 2013-11-26 19:33:35.0 +0100 +++ /var/tmp/diff_new_pack.CqkVhw/_new 2013-11-26 19:33:35.0 +0100 @@ -17,7 +17,7 @@ Name: python-base -Version:2.7.5 +Version:2.7.6 Release:0 Summary:Python Interpreter base package License:Python-2.0 @@ -50,7 +50,6 @@ Patch22:python-2.7.4-aarch64.patch Patch23:python-2.7.4-no-REUSEPORT.patch Patch24:python-bsddb6.diff -Patch25:CVE-2013-4238_py27.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -142,7 +141,6 @@ %patch22 -p1 %patch23 -p1 %patch24 -p1 -%patch25 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac @@ -227,9 +225,8 @@ CLEANUP_DIR=%{buildroot}%{_libdir}/python%{python_version} # don't distribute precompiled windows installers (duh) rm -f $CLEANUP_DIR/distutils/command/*.exe -# kill imageop.so and audioop.so, they are rarely used and insecure +# kill imageop.so - it used to be insecure and it is deprecated anyway rm -f $CLEANUP_DIR/lib-dynload/imageop.so -rm -f $CLEANUP_DIR/lib-dynload/audioop.so # link shared library instead of static library that tools expect ln -s ../../libpython%{python_version}.so %{buildroot}%{_libdir}/python%{python_version}/config/libpython%{python_version}.so # remove various things that don't need to be in python-base @@ -348,6 +345,7 @@ %{_libdir}/python%{python_version}/lib-dynload/_struct.so %{_libdir}/python%{python_version}/lib-dynload/_testcapi.so %{_libdir}/python%{python_version}/lib-dynload/array.so +%{_libdir}/python%{python_version}/lib-dynload/audioop.so %{_libdir}/python%{python_version}/lib-dynload/binascii.so %{_libdir}/python%{python_version}/lib-dynload/bz2.so %{_libdir}/python%{python_version}/lib-dynload/cPickle.so ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.CqkVhw/_old 2013-11-26 19:33:35.0 +0100 +++ /var/tmp/diff_new_pack.CqkVhw/_new 2013-11-26 19:33:35.0 +0100 @@ -16,23 +16,22 @@ # Name: python-doc -Version:2.7 +Version:2.7.6 Release:0 Summary:Additional Package Documentation for Python License:Python-2.0 Group: Development/Languages/Python Url:http://www.python.org/ -%define pyver 2.7.5 -%define tarname Python-%{pyver} +%define tarname Python-%{version} Source0:%{tarname}.tar.xz # docs for current version are regenerated every day # this messes with autobuild file changed checks #Source1: http://docs.python.org/%{version}/archives/python-%{pyver}-docs-html.tar.bz2
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-10-11 12:54:46 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2013-07-16 16:14:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2013-10-11 12:54:47.0 +0200 @@ -1,0 +2,6 @@ +Thu Oct 10 18:13:08 UTC 2013 - dmuel...@suse.com + +- exclude test_mmap under qemu_linux_user - emulation fails here + as the tests mmap address conflicts with qemu + +--- python.changes: same change Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.KBNfpi/_old 2013-10-11 12:54:48.0 +0200 +++ /var/tmp/diff_new_pack.KBNfpi/_new 2013-10-11 12:54:48.0 +0200 @@ -190,7 +190,7 @@ EXCLUDE=$EXCLUDE -x test_unicode %if 0%{?qemu_user_space_build} # test_asyncore fails because of unimplemented sockopt -EXCLUDE=$EXCLUDE -x test_asyncore +EXCLUDE=$EXCLUDE -x test_asyncore -x test_mmap # emulation is unreliable EXCLUDE=$EXCLUDE -x test_multiprocessing %endif python.spec: same change -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-09-26 19:43:14 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: python-doc.changes: same change --- /work/SRC/openSUSE:Factory/python/python.changes2013-08-30 11:47:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2013-09-26 19:43:16.0 +0200 @@ -1,0 +2,7 @@ +Thu Sep 19 17:40:05 UTC 2013 - crrodrig...@opensuse.org + +- build with -DOPENSSL_LOAD_CONF so python honours + the system's openSSL configuration if any, allowing it to + benefit from openssl ENGINE functionality. + +--- Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.LsZf4A/_old 2013-09-26 19:43:18.0 +0200 +++ /var/tmp/diff_new_pack.LsZf4A/_new 2013-09-26 19:43:18.0 +0200 @@ -149,7 +149,7 @@ # COMMON-PREP-END %build -export OPT=%{optflags} +export OPT=%{optflags} -DOPENSSL_LOAD_CONF autoreconf -f -i . # Modules/_ctypes/libffi ++ python.spec ++ --- /var/tmp/diff_new_pack.LsZf4A/_old 2013-09-26 19:43:18.0 +0200 +++ /var/tmp/diff_new_pack.LsZf4A/_new 2013-09-26 19:43:18.0 +0200 @@ -193,7 +193,7 @@ # necessary for correct linking with GDBM: export SUSE_ASNEEDED=0 -export OPT=%{optflags} +export OPT=%{optflags} -DOPENSSL_LOAD_CONF autoreconf -f -i . # Modules/_ctypes/libffi # prevent make from trying to rebuild asdl stuff, which requires existing -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-08-30 11:47:52 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: python-doc.changes: same change --- /work/SRC/openSUSE:Factory/python/python.changes2013-08-21 13:46:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2013-08-30 11:47:53.0 +0200 @@ -1,0 +2,6 @@ +Mon Aug 26 13:55:35 UTC 2013 - lnus...@suse.de + +- update python-2.7.3-ssl_ca_path.patch patch to load default verify locations + if no ca_certs file is specified (bnc#827982, bnc#836739) + +--- @@ -5 +11 @@ - (CVE-2013-4073, bnc#834601) + (CVE-2013-4238, bnc#834601) Old: CVE-2013-4073_py27.patch New: CVE-2013-4238_py27.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.cHLXNL/_old 2013-08-30 11:47:54.0 +0200 +++ /var/tmp/diff_new_pack.cHLXNL/_new 2013-08-30 11:47:54.0 +0200 @@ -50,7 +50,7 @@ Patch22:python-2.7.4-aarch64.patch Patch23:python-2.7.4-no-REUSEPORT.patch Patch24:python-bsddb6.diff -Patch25:CVE-2013-4073_py27.patch +Patch25:CVE-2013-4238_py27.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.cHLXNL/_old 2013-08-30 11:47:54.0 +0200 +++ /var/tmp/diff_new_pack.cHLXNL/_new 2013-08-30 11:47:54.0 +0200 @@ -56,7 +56,7 @@ Patch22:python-2.7.4-aarch64.patch Patch23:python-2.7.4-no-REUSEPORT.patch Patch24:python-bsddb6.diff -Patch25:CVE-2013-4073_py27.patch +Patch25:CVE-2013-4238_py27.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps ++ python.spec ++ --- /var/tmp/diff_new_pack.cHLXNL/_old 2013-08-30 11:47:54.0 +0200 +++ /var/tmp/diff_new_pack.cHLXNL/_new 2013-08-30 11:47:54.0 +0200 @@ -56,7 +56,7 @@ Patch22:python-2.7.4-aarch64.patch Patch23:python-2.7.4-no-REUSEPORT.patch Patch24:python-bsddb6.diff -Patch25:CVE-2013-4073_py27.patch +Patch25:CVE-2013-4238_py27.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel ++ CVE-2013-4073_py27.patch - CVE-2013-4238_py27.patch ++ ++ python-2.7.3-ssl_ca_path.patch ++ --- /var/tmp/diff_new_pack.cHLXNL/_old 2013-08-30 11:47:54.0 +0200 +++ /var/tmp/diff_new_pack.cHLXNL/_new 2013-08-30 11:47:54.0 +0200 @@ -1,6 +1,8 @@ a/Modules/_ssl.c -+++ b/Modules/_ssl.c -@@ -271,6 +271,7 @@ +Index: Python-2.7.5/Modules/_ssl.c +=== +--- Python-2.7.5.orig/Modules/_ssl.c Python-2.7.5/Modules/_ssl.c +@@ -271,6 +271,7 @@ newPySSLObject(PySocketSockObject *Sock, char *errstr = NULL; int ret; int verification_mode; @@ -8,15 +10,24 @@ self = PyObject_New(PySSLObject, PySSL_Type); /* Create new object */ if (self == NULL) -@@ -331,11 +332,23 @@ - verification of other-side certificates.); - goto fail; - } else { --PySSL_BEGIN_ALLOW_THREADS +@@ -327,20 +328,32 @@ newPySSLObject(PySocketSockObject *Sock, + + if (certreq != PY_SSL_CERT_NONE) { + if (cacerts_file == NULL) { +-errstr = ERRSTR(No root certificates specified for +-verification of other-side certificates.); +-goto fail; +-} else { + PySSL_BEGIN_ALLOW_THREADS -ret = SSL_CTX_load_verify_locations(self-ctx, -cacerts_file, -NULL); --PySSL_END_ALLOW_THREADS ++ret = SSL_CTX_set_default_verify_paths(self-ctx); + PySSL_END_ALLOW_THREADS +-if (ret != 1) { +-_setSSLError(NULL, 0, __FILE__, __LINE__); +-goto fail; ++} else { +/* If cacerts_file is a directory-based cert store, pass it as the + third parameter, CApath, instead +*/ @@ -32,8 +43,13 @@ +cacerts_file, +NULL); +PySSL_END_ALLOW_THREADS -+} + } + } + - if (ret != 1) { - _setSSLError(NULL, 0, __FILE__, __LINE__); - goto fail; ++if (ret != 1) { ++
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-08-21 13:46:16 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: python-doc.changes: same change --- /work/SRC/openSUSE:Factory/python/python.changes2013-07-16 16:14:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2013-08-21 13:46:18.0 +0200 @@ -1,0 +2,6 @@ +Fri Aug 16 11:25:49 UTC 2013 - jmate...@suse.com + +- handle NULL bytes in certain fields of SSL certificates + (CVE-2013-4073, bnc#834601) + +--- New: CVE-2013-4073_py27.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.xRAnjE/_old 2013-08-21 13:46:24.0 +0200 +++ /var/tmp/diff_new_pack.xRAnjE/_new 2013-08-21 13:46:24.0 +0200 @@ -50,6 +50,7 @@ Patch22:python-2.7.4-aarch64.patch Patch23:python-2.7.4-no-REUSEPORT.patch Patch24:python-bsddb6.diff +Patch25:CVE-2013-4073_py27.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -140,7 +141,8 @@ %patch20 -p1 %patch22 -p1 %patch23 -p1 -%patch -P 24 -p1 +%patch24 -p1 +%patch25 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.xRAnjE/_old 2013-08-21 13:46:24.0 +0200 +++ /var/tmp/diff_new_pack.xRAnjE/_new 2013-08-21 13:46:24.0 +0200 @@ -56,6 +56,7 @@ Patch22:python-2.7.4-aarch64.patch Patch23:python-2.7.4-no-REUSEPORT.patch Patch24:python-bsddb6.diff +Patch25:CVE-2013-4073_py27.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -102,7 +103,8 @@ %patch20 -p1 %patch22 -p1 %patch23 -p1 -%patch -P 24 -p1 +%patch24 -p1 +%patch25 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ python.spec ++ --- /var/tmp/diff_new_pack.xRAnjE/_old 2013-08-21 13:46:25.0 +0200 +++ /var/tmp/diff_new_pack.xRAnjE/_new 2013-08-21 13:46:25.0 +0200 @@ -56,6 +56,7 @@ Patch22:python-2.7.4-aarch64.patch Patch23:python-2.7.4-no-REUSEPORT.patch Patch24:python-bsddb6.diff +Patch25:CVE-2013-4073_py27.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -178,7 +179,8 @@ %patch20 -p1 %patch22 -p1 %patch23 -p1 -%patch -P 24 -p1 +%patch24 -p1 +%patch25 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++ CVE-2013-4073_py27.patch ++ diff -r 9ddc63c039ba Lib/test/nullbytecert.pem --- /dev/null Thu Jan 01 00:00:00 1970 + +++ b/Lib/test/nullbytecert.pem Sun Aug 11 18:13:17 2013 +0200 @@ -0,0 +1,90 @@ +Certificate: +Data: +Version: 3 (0x2) +Serial Number: 0 (0x0) +Signature Algorithm: sha1WithRSAEncryption +Issuer: C=US, ST=Oregon, L=Beaverton, O=Python Software Foundation, OU=Python Core Development, CN=null.python.org\x00example.org/emailAddress=python-...@python.org +Validity +Not Before: Aug 7 13:11:52 2013 GMT +Not After : Aug 7 13:12:52 2013 GMT +Subject: C=US, ST=Oregon, L=Beaverton, O=Python Software Foundation, OU=Python Core Development, CN=null.python.org\x00example.org/emailAddress=python-...@python.org +Subject Public Key Info: +Public Key Algorithm: rsaEncryption +Public-Key: (2048 bit) +Modulus: +00:b5:ea:ed:c9:fb:46:7d:6f:3b:76:80:dd:3a:f3: +03:94:0b:a7:a6:db:ec:1d:df:ff:23:74:08:9d:97: +16:3f:a3:a4:7b:3e:1b:0e:96:59:25:03:a7:26:e2: +88:a9:cf:79:cd:f7:04:56:b0:ab:79:32:6e:59:c1: +32:30:54:eb:58:a8:cb:91:f0:42:a5:64:27:cb:d4: +56:31:88:52:ad:cf:bd:7f:f0:06:64:1f:cc:27:b8: +a3:8b:8c:f3:d8:29:1f:25:0b:f5:46:06:1b:ca:02: +45:ad:7b:76:0a:9c:bf:bb:b9:ae:0d:16:ab:60:75: +ae:06:3e:9c:7c:31:dc:92:2f:29:1a:e0:4b:0c:91: +90:6c:e9:37:c5:90:d7:2a:d7:97:15:a3:80:8f:5d: +7b:49:8f:54:30:d4:97:2c:1c:5b:37:b5:ab:69:30: +68:43:d3:33:78:4b:02:60:f5:3c:44:80:a1:8f:e7: +f0:0f:d1:5e:87:9e:46:cf:62:fc:f9:bf:0c:65:12: +f1:93:c8:35:79:3f:c8:ec:ec:47:f5:ef:be:44:d5: +ae:82:1e:2d:9a:9f:98:5a:67:65:e1:74:70:7c:cb: +
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-07-11 13:33:46 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2013-07-03 10:25:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2013-07-11 13:33:48.0 +0200 @@ -1,0 +2,6 @@ +Sat Jul 6 17:17:11 UTC 2013 - co...@suse.com + +- have python-devel require python: + http://lists.opensuse.org/opensuse-factory/2013-06/msg00622.html + +--- @@ -47 +53 @@ --- +--- --- /work/SRC/openSUSE:Factory/python/python.changes2013-06-28 18:55:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2013-07-11 13:33:48.0 +0200 @@ -1371 +1371 @@ - +--- @@ -1376 +1376 @@ - +--- @@ -1382 +1382 @@ - +--- Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.zzb5S3/_old 2013-07-11 13:33:49.0 +0200 +++ /var/tmp/diff_new_pack.zzb5S3/_new 2013-07-11 13:33:49.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-base # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -16,14 +16,13 @@ # - Name: python-base Version:2.7.5 Release:0 -License:Python-2.0 Summary:Python Interpreter base package -Url:http://www.python.org/ +License:Python-2.0 Group: Development/Languages/Python +Url:http://www.python.org/ %define tarversion %{version} %define tarname Python-%{tarversion} Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz @@ -53,7 +52,8 @@ # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake -BuildRequires: fdupes libbz2-devel +BuildRequires: fdupes +BuildRequires: libbz2-devel BuildRequires: pkg-config BuildRequires: xz BuildRequires: zlib-devel @@ -81,6 +81,7 @@ Summary:Include Files and Libraries Mandatory for Building Python Modules Group: Development/Languages/Python Requires: glibc-devel +Requires: python = %{version} Requires: python-base = %{version}-%{release} %description -n python-devel ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.zzb5S3/_old 2013-07-11 13:33:49.0 +0200 +++ /var/tmp/diff_new_pack.zzb5S3/_new 2013-07-11 13:33:49.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-doc # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -15,13 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-doc Version:2.7 Release:0 -License:Python-2.0 Summary:Additional Package Documentation for Python -Url:http://www.python.org/ +License:Python-2.0 Group: Development/Languages/Python +Url:http://www.python.org/ %define pyver 2.7.5 %define tarname Python-%{pyver} Source0:%{tarname}.tar.xz ++ python.spec ++ --- /var/tmp/diff_new_pack.zzb5S3/_old 2013-07-11 13:33:49.0 +0200 +++ /var/tmp/diff_new_pack.zzb5S3/_new 2013-07-11 13:33:49.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-07-03 10:25:34 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2013-06-28 18:55:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2013-07-03 10:25:35.0 +0200 @@ -1,0 +2,5 @@ +Sun Jun 30 21:20:29 UTC 2013 - sch...@suse.de + +- Disable test_multiprocessing in QEmu build + +--- python.changes: same change Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.1FSyIv/_old 2013-07-03 10:25:36.0 +0200 +++ /var/tmp/diff_new_pack.1FSyIv/_new 2013-07-03 10:25:36.0 +0200 @@ -186,6 +186,8 @@ %if 0%{?qemu_user_space_build} # test_asyncore fails because of unimplemented sockopt EXCLUDE=$EXCLUDE -x test_asyncore +# emulation is unreliable +EXCLUDE=$EXCLUDE -x test_multiprocessing %endif # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then python.spec: same change -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-06-28 18:55:55 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2013-06-25 06:57:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2013-06-28 18:55:56.0 +0200 @@ -1,0 +2,6 @@ +Wed Jun 5 15:17:51 UTC 2013 - sch...@suse.de + +- Disable test_asyncore in QEmu build +- Reenable testsuite on arm + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2013-06-25 06:57:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2013-06-28 18:55:56.0 +0200 @@ -1,0 +2,5 @@ +Wed Jun 5 15:19:14 UTC 2013 - sch...@suse.de + +- Reenable testsuite on arm + +--- Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.fXTTjw/_old 2013-06-28 18:55:58.0 +0200 +++ /var/tmp/diff_new_pack.fXTTjw/_new 2013-06-28 18:55:58.0 +0200 @@ -169,7 +169,7 @@ # on hppa, the threading of glibc is quite broken. The tests just stop # at some point, and the machine does not build anything more until a # timeout several hours later. -%ifnarch hppa %arm +%ifnarch hppa # test_file(2k) fails in autobuild env - stdin.seek(-1) wrongly succeeds. probably an issue with autobuild's stdin # test_urllib2 relies on being able to resolve local address, which is notoriously impossible in autobuild EXCLUDE=-x test_urllib2 -x test_file -x test_file2k @@ -183,6 +183,10 @@ %endif # test_unicode fails in Factory EXCLUDE=$EXCLUDE -x test_unicode +%if 0%{?qemu_user_space_build} +# test_asyncore fails because of unimplemented sockopt +EXCLUDE=$EXCLUDE -x test_asyncore +%endif # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ulimit -v 1000 || : ++ python.spec ++ --- /var/tmp/diff_new_pack.fXTTjw/_old 2013-06-28 18:55:58.0 +0200 +++ /var/tmp/diff_new_pack.fXTTjw/_new 2013-06-28 18:55:58.0 +0200 @@ -209,7 +209,7 @@ # on hppa, the threading of glibc is quite broken. The tests just stop # at some point, and the machine does not build anything more until a # timeout several hours later. -%ifnarch hppa %arm +%ifnarch hppa # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ulimit -v 1000 || : -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-06-25 06:57:35 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2013-03-01 08:03:57.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2013-06-25 06:57:39.0 +0200 @@ -1,0 +2,51 @@ +Thu May 30 16:40:16 UTC 2013 - jmate...@suse.com + +- python-2.7.4-aarch64.patch: add missing bits of aarch64 support +- python-2.7.4-no-REUSEPORT.patch: disable test of + missing kernel functionality +- drop unnecessary patch: python-2.7.1-distutils_test_path.patch +- switch to xz archive + +--- +Tue May 28 08:42:49 UTC 2013 - speili...@suse.com + +- Update to version 2.7.5: + + bugfix-only release + + fixes several important regressions introduced in 2.7.4 + + Issue #15535: Fixed regression in the pickling of named tuples by +removing the __dict__ property introduced in 2.7.4. + + Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, +such as was shipped with Centos 5 and Mac OS X 10.4. + + Issue #17703: Fix a regression where an illegal use of Py_DECREF() after +interpreter finalization can cause a crash. + + Issue #16447: Fixed potential segmentation fault when setting __name__ on a +class. + + Issue #17610: Don't rely on non-standard behavior of the C qsort() function. 12 + See http://hg.python.org/cpython/file/ab05e7dd2788/Misc/NEWS for more +- Drop upstreamed patches: + + python-2.7.3-fix-dbm-64bit-bigendian.patch + + python-test_structmembers.patch +- Rebased other patches + +--- +Mon May 13 09:24:29 UTC 2013 - dmuel...@suse.com + +- add aarch64 to the list of 64-bit platforms + +-- +Thu May 9 16:11:23 UTC 2013 - jmate...@suse.com + +- update to 2.7.4 +* bugfix-only release +- drop upstreamed patches: +pypirc-secure.diff +python-2.7.3-multiprocessing-join.patch +ctypes-libffi-aarch64.patch +- drop python-2.7rc2-configure.patch as it doesn't seem necessary anymore + +--- +Fri Apr 5 13:33:27 UTC 2013 - idon...@suse.com + +- Add Source URL, see https://en.opensuse.org/SourceUrls + +--- --- /work/SRC/openSUSE:Factory/python/python-doc.changes2012-05-21 10:02:19.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-doc.changes 2013-06-25 06:57:39.0 +0200 @@ -1,0 +2,25 @@ +Tue Jun 4 13:23:28 UTC 2013 - jmate...@suse.com + +- disable Source URLs for docs (the doc archives are regenerated + every day and autobuild detects this as upstream file is different + error) + +--- +Tue May 28 08:42:49 UTC 2013 - speili...@suse.com + +- Update to version 2.7.5 + +--- +Thu May 9 16:14:17 UTC 2013 - jmate...@suse.com + +- update to 2.7.4 +- removed %docdir/python/README from package (conflict with python-base) +- removed ACKS (is now part of Misc docs) + +--- +Fri Apr 5 13:33:29 UTC 2013 - idon...@suse.com + +- Add Source URL, see https://en.opensuse.org/SourceUrls +- Fix installation so we don't create double sub-directories + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2013-03-01 08:03:57.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2013-06-25 06:57:39.0 +0200 @@ -1,0 +2,33 @@ +Thu May 30 16:40:16 UTC 2013 - jmate...@suse.com + +- switch to xz archive + +--- +Tue May 28 08:42:49 UTC 2013 - speili...@suse.com + +- Update to version 2.7.5: + + bugfix-only release + + fixes several important regressions introduced in 2.7.4 + + Issue #15535: Fixed regression in the pickling of named tuples by +removing the __dict__ property introduced in 2.7.4. + + Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, +such as was shipped with Centos 5 and Mac OS X 10.4. + + Issue #17703: Fix a regression where an illegal use of Py_DECREF() after +interpreter finalization can cause a crash. + + Issue #16447: Fixed potential segmentation fault when setting __name__ on a +class. + + Issue #17610: Don't rely on non-standard behavior of the C qsort() function. 12 + See
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2013-03-01 07:47:17 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python, Maintainer is jmate...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2012-10-26 17:47:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2013-03-01 07:47:18.0 +0100 @@ -1,0 +2,17 @@ +Wed Feb 27 17:04:32 UTC 2013 - sch...@suse.de + +- Add aarch64 to the list of lib64 platforms + +--- +Sat Feb 9 16:24:10 UTC 2013 - sch...@suse.de + +- Add ctypes-libffi-aarch64.patch: import aarch64 support for libffi in + _ctypes module + +--- +Fri Feb 8 14:49:45 UTC 2013 - jmate...@suse.com + +- multiprocessing: thread joining itself (bnc#747794) +- gettext: fix cases where no bundle is found (bnc#794139) + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2012-08-13 19:54:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2013-03-01 07:47:18.0 +0100 @@ -1,0 +2,5 @@ +Mon Feb 25 17:24:52 UTC 2013 - jmate...@suse.com + +- fix pythonstart failing on $HOME-less users (bnc#804978) + +--- New: ctypes-libffi-aarch64.patch python-2.7.3-multiprocessing-join.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.dT97fg/_old 2013-03-01 07:47:21.0 +0100 +++ /var/tmp/diff_new_pack.dT97fg/_new 2013-03-01 07:47:21.0 +0100 @@ -52,6 +52,9 @@ Patch19:python-2.7.3-fix-dbm-64bit-bigendian.patch # PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 dims...@opensuse.org -- gettext: when looking in default_localedir also check in locale-bundle. Patch20:python-bundle-lang.patch +Patch21:python-2.7.3-multiprocessing-join.patch +# PATCH-FIX-OPENSUSE Import aarch64 support for libffi in _ctypes module +Patch22:ctypes-libffi-aarch64.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -142,6 +145,8 @@ %patch18 %patch19 -p1 %patch20 -p1 +%patch21 -p1 +%patch22 -p1 # COMMON-PREP-END # drop Autoconf version requirement ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.dT97fg/_old 2013-03-01 07:47:21.0 +0100 +++ /var/tmp/diff_new_pack.dT97fg/_new 2013-03-01 07:47:21.0 +0100 @@ -49,6 +49,9 @@ Patch19:python-2.7.3-fix-dbm-64bit-bigendian.patch # PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 dims...@opensuse.org -- gettext: when looking in default_localedir also check in locale-bundle. Patch20:python-bundle-lang.patch +Patch21:python-2.7.3-multiprocessing-join.patch +# PATCH-FIX-OPENSUSE Import aarch64 support for libffi in _ctypes module +Patch22:ctypes-libffi-aarch64.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -98,6 +101,8 @@ %patch18 %patch19 -p1 %patch20 -p1 +%patch21 -p1 +%patch22 -p1 # COMMON-PREP-END %build ++ python.spec ++ --- /var/tmp/diff_new_pack.dT97fg/_old 2013-03-01 07:47:21.0 +0100 +++ /var/tmp/diff_new_pack.dT97fg/_new 2013-03-01 07:47:21.0 +0100 @@ -57,6 +57,9 @@ Patch19:python-2.7.3-fix-dbm-64bit-bigendian.patch # PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 dims...@opensuse.org -- gettext: when looking in default_localedir also check in locale-bundle. Patch20:python-bundle-lang.patch +Patch21:python-2.7.3-multiprocessing-join.patch +# PATCH-FIX-OPENSUSE Import aarch64 support for libffi in _ctypes module +Patch22:ctypes-libffi-aarch64.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -181,6 +184,8 @@ %patch18 %patch19 -p1 %patch20 -p1 +%patch21 -p1 +%patch22 -p1 # COMMON-PREP-END # drop Autoconf version requirement ++ ctypes-libffi-aarch64.patch ++ 3220 lines (skipped) ++ python-2.7.3-multiprocessing-join.patch ++ # HG changeset patch # User Richard Oudkerk shibt...@gmail.com # Date 1340030251 -3600 # Node ID 4c07b9c49b75a10874d98841bb2d826f118835a3 # Parent 8b38a81ba3bfa0535b3e7719c3b0e62343a56698 Issue #15101: Make pool finalizer avoid joining current thread diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py --- a/Lib/multiprocessing/pool.py +++ b/Lib/multiprocessing/pool.py @@ -489,7 +489,8 @@ class Pool(object):
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2012-10-26 17:47:34 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python, Maintainer is jmate...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2012-10-16 15:25:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2012-10-26 17:47:37.0 +0200 @@ -1,0 +2,5 @@ +Thu Oct 25 11:21:06 UTC 2012 - co...@suse.com + +- add explicit buildrequire on libbz2-devel + +--- python.changes: same change Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.Y0ygQV/_old 2012-10-26 17:47:39.0 +0200 +++ /var/tmp/diff_new_pack.Y0ygQV/_new 2012-10-26 17:47:39.0 +0200 @@ -55,7 +55,7 @@ # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake -BuildRequires: fdupes +BuildRequires: fdupes libbz2-devel BuildRequires: pkg-config BuildRequires: zlib-devel # for the test suite python.spec: same change -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2012-10-16 15:25:22 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python, Maintainer is jmate...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2012-08-08 21:57:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2012-10-16 15:25:24.0 +0200 @@ -1,0 +2,13 @@ +Mon Oct 15 10:39:15 UTC 2012 - co...@suse.com + +- buildrequire explicitly netcfg for the test suite + +--- +Mon Oct 8 14:33:08 UTC 2012 - jmate...@suse.com + +- remove distutils.cfg (bnc#658604) + * this changes default prefix for distutils to /usr + * see ML for details: +http://lists.opensuse.org/opensuse-packaging/2012-09/msg00254.html + +--- python.changes: same change Old: distutils.cfg Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.w6J5Ba/_old 2012-10-16 15:25:27.0 +0200 +++ /var/tmp/diff_new_pack.w6J5Ba/_new 2012-10-16 15:25:27.0 +0200 @@ -30,7 +30,6 @@ Source1:macros.python Source2:baselibs.conf Source3:README.SUSE -Source4:distutils.cfg Source5:_local.pth # COMMON-PATCH-BEGIN Patch1: python-2.7-dirs.patch @@ -59,6 +58,8 @@ BuildRequires: fdupes BuildRequires: pkg-config BuildRequires: zlib-devel +# for the test suite +BuildRequires: netcfg # explicitly, see bnc#697251: Requires: libpython2_7-1_0 = %{version} Provides: %{name} = %{python_version} @@ -203,9 +204,6 @@ # install it %make_install OPT=%{optflags} -fPIC -# install site-specific tweaks -#ln -s python%{python_version} %{buildroot}%{_bindir}/python2 -install -m 644 %{SOURCE4} %{buildroot}%{_libdir}/python%{python_version}/distutils install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages install -d -m 755 %{buildroot}%{_sysconfdir}/rpm install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm python.spec: same change -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2012-08-13 19:54:09 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python, Maintainer is jmate...@suse.com Changes: python-doc.changes: same change --- /work/SRC/openSUSE:Factory/python/python.changes2012-07-21 12:31:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2012-08-13 19:54:32.0 +0200 @@ -1,0 +2,6 @@ +Sun Aug 12 11:46:22 UTC 2012 - idon...@suse.com + +- python python-base Release numbers can differ, take that into + account. See bnc#766778 comment 12. + +--- Other differences: -- python-doc.spec: same change ++ python.spec ++ --- /var/tmp/diff_new_pack.M9g7R1/_old 2012-08-13 19:54:38.0 +0200 +++ /var/tmp/diff_new_pack.M9g7R1/_new 2012-08-13 19:54:38.0 +0200 @@ -72,7 +72,7 @@ BuildRequires: xorg-x11-devel %define python_version%(echo %{tarversion} | head -c 3) %define idle_name idle -Requires: python-base = %{version}-%{release} +Requires: python-base = %{version} Provides: %{name} = %{python_version} Obsoletes: python-elementtree Obsoletes: python-nothreads @@ -96,7 +96,7 @@ %package idle Summary:An Integrated Development Environment for Python Group: Development/Languages/Python -Requires: python-base = %{version}-%{release} +Requires: python-base = %{version} Requires: python-tk %description idle @@ -108,7 +108,7 @@ %package demo Summary:Python Demonstration Scripts Group: Development/Languages/Python -Requires: python-base = %{version}-%{release} +Requires: python-base = %{version} Provides: pyth_dmo Obsoletes: pyth_dmo @@ -119,7 +119,7 @@ %package tk Summary:TkInter - Python Tk Interface Group: Development/Libraries/Python -Requires: python-base = %{version}-%{release} +Requires: python-base = %{version} Provides: pyth_tk Provides: pyth_tkl Provides: python-tkinter @@ -138,7 +138,7 @@ %package curses Summary:Python Interface to the (N)Curses Library Group: Development/Libraries/Python -Requires: python-base = %{version}-%{release} +Requires: python-base = %{version} Obsoletes: pyth_cur Provides: pyth_cur @@ -149,7 +149,7 @@ %package gdbm Summary:Python Interface to the GDBM Library Group: Development/Libraries/Python -Requires: python-base = %{version}-%{release} +Requires: python-base = %{version} Obsoletes: pygdmod Provides: pygdmod -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2012-08-08 21:57:31 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python, Maintainer is jmate...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2012-07-21 12:31:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2012-08-08 21:57:32.0 +0200 @@ -1,0 +2,13 @@ +Fri Aug 3 18:43:32 UTC 2012 - dims...@opensuse.org + +- Add python-bundle-lang.patch: gettext: If bindtextdomain is + instructed to look in the default location of translations, we + check additionally in locale-bundle. Fixes issues like bnc#617751 + +--- +Tue Jul 31 12:36:04 UTC 2012 - jmate...@suse.com + +- all subpackages require python-base=%{version}-%{release} explicitly + (fixes bnc#766778 bug and similar that might arise in the future) + +--- python.changes: same change New: python-bundle-lang.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.Y02ohe/_old 2012-08-08 21:57:37.0 +0200 +++ /var/tmp/diff_new_pack.Y02ohe/_new 2012-08-08 21:57:37.0 +0200 @@ -51,6 +51,8 @@ # PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions Patch18:python-2.7.3-ssl_ca_path.patch Patch19:python-2.7.3-fix-dbm-64bit-bigendian.patch +# PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 dims...@opensuse.org -- gettext: when looking in default_localedir also check in locale-bundle. +Patch20:python-bundle-lang.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -79,7 +81,7 @@ Summary:Include Files and Libraries Mandatory for Building Python Modules Group: Development/Languages/Python Requires: glibc-devel -Requires: python-base = %{version} +Requires: python-base = %{version}-%{release} %description -n python-devel The Python programming language's interpreter can be extended with @@ -92,7 +94,7 @@ %package -n python-xml Summary:A Python XML Interface Group: Development/Libraries/Python -Requires: python-base = %{version} +Requires: python-base = %{version}-%{release} # pyxml used to live out of tree Provides: pyxml = 0.8.5 Obsoletes: pyxml 0.8.5 @@ -138,6 +140,7 @@ %patch17 %patch18 %patch19 -p1 +%patch20 -p1 # COMMON-PREP-END # drop Autoconf version requirement ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.Y02ohe/_old 2012-08-08 21:57:37.0 +0200 +++ /var/tmp/diff_new_pack.Y02ohe/_new 2012-08-08 21:57:37.0 +0200 @@ -47,6 +47,8 @@ # PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions Patch18:python-2.7.3-ssl_ca_path.patch Patch19:python-2.7.3-fix-dbm-64bit-bigendian.patch +# PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 dims...@opensuse.org -- gettext: when looking in default_localedir also check in locale-bundle. +Patch20:python-bundle-lang.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -95,6 +97,7 @@ %patch17 %patch18 %patch19 -p1 +%patch20 -p1 # COMMON-PREP-END %build ++ python.spec ++ --- /var/tmp/diff_new_pack.Y02ohe/_old 2012-08-08 21:57:37.0 +0200 +++ /var/tmp/diff_new_pack.Y02ohe/_new 2012-08-08 21:57:37.0 +0200 @@ -55,6 +55,8 @@ # PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions Patch18:python-2.7.3-ssl_ca_path.patch Patch19:python-2.7.3-fix-dbm-64bit-bigendian.patch +# PATCH-FEATURE-OPENSUSE python-bundle-lang.patch bnc#617751 dims...@opensuse.org -- gettext: when looking in default_localedir also check in locale-bundle. +Patch20:python-bundle-lang.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -70,7 +72,7 @@ BuildRequires: xorg-x11-devel %define python_version%(echo %{tarversion} | head -c 3) %define idle_name idle -Requires: python-base = %{version} +Requires: python-base = %{version}-%{release} Provides: %{name} = %{python_version} Obsoletes: python-elementtree Obsoletes: python-nothreads @@ -94,7 +96,7 @@
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2012-07-21 12:31:06 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python, Maintainer is jmate...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2012-05-21 10:02:19.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2012-07-21 12:31:07.0 +0200 @@ -1,0 +2,5 @@ +Tue Jun 26 11:54:22 UTC 2012 - dval...@suse.com + +- Fix failing test_dbm on ppc64 + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2012-05-21 10:02:19.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2012-07-21 12:31:07.0 +0200 @@ -1,0 +2,5 @@ +Tue Jun 26 11:54:22 UTC 2012 - dval...@suse.com + +- Fix failing test_dbm on ppc64 + +--- New: python-2.7.3-fix-dbm-64bit-bigendian.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.0ARMfA/_old 2012-07-21 12:31:14.0 +0200 +++ /var/tmp/diff_new_pack.0ARMfA/_new 2012-07-21 12:31:14.0 +0200 @@ -50,6 +50,7 @@ Patch17:remove-static-libpython.diff # PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions Patch18:python-2.7.3-ssl_ca_path.patch +Patch19:python-2.7.3-fix-dbm-64bit-bigendian.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -136,6 +137,7 @@ %patch16 -p1 %patch17 %patch18 +%patch19 -p1 # COMMON-PREP-END # drop Autoconf version requirement ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.0ARMfA/_old 2012-07-21 12:31:14.0 +0200 +++ /var/tmp/diff_new_pack.0ARMfA/_new 2012-07-21 12:31:14.0 +0200 @@ -46,6 +46,7 @@ Patch17:remove-static-libpython.diff # PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions Patch18:python-2.7.3-ssl_ca_path.patch +Patch19:python-2.7.3-fix-dbm-64bit-bigendian.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -93,6 +94,7 @@ %patch16 -p1 %patch17 %patch18 +%patch19 -p1 # COMMON-PREP-END %build ++ python.spec ++ --- /var/tmp/diff_new_pack.0ARMfA/_old 2012-07-21 12:31:14.0 +0200 +++ /var/tmp/diff_new_pack.0ARMfA/_new 2012-07-21 12:31:14.0 +0200 @@ -54,6 +54,7 @@ Patch17:remove-static-libpython.diff # PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions Patch18:python-2.7.3-ssl_ca_path.patch +Patch19:python-2.7.3-fix-dbm-64bit-bigendian.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -176,6 +177,7 @@ %patch16 -p1 %patch17 %patch18 +%patch19 -p1 # COMMON-PREP-END # drop Autoconf version requirement ++ python-2.7.3-fix-dbm-64bit-bigendian.patch ++ Index: Python-2.7.3/Modules/dbmmodule.c === --- Python-2.7.3.orig/Modules/dbmmodule.c +++ Python-2.7.3/Modules/dbmmodule.c @@ -168,12 +168,18 @@ static int dbm_contains(register dbmobject *dp, PyObject *v) { datum key, val; +Py_ssize_t dsize; -if (PyString_AsStringAndSize(v, (char **)key.dptr, - (Py_ssize_t *)key.dsize)) { +if (PyString_AsStringAndSize(v, (char **)key.dptr, dsize)) { return -1; } +/* Coerce from Py_ssize_t down to int: */ +if (dsize INT_MAX) { +return -1; +} +key.dsize = dsize; + /* Expand check_dbmobject_open to return -1 */ if (dp-di_dbm == NULL) { PyErr_SetString(DbmError, DBM object has already been closed); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2012-05-21 10:02:05 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python, Maintainer is jmate...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2012-04-18 12:35:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2012-05-21 10:02:19.0 +0200 @@ -1,0 +2,6 @@ +Thu May 17 17:49:31 UTC 2012 - jf...@funktronics.ca + +- Support directory-based certificate stores with the ca_certs parameter of SSL + functions [bnc#761501] + +--- python-doc.changes: same change --- /work/SRC/openSUSE:Factory/python/python.changes2012-03-05 14:03:05.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2012-05-21 10:02:19.0 +0200 @@ -1,0 +2,11 @@ +Thu May 17 17:49:31 UTC 2012 - jf...@funktronics.ca + +- Support directory-based certificate stores with the ca_certs parameter of SSL + functions [bnc#761501] + +--- +Tue May 15 14:17:43 UTC 2012 - jmate...@suse.com + +- enabled some tests + +--- New: python-2.7.3-ssl_ca_path.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.Elefxt/_old 2012-05-21 10:02:21.0 +0200 +++ /var/tmp/diff_new_pack.Elefxt/_new 2012-05-21 10:02:21.0 +0200 @@ -48,6 +48,8 @@ Patch15:python-2.7.2-disable-tests-in-test_io.patch Patch16:pypirc-secure.diff Patch17:remove-static-libpython.diff +# PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions +Patch18:python-2.7.3-ssl_ca_path.patch # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -133,6 +135,7 @@ %endif %patch16 -p1 %patch17 +%patch18 # COMMON-PREP-END # drop Autoconf version requirement ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.Elefxt/_old 2012-05-21 10:02:21.0 +0200 +++ /var/tmp/diff_new_pack.Elefxt/_new 2012-05-21 10:02:21.0 +0200 @@ -44,6 +44,8 @@ Patch15:python-2.7.2-disable-tests-in-test_io.patch Patch16:pypirc-secure.diff Patch17:remove-static-libpython.diff +# PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions +Patch18:python-2.7.3-ssl_ca_path.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -90,6 +92,7 @@ %endif %patch16 -p1 %patch17 +%patch18 # COMMON-PREP-END %build ++ python.spec ++ --- /var/tmp/diff_new_pack.Elefxt/_old 2012-05-21 10:02:21.0 +0200 +++ /var/tmp/diff_new_pack.Elefxt/_new 2012-05-21 10:02:21.0 +0200 @@ -52,6 +52,8 @@ Patch15:python-2.7.2-disable-tests-in-test_io.patch Patch16:pypirc-secure.diff Patch17:remove-static-libpython.diff +# PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions +Patch18:python-2.7.3-ssl_ca_path.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -173,6 +175,7 @@ %endif %patch16 -p1 %patch17 +%patch18 # COMMON-PREP-END # drop Autoconf version requirement @@ -210,7 +213,7 @@ if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ulimit -v 1000 || : fi -LIST=test_urllib test_ssl test_hashlib test_hmac test_urllib2_localnet test_unicodedata test_tarfile test_sqlite test_tcl test_anydbm test_dumbdbm test_gdbm test_whichdb test_tk test_ttk_textonly test_bsddb test_readline +LIST=test_urllib test_ssl test_hashlib test_hmac test_urllib2_localnet test_unicodedata test_tarfile test_sqlite test_tcl test_dbm test_anydbm test_dumbdbm test_gdbm test_whichdb test_tk test_ttk_textonly test_bsddb test_bsddb3 test_readline make test TESTOPTS=$LIST TESTPYTHONOPTS=-R %endif ++ python-2.7.3-ssl_ca_path.patch ++ Index: Modules/_ssl.c === --- Modules/_ssl.c.orig +++ Modules/_ssl.c @@ -271,6 +271,7 @@ newPySSLObject(PySocketSockObject *Sock, char *errstr = NULL; int ret; int verification_mode; +struct stat stat_buf; self = PyObject_New(PySSLObject, PySSL_Type); /* Create new object */ if (self == NULL) @@
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2012-04-18 12:35:06 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python, Maintainer is jmate...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2012-04-12 09:51:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2012-04-18 12:35:13.0 +0200 @@ -1,0 +2,8 @@ +Sat Apr 14 08:57:46 UTC 2012 - dmuel...@suse.com + +- update to 2.7.3: + * no change +- remove static libpython.a from build to avoid packages + linking it statically + +--- python.changes: same change Old: Python-2.7.3rc2.tar.bz2 New: Python-2.7.3.tar.bz2 remove-static-libpython.diff Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.Ua87DN/_old 2012-04-18 12:35:17.0 +0200 +++ /var/tmp/diff_new_pack.Ua87DN/_new 2012-04-18 12:35:17.0 +0200 @@ -18,14 +18,13 @@ Name: python-base -Version:2.7.2.99rc2 +Version:2.7.3 Release:0 License:Python-2.0 Summary:Python Interpreter base package Url:http://www.python.org/ Group: Development/Languages/Python -#%%define tarversion %{version} -%define tarversion 2.7.3rc2 +%define tarversion %{version} %define tarname Python-%{tarversion} Source0:%{tarname}.tar.bz2 Source1:macros.python @@ -48,6 +47,7 @@ Patch13:python-2.7.2-fix_date_time_compiler.patch Patch15:python-2.7.2-disable-tests-in-test_io.patch Patch16:pypirc-secure.diff +Patch17:remove-static-libpython.diff # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -132,6 +132,7 @@ %patch15 -p1 %endif %patch16 -p1 +%patch17 # COMMON-PREP-END # drop Autoconf version requirement @@ -216,6 +217,8 @@ # kill imageop.so and audioop.so, they are rarely used and insecure rm -f $CLEANUP_DIR/lib-dynload/imageop.so rm -f $CLEANUP_DIR/lib-dynload/audioop.so +# link shared library instead of static library that tools expect +ln -s ../../libpython%{python_version}.so %{buildroot}%{_libdir}/python%{python_version}/config/libpython%{python_version}.so # remove various things that don't need to be in python-base rm %{buildroot}%{_bindir}/idle rm -rf $CLEANUP_DIR/{curses,bsddb,idlelib,lib-tk,sqlite3} ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.Ua87DN/_old 2012-04-18 12:35:17.0 +0200 +++ /var/tmp/diff_new_pack.Ua87DN/_new 2012-04-18 12:35:17.0 +0200 @@ -15,8 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: python-doc Version:2.7 Release:0 @@ -24,13 +22,29 @@ Summary:Additional Package Documentation for Python Url:http://www.python.org/ Group: Development/Languages/Python -%define pyver 2.7.2.99rc2 -#%%define tarname Python-%{pyver} -%define tarname Python-2.7.3rc2 +%define pyver 2.7.3 +%define tarname Python-%{pyver} Source0:%{tarname}.tar.bz2 Source1:python-%{version}-docs-html.tar.bz2 Source2:python-%{version}-docs-pdf-a4.tar.bz2 Source3:python-%{version}-docs-pdf-letter.tar.bz2 +# COMMON-PATCH-BEGIN +Patch1: python-2.7-dirs.patch +Patch2: python-distutils-rpm-8.patch +Patch3: python-2.7.3rc2-multilib.patch +Patch4: python-2.5.1-sqlite.patch +Patch5: python-2.7.3rc2-canonicalize2.patch +Patch6: python-2.7rc2-configure.patch +Patch7: python-2.6-gettext-plurals.patch +Patch8: python-2.6b3-curses-panel.patch +Patch9: python-2.7.1-distutils_test_path.patch +Patch10:sparc_longdouble.patch +Patch12: http://psf.upfronthosting.co.za/roundup/tracker/file19029/python-test_structmembers.patch +Patch13:python-2.7.2-fix_date_time_compiler.patch +Patch15:python-2.7.2-disable-tests-in-test_io.patch +Patch16:pypirc-secure.diff +Patch17:remove-static-libpython.diff +# COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps Obsoletes: pyth_doc @@ -57,6 +71,26 @@ %prep %setup -q -n %{tarname} +# COMMON-PREP-BEGIN +%patch1 -p1 +%patch2 -p1 +%patch3 +%patch4 +%patch5 +%patch6 +%patch7 +%patch8 +%patch9 -p1 +%patch10 -p1 +%patch12 +%patch13 +#skip test_io test for ppc,ppc64 as it broken. +%ifarch ppc ppc64 +%patch15 -p1 +%endif +%patch16 -p1 +%patch17 +# COMMON-PREP-END %build # nothing to do
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2012-04-12 09:46:54 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python, Maintainer is jmate...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2012-03-05 14:03:05.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2012-04-12 09:46:56.0 +0200 @@ -1,0 +2,21 @@ +Wed Mar 28 18:19:18 UTC 2012 - jmate...@suse.com + +- update to 2.7.3rc2 + * fixes several security issues: + * CVE-2012-0845, bnc#747125 + * CVE-2012-1150, bnc#751718 + * CVE-2011-4944, bnc#754447 + * CVE-2011-3389 +- fix for insecure .pypirc (CVE-2011-4944, bnc#754447) + +!!important!! +- disabled test_unicode which segfaults on 64bits. + this should not happen, revisit in next RC! +!!important!! + +--- +Thu Feb 16 12:33:44 UTC 2012 - dval...@suse.com + +- skip broken test_io test on ppc + +--- python.changes: same change Old: Python-2.7.2.tar.bz2 python-2.7.1-urllib-noproxy.patch python-2.7.2-linux3.patch python-2.7.2-multilib.patch python-2.7rc2-canonicalize2.patch New: Python-2.7.3rc2.tar.bz2 pypirc-secure.diff python-2.7.2-disable-tests-in-test_io.patch python-2.7.3rc2-canonicalize2.patch python-2.7.3rc2-multilib.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.xstZZX/_old 2012-04-12 09:46:58.0 +0200 +++ /var/tmp/diff_new_pack.xstZZX/_new 2012-04-12 09:46:58.0 +0200 @@ -18,13 +18,14 @@ Name: python-base -Version:2.7.2 +Version:2.7.2.99rc2 Release:0 License:Python-2.0 Summary:Python Interpreter base package Url:http://www.python.org/ Group: Development/Languages/Python -%define tarversion %{version} +#%%define tarversion %{version} +%define tarversion 2.7.3rc2 %define tarname Python-%{tarversion} Source0:%{tarname}.tar.bz2 Source1:macros.python @@ -35,18 +36,18 @@ # COMMON-PATCH-BEGIN Patch1: python-2.7-dirs.patch Patch2: python-distutils-rpm-8.patch -Patch3: python-2.7.2-multilib.patch +Patch3: python-2.7.3rc2-multilib.patch Patch4: python-2.5.1-sqlite.patch -Patch5: python-2.7rc2-canonicalize2.patch +Patch5: python-2.7.3rc2-canonicalize2.patch Patch6: python-2.7rc2-configure.patch Patch7: python-2.6-gettext-plurals.patch Patch8: python-2.6b3-curses-panel.patch Patch9: python-2.7.1-distutils_test_path.patch Patch10:sparc_longdouble.patch -Patch11:python-2.7.2-linux3.patch Patch12: http://psf.upfronthosting.co.za/roundup/tracker/file19029/python-test_structmembers.patch Patch13:python-2.7.2-fix_date_time_compiler.patch -Patch14:python-2.7.1-urllib-noproxy.patch +Patch15:python-2.7.2-disable-tests-in-test_io.patch +Patch16:pypirc-secure.diff # COMMON-PATCH-END %define python_version%(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -124,10 +125,13 @@ %patch8 %patch9 -p1 %patch10 -p1 -%patch11 %patch12 %patch13 -%patch14 -p1 +#skip test_io test for ppc,ppc64 as it broken. +%ifarch ppc ppc64 +%patch15 -p1 +%endif +%patch16 -p1 # COMMON-PREP-END # drop Autoconf version requirement @@ -171,13 +175,13 @@ # test_smtplib's testSend is known to be broken and on ia64 it actually fails most of the time, preventing the build. EXCLUDE=$EXCLUDE -x test_smtplib %endif -# test_subprocess and test_unittest and test_threaded_import fail in Factory -EXCLUDE=$EXCLUDE -x test_subprocess -x test_unittest -xtest_threaded_import +# test_unicode fails in Factory +EXCLUDE=$EXCLUDE -x test_unicode # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ulimit -v 1000 || : fi -make test TESTOPTS=-l $EXCLUDE +make test TESTOPTS=-l $EXCLUDE TESTPYTHONOPTS=-R # use network, be verbose: #make test TESTOPTS=-l -u network -v %endif @@ -191,7 +195,7 @@ %make_install OPT=%{optflags} -fPIC # install site-specific tweaks -ln -s python%{python_version} %{buildroot}%{_bindir}/python2 +#ln -s python%{python_version} %{buildroot}%{_bindir}/python2 install -m 644 %{SOURCE4} %{buildroot}%{_libdir}/python%{python_version}/distutils install -m 644 %{SOURCE5} %{buildroot}%{_libdir}/python%{python_version}/site-packages install -d -m 755
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2012-03-05 14:03:03 Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) Package is python, Maintainer is jmate...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python/python-base.changes 2011-10-02 10:25:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2012-03-05 14:03:05.0 +0100 @@ -1,0 +2,18 @@ +Mon Dec 12 13:39:57 UTC 2011 - toddrme2...@gmail.com + +- Exclude /usr/bin/2to3 to prevent conflicts with python3-2to3 + +--- +Thu Dec 8 13:31:01 UTC 2011 - jmate...@suse.com + +- %python_version now correctly refers to %tarversion + +--- +Mon Nov 28 09:21:32 UTC 2011 - sasc...@suse.de + +- Spec file cleanup: + * Run spec-cleaner + * Remove outdated %clean section, AutoReqProv and authors from descr. +- Fix license to Python-2.0 (also SPDX style) + +--- --- /work/SRC/openSUSE:Factory/python/python-doc.changes2011-09-23 12:42:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.python.new/python-doc.changes 2012-03-05 14:03:05.0 +0100 @@ -1,0 +2,8 @@ +Mon Nov 28 09:21:32 UTC 2011 - sasc...@suse.de + +- Spec file cleanup: + * Run spec-cleaner + * Remove outdated %clean section, AutoReqProv and authors from descr. +- Fix license to Python-2.0 (also SPDX style) + +--- --- /work/SRC/openSUSE:Factory/python/python.changes2011-12-02 09:28:09.0 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python.changes 2012-03-05 14:03:05.0 +0100 @@ -1,0 +2,13 @@ +Thu Dec 8 13:30:29 UTC 2011 - jmate...@suse.com + +- %python_version now correctly refers to %tarversion + +--- +Thu Dec 01 09:21:32 UTC 2011 - sasc...@suse.de + +- Spec file cleanup: + * Run spec-cleaner + * Remove outdated %clean section, AutoReqProv and authors from descr. +- Fix license to Python-2.0 (also SPDX style) + +--- Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.IdweCR/_old 2012-03-05 14:03:07.0 +0100 +++ /var/tmp/diff_new_pack.IdweCR/_new 2012-03-05 14:03:07.0 +0100 @@ -18,18 +18,12 @@ Name: python-base -BuildRequires: fdupes pkg-config zlib-devel automake +Version:2.7.2 +Release:0 +License:Python-2.0 +Summary:Python Interpreter base package Url:http://www.python.org/ -License:MIT License (or similar) Group: Development/Languages/Python -# bug437293 -%ifarch ppc64 -Obsoletes: python-64bit -%endif -# -Summary:Python Interpreter base package -Version:2.7.2 -Release:1 %define tarversion %{version} %define tarname Python-%{tarversion} Source0:%{tarname}.tar.bz2 @@ -54,12 +48,19 @@ Patch13:python-2.7.2-fix_date_time_compiler.patch Patch14:python-2.7.1-urllib-noproxy.patch # COMMON-PATCH-END -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define python_version%(echo %{version} | head -c 3) +%define python_version%(echo %{tarversion} | head -c 3) +BuildRequires: automake +BuildRequires: fdupes +BuildRequires: pkg-config +BuildRequires: zlib-devel +# explicitly, see bnc#697251: +Requires: libpython2_7-1_0 = %{version} Provides: %{name} = %{python_version} - -# explicitly, see bnc#697251 -Requires: libpython2_7-1_0 = %{version}-%{release} +# bug437293 +%ifarch ppc64 +Obsoletes: python-64bit +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Python is an interpreted, object-oriented programming language, and is @@ -70,18 +71,11 @@ This package contains all of stand-alone Python files, minus binary modules that would pull in extra dependencies. - - -Authors: - -Guido van Rossum gu...@python.org - %package -n python-devel -License:Python License .. -Requires: python-base = %{version} glibc-devel Summary:Include Files and Libraries Mandatory for Building Python Modules Group: Development/Languages/Python -AutoReqProv:on +Requires: glibc-devel +Requires: python-base = %{version} %description -n python-devel The Python programming language's interpreter can be extended with @@ -91,34 +85,21 @@ tools for building Python modules,
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at Tue Sep 20 09:35:21 CEST 2011. --- python/python-base.changes 2011-07-22 15:05:18.0 +0200 +++ /mounts/work_src_done/STABLE/python/python-base.changes 2011-08-23 21:55:31.0 +0200 @@ -1,0 +2,12 @@ +Fri Aug 19 22:37:42 CEST 2011 - dmuel...@suse.de + +- update to 2.7.2: + * Bug fix only release, see + http://hg.python.org/cpython/raw-file/eb3c9b74884c/Misc/NEWS + for details +- introduce a pre_checkin.sh file that synchronizes + patches between python and python-base +- rediff patches for 2.7.2 +- replace kernel3 patch with the upstream solution + +--- --- python/python.changes 2011-07-11 02:00:44.0 +0200 +++ /mounts/work_src_done/STABLE/python/python.changes 2011-09-16 18:22:41.0 +0200 @@ -1,0 +2,6 @@ +Fri Sep 16 16:21:44 UTC 2011 - jmate...@suse.com + +- dropped newslist.py from demos because of bad license + (bnc#718009) + +--- @@ -4,2 +10,8 @@ -- fix build on factory: setup reports linux3 not linux2 now, - adapt checks +- update to 2.7.2: + * Bug fix only release, see + http://hg.python.org/cpython/raw-file/eb3c9b74884c/Misc/NEWS + for details +- introduce a pre_checkin.sh file that synchronizes + patches between python and python-base +- rediff patches for 2.7.2 +- replace kernel3 patch with the upstream solution calling whatdependson for head-i586 Old: Python-2.7.1.tar.bz2 python-2.7-CVE-2011-1521-fileurl.patch python-2.7-fix-parallel-make.patch python-2.7.1-fix_date_time_compiler.patch python-2.7.1-linux3.patch python-2.7.1-multilib.patch New: Python-2.7.2.tar.bz2 pre_checkin.sh python-2.7.1-urllib-noproxy.patch python-2.7.2-fix_date_time_compiler.patch python-2.7.2-linux3.patch python-2.7.2-multilib.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.pDjLAc/_old 2011-09-20 09:35:15.0 +0200 +++ /var/tmp/diff_new_pack.pDjLAc/_new 2011-09-20 09:35:15.0 +0200 @@ -29,8 +29,8 @@ %endif # Summary:Python Interpreter base package -Version:2.7.1 -Release:4 +Version:2.7.2 +Release:1 %define tarversion %{version} %define tarname Python-%{tarversion} Source0:%{tarname}.tar.bz2 @@ -39,20 +39,22 @@ Source3:README.SUSE Source4:distutils.cfg Source5:_local.pth - +# COMMON-PATCH-BEGIN Patch1: python-2.7-dirs.patch Patch2: python-distutils-rpm-8.patch -Patch3: python-2.7.1-multilib.patch -Patch4: python-2.7rc2-canonicalize2.patch -Patch5: python-2.7rc2-configure.patch -Patch6: python-2.6-gettext-plurals.patch -Patch7: python-2.7.1-distutils_test_path.patch -Patch8: sparc_longdouble.patch +Patch3: python-2.7.2-multilib.patch +Patch4: python-2.5.1-sqlite.patch +Patch5: python-2.7rc2-canonicalize2.patch +Patch6: python-2.7rc2-configure.patch +Patch7: python-2.6-gettext-plurals.patch +Patch8: python-2.6b3-curses-panel.patch +Patch9: python-2.7.1-distutils_test_path.patch +Patch10: sparc_longdouble.patch +Patch11:python-2.7.2-linux3.patch Patch12: http://psf.upfronthosting.co.za/roundup/tracker/file19029/python-test_structmembers.patch -Patch13:python-2.7.1-fix_date_time_compiler.patch -Patch14:python-2.7-CVE-2011-1521-fileurl.patch -Patch15:python-2.7-fix-parallel-make.patch -Patch16:python-2.7.1-linux3.patch +Patch13:python-2.7.2-fix_date_time_compiler.patch +Patch14:python-2.7.1-urllib-noproxy.patch +# COMMON-PATCH-END BuildRoot: %{_tmppath}/%{name}-%{version}-build %define python_version%(echo %{version} | head -c 3) Provides: %{name} = %{python_version} @@ -137,19 +139,22 @@ %prep %setup -q -n %{tarname} # patching +# COMMON-PREP-BEGIN %patch1 -p1 %patch2 -p1 -%patch3 -p1 +%patch3 %patch4 %patch5 %patch6 -%patch7 -p1 -%patch8 -p1 +%patch7 +%patch8 +%patch9 -p1 +%patch10 -p1 +%patch11 %patch12 -%patch13 -p1 +%patch13 %patch14 -p1 -%patch15 -p1 -%patch16 -p1 +# COMMON-PREP-END # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.in @@ -162,9 +167,6 @@ # provide a stable timestamp touch -r %{S:0} Makefile.pre.in -# Cheat for kernel 3.0 -cp -r Lib/plat-linux2 Lib/plat-linux3 - # prevent make from trying to rebuild asdl stuff, which requires existing # python installation touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h @@ -246,7 +248,7 @@ rm -f $CLEANUP_DIR/lib-dynload/audioop.so # remove various things that don't need to be in python-base rm
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at Fri Jul 29 09:06:26 CEST 2011. --- python/python-base.changes 2011-07-11 02:00:44.0 +0200 +++ /mounts/work_src_done/STABLE/python/python-base.changes 2011-07-22 15:05:18.0 +0200 @@ -1,0 +2,6 @@ +Fri Jul 22 13:03:49 UTC 2011 - idon...@novell.com + +- Copy Lib/plat-linux2 to Lix/plat-linux3 so that DLFCN module + is also available for linux3 systems bnc#707667 + +--- python.changes: same change calling whatdependson for head-i586 Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.Q2kT9H/_old 2011-07-29 09:03:11.0 +0200 +++ /var/tmp/diff_new_pack.Q2kT9H/_new 2011-07-29 09:03:11.0 +0200 @@ -30,7 +30,7 @@ # Summary:Python Interpreter base package Version:2.7.1 -Release:3 +Release:4 %define tarversion %{version} %define tarname Python-%{tarversion} Source0:%{tarname}.tar.bz2 @@ -162,6 +162,9 @@ # provide a stable timestamp touch -r %{S:0} Makefile.pre.in +# Cheat for kernel 3.0 +cp -r Lib/plat-linux2 Lib/plat-linux3 + # prevent make from trying to rebuild asdl stuff, which requires existing # python installation touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.Q2kT9H/_old 2011-07-29 09:03:11.0 +0200 +++ /var/tmp/diff_new_pack.Q2kT9H/_new 2011-07-29 09:03:11.0 +0200 @@ -24,7 +24,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:Additional Package Documentation for Python. Version:2.7 -Release:11 +Release:12 %define pyver 2.7.1 BuildArch: noarch %define tarnamePython-%{pyver} ++ python.spec ++ --- /var/tmp/diff_new_pack.Q2kT9H/_old 2011-07-29 09:03:11.0 +0200 +++ /var/tmp/diff_new_pack.Q2kT9H/_new 2011-07-29 09:03:11.0 +0200 @@ -32,7 +32,7 @@ Obsoletes: python-nothreads python21 python-elementtree python-sqlite Summary:Python Interpreter Version:2.7.1 -Release:9 +Release:11 Requires: python-base = %{version} %define tarversion %{version} %define tarname Python-%{tarversion} Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at Tue Jul 19 13:37:21 CEST 2011. --- python/python-base.changes 2011-05-31 20:00:07.0 +0200 +++ /mounts/work_src_done/STABLE/python/python-base.changes 2011-07-11 02:00:44.0 +0200 @@ -1,0 +2,6 @@ +Mon Jul 11 01:59:56 CEST 2011 - r...@suse.de + +- fix build on factory: setup reports linux3 not linux2 now, + adapt checks + +--- --- python/python.changes 2011-05-24 17:30:28.0 +0200 +++ /mounts/work_src_done/STABLE/python/python.changes 2011-07-11 02:00:44.0 +0200 @@ -1,0 +2,6 @@ +Mon Jul 11 01:59:56 CEST 2011 - r...@suse.de + +- fix build on factory: setup reports linux3 not linux2 now, + adapt checks + +--- calling whatdependson for head-i586 New: python-2.7.1-linux3.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.syD9e9/_old 2011-07-19 13:35:56.0 +0200 +++ /var/tmp/diff_new_pack.syD9e9/_new 2011-07-19 13:35:56.0 +0200 @@ -30,7 +30,7 @@ # Summary:Python Interpreter base package Version:2.7.1 -Release:2 +Release:3 %define tarversion %{version} %define tarname Python-%{tarversion} Source0:%{tarname}.tar.bz2 @@ -52,6 +52,7 @@ Patch13:python-2.7.1-fix_date_time_compiler.patch Patch14:python-2.7-CVE-2011-1521-fileurl.patch Patch15:python-2.7-fix-parallel-make.patch +Patch16:python-2.7.1-linux3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define python_version%(echo %{version} | head -c 3) Provides: %{name} = %{python_version} @@ -148,6 +149,7 @@ %patch13 -p1 %patch14 -p1 %patch15 -p1 +%patch16 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.in @@ -195,6 +197,8 @@ # test_smtplib's testSend is known to be broken and on ia64 it actually fails most of the time, preventing the build. EXCLUDE=$EXCLUDE -x test_smtplib %endif +# test_subprocess and test_unittest and test_threaded_import fail in Factory +EXCLUDE=$EXCLUDE -x test_subprocess -x test_unittest -xtest_threaded_import # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ulimit -v 1000 || : ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.syD9e9/_old 2011-07-19 13:35:56.0 +0200 +++ /var/tmp/diff_new_pack.syD9e9/_new 2011-07-19 13:35:56.0 +0200 @@ -24,7 +24,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:Additional Package Documentation for Python. Version:2.7 -Release:10 +Release:11 %define pyver 2.7.1 BuildArch: noarch %define tarnamePython-%{pyver} ++ python.spec ++ --- /var/tmp/diff_new_pack.syD9e9/_old 2011-07-19 13:35:56.0 +0200 +++ /var/tmp/diff_new_pack.syD9e9/_new 2011-07-19 13:35:56.0 +0200 @@ -32,7 +32,7 @@ Obsoletes: python-nothreads python21 python-elementtree python-sqlite Summary:Python Interpreter Version:2.7.1 -Release:6 +Release:9 Requires: python-base = %{version} %define tarversion %{version} %define tarname Python-%{tarversion} @@ -52,6 +52,7 @@ Patch7: sparc_longdouble.patch Patch9: python-2.7.1-fix_date_time_compiler.patch Patch10:python-2.7-fix-parallel-make.patch +Patch11:python-2.7.1-linux3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define python_version%(echo %{version} | head -c 3) @@ -183,6 +184,7 @@ %patch7 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.in ++ python-2.7.1-linux3.patch ++ --- Python-2.7.1/setup.py 2011/07/10 23:56:34 1.1 +++ Python-2.7.1/setup.py 2011/07/10 23:57:47 @@ -1454,14 +1454,14 @@ # Platform-specific libraries -if platform == 'linux2': +if (platform in ('linux2', 'linux3')): # Linux-specific modules exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) ) else: missing.append('linuxaudiodev') -if (platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', -'freebsd7', 'freebsd8') +if (platform in ('linux2', 'linux3', 'freebsd4', 'freebsd5', +'freebsd6', 'freebsd7', 'freebsd8') or platform.startswith(gnukfreebsd)): exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) else:
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at Fri May 27 09:57:27 CEST 2011. --- python/python-base.changes 2011-05-02 18:07:07.0 +0200 +++ /mounts/work_src_done/STABLE/python/python-base.changes 2011-05-24 17:30:27.0 +0200 @@ -1,0 +2,10 @@ +Tue May 24 14:27:05 UTC 2011 - jmate...@novell.com + +- update to 2.7.1 +* bugfix-only release, see NEWS for details +- refreshed patches, dropped the upstreamed ones +- dropped acrequire patch, replacing it with build-time sed +- improved fix to bnc#673071 by defining the constants + only for files that require it (as is done in python3) + +--- --- python/python-doc.changes 2010-08-26 13:45:26.0 +0200 +++ /mounts/work_src_done/STABLE/python/python-doc.changes 2011-05-24 17:30:28.0 +0200 @@ -1,0 +2,5 @@ +Tue May 24 14:30:36 UTC 2011 - jmate...@novell.com + +- updated to build against 2.7.1 + +--- --- python/python.changes 2011-05-04 16:18:54.0 +0200 +++ /mounts/work_src_done/STABLE/python/python.changes 2011-05-24 17:30:28.0 +0200 @@ -1,0 +2,6 @@ +Tue May 24 14:30:10 UTC 2011 - jmate...@novell.com + +- updated to 2.7.1 +* bugfix-only release + +--- calling whatdependson for head-i586 Old: Python-2.7.tar.bz2 Python-2.7rc2-multilib.patch python-2.6.5-distutils_test_path.patch python-2.7-acrequire.patch python-fix_date_time_compiler.patch smtpd-dos.patch urllib2-AbstractBasicAuthHandler_reset_attr.diff New: Python-2.7.1.tar.bz2 python-2.7.1-distutils_test_path.patch python-2.7.1-fix_date_time_compiler.patch python-2.7.1-multilib.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.SEa00V/_old 2011-05-27 09:44:55.0 +0200 +++ /var/tmp/diff_new_pack.SEa00V/_new 2011-05-27 09:44:55.0 +0200 @@ -29,8 +29,8 @@ %endif # Summary:Python Interpreter base package -Version:2.7 -Release:8 +Version:2.7.1 +Release:1 %define tarversion %{version} %define tarname Python-%{tarversion} Source0:%{tarname}.tar.bz2 @@ -42,17 +42,14 @@ Patch1: python-2.7-dirs.patch Patch2: python-distutils-rpm-8.patch -Patch3: Python-2.7rc2-multilib.patch +Patch3: python-2.7.1-multilib.patch Patch4: python-2.7rc2-canonicalize2.patch Patch5: python-2.7rc2-configure.patch Patch6: python-2.6-gettext-plurals.patch -Patch7: python-2.6.5-distutils_test_path.patch +Patch7: python-2.7.1-distutils_test_path.patch Patch8: sparc_longdouble.patch -Patch9: python-2.7-acrequire.patch -Patch10:urllib2-AbstractBasicAuthHandler_reset_attr.diff -Patch11:smtpd-dos.patch Patch12: http://psf.upfronthosting.co.za/roundup/tracker/file19029/python-test_structmembers.patch -Patch13:python-fix_date_time_compiler.patch +Patch13:python-2.7.1-fix_date_time_compiler.patch Patch14:python-2.7-CVE-2011-1521-fileurl.patch Patch15:python-2.7-fix-parallel-make.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -144,42 +141,26 @@ %patch6 %patch7 -p1 %patch8 -p1 -%patch9 -p1 -%patch10 -%patch11 %patch12 -%patch13 +%patch13 -p1 %patch14 -p1 %patch15 -p1 -# some cleanup -find . -name .cvsignore -type f -print0 | xargs -0 rm -f -find . -name CVS -type d -print0 | xargs -0 rm -rf +# drop Autoconf version requirement +sed -i 's/^version_required/dnl version_required/' configure.in %build - -# disable as-needed to fix build - -export SUSE_ASNEEDED=0 - -# use rpm_opt_flags - export OPT=$RPM_OPT_FLAGS - -# regenerate - + autoreconf -f -i . # Modules/_ctypes/libffi + +# provide a stable timestamp +touch -r %{S:0} Makefile.pre.in + # prevent make from trying to rebuild asdl stuff, which requires existing # python installation touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h -# use just gcc instead of [GCC 4.5.0 20100604 [gcc-4_5-branch revision 160292].. -echo '#define PYTHON_COMPILER [GCC]' pyconfig.h.in -# use a compilation date equivalent to the source tarball. -printf '#define PY_BUILD_DATE %s %s %s\n' $(date -u -r %{SOURCE0} +%b %d %Y) pyconfig.h.in -printf '#define PY_BUILD_TIME %s\n' $(date -u -r %{SOURCE0} +%T) pyconfig.h.in - -# configure - +
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at Thu May 5 09:18:11 CEST 2011. python-doc.changes: same change --- python/python.changes 2011-02-17 17:47:41.0 +0100 +++ /mounts/work_src_done/STABLE/python/python.changes 2011-05-04 16:18:54.0 +0200 @@ -1,0 +2,6 @@ +Wed May 4 14:18:08 UTC 2011 - jmate...@novell.com + +- added fix-parallel-make patch to python main package as well, + because build process is the same + +--- calling whatdependson for head-i586 Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.g4yqUi/_old 2011-05-05 09:12:11.0 +0200 +++ /var/tmp/diff_new_pack.g4yqUi/_new 2011-05-05 09:12:11.0 +0200 @@ -30,7 +30,7 @@ # Summary:Python Interpreter base package Version:2.7 -Release:7 +Release:8 %define tarversion %{version} %define tarname Python-%{tarversion} Source0:%{tarname}.tar.bz2 ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.g4yqUi/_old 2011-05-05 09:12:11.0 +0200 +++ /var/tmp/diff_new_pack.g4yqUi/_new 2011-05-05 09:12:11.0 +0200 @@ -24,7 +24,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:Additional Package Documentation for Python. Version:2.7 -Release:7 +Release:8 %define pyver 2.7 BuildArch: noarch %define tarnamePython-%{pyver} ++ python.spec ++ --- /var/tmp/diff_new_pack.g4yqUi/_old 2011-05-05 09:12:11.0 +0200 +++ /var/tmp/diff_new_pack.g4yqUi/_new 2011-05-05 09:12:11.0 +0200 @@ -32,7 +32,7 @@ Obsoletes: python-nothreads python21 python-elementtree python-sqlite Summary:Python Interpreter Version:2.7 -Release:13 +Release:15 Requires: python-base = %{version} %define tarversion %{version} %define tarname Python-%{tarversion} @@ -52,6 +52,7 @@ Patch7: sparc_longdouble.patch Patch8: python-2.7-acrequire.patch Patch9: python-fix_date_time_compiler.patch +Patch10:python-2.7-fix-parallel-make.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define python_version%(echo %{version} | head -c 3) @@ -184,6 +185,7 @@ %patch7 -p1 %patch8 -p1 %patch9 +%patch10 -p1 # some cleanup find . -name .cvsignore -type f -print0 | xargs -0 rm -f find . -name CVS -type d -print0 | xargs -0 rm -rf Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at Tue May 3 08:58:09 CEST 2011. --- python/python-base.changes 2011-02-17 17:47:41.0 +0100 +++ /mounts/work_src_done/STABLE/python/python-base.changes 2011-05-02 18:07:07.0 +0200 @@ -1,0 +2,9 @@ +Mon May 2 16:04:49 UTC 2011 - jmate...@novell.com + +- fixed a security flaw where malicious sites could redirect + Python application from http to a local file + (CVE-2011-1521, bnc#682554) +- fixed race condition in Makefile which randomly failed + parallel builds ( http://bugs.python.org/issue10013 ) + +--- python.changes: same change calling whatdependson for head-i586 New: python-2.7-CVE-2011-1521-fileurl.patch python-2.7-fix-parallel-make.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.WmJOaL/_old 2011-05-03 08:56:07.0 +0200 +++ /var/tmp/diff_new_pack.WmJOaL/_new 2011-05-03 08:56:07.0 +0200 @@ -30,7 +30,7 @@ # Summary:Python Interpreter base package Version:2.7 -Release:6 +Release:7 %define tarversion %{version} %define tarname Python-%{tarversion} Source0:%{tarname}.tar.bz2 @@ -53,6 +53,8 @@ Patch11:smtpd-dos.patch Patch12: http://psf.upfronthosting.co.za/roundup/tracker/file19029/python-test_structmembers.patch Patch13:python-fix_date_time_compiler.patch +Patch14:python-2.7-CVE-2011-1521-fileurl.patch +Patch15:python-2.7-fix-parallel-make.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define python_version%(echo %{version} | head -c 3) Provides: %{name} = %{python_version} @@ -145,8 +147,10 @@ %patch9 -p1 %patch10 %patch11 -%patch12 -p0 +%patch12 %patch13 +%patch14 -p1 +%patch15 -p1 # some cleanup find . -name .cvsignore -type f -print0 | xargs -0 rm -f ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.WmJOaL/_old 2011-05-03 08:56:07.0 +0200 +++ /var/tmp/diff_new_pack.WmJOaL/_new 2011-05-03 08:56:07.0 +0200 @@ -24,7 +24,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:Additional Package Documentation for Python. Version:2.7 -Release:6 +Release:7 %define pyver 2.7 BuildArch: noarch %define tarnamePython-%{pyver} ++ python.spec ++ --- /var/tmp/diff_new_pack.WmJOaL/_old 2011-05-03 08:56:07.0 +0200 +++ /var/tmp/diff_new_pack.WmJOaL/_new 2011-05-03 08:56:07.0 +0200 @@ -32,7 +32,7 @@ Obsoletes: python-nothreads python21 python-elementtree python-sqlite Summary:Python Interpreter Version:2.7 -Release:11 +Release:13 Requires: python-base = %{version} %define tarversion %{version} %define tarname Python-%{tarversion} ++ python-2.7-CVE-2011-1521-fileurl.patch ++ # HG changeset patch # User Guido van Rossum gu...@python.org # Date 1301428435 25200 # Node ID b2934d98dac1f7b13cc6cc280f06d1aec3f6e80d # Parent 1a5aab273332a7a379e35ed6f88400a110b5de0c# Parent 9eeda8e3a13f107a698f10b0a45ffc2c6bd710fb Merge issue 11662 from 2.6. diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py --- a/Lib/test/test_urllib.py +++ b/Lib/test/test_urllib.py @@ -161,6 +161,20 @@ Content-Type: text/html; charset=iso-885 finally: self.unfakehttp() +def test_invalid_redirect(self): +# urlopen() should raise IOError for many error codes. +self.fakehttp(HTTP/1.1 302 Found +Date: Wed, 02 Jan 2008 03:03:54 GMT +Server: Apache/1.3.33 (Debian GNU/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e +Location: file:README +Connection: close +Content-Type: text/html; charset=iso-8859-1 +) +try: +self.assertRaises(IOError, urllib.urlopen, http://python.org/;) +finally: +self.unfakehttp() + def test_empty_socket(self): # urlopen() raises IOError if the underlying socket does not send any # data. (#1680230) diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -969,6 +969,27 @@ class HandlerTests(unittest.TestCase): self.assertEqual(count, urllib2.HTTPRedirectHandler.max_redirections) +def test_invalid_redirect(self): +from_url = http://example.com/a.html; +valid_schemes = ['http', 'https', 'ftp'] +invalid_schemes = ['file', 'imap', 'ldap'] +schemeless_url = example.com/b.html +h = urllib2.HTTPRedirectHandler() +o = h.parent = MockOpener() +req = Request(from_url) + +for scheme in invalid_schemes: +invalid_url = scheme + '://' +
commit python for openSUSE:Factory
Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at Fri Mar 25 14:12:38 CET 2011. --- python/python-base.changes 2011-01-17 10:42:37.0 +0100 +++ /mounts/work_src_done/STABLE/python/python-base.changes 2011-02-17 17:47:41.0 +0100 @@ -1,0 +2,6 @@ +Thu Feb 17 17:37:09 CET 2011 - p...@suse.de + +- Prefix DATE and TIME with PY_BUILD_ and COMPILER with PYTHON_ as + to not break external code (bnc#673071). + +--- --- python/python.changes 2010-08-31 04:56:18.0 +0200 +++ /mounts/work_src_done/STABLE/python/python.changes 2011-02-17 17:47:41.0 +0100 @@ -1,0 +2,6 @@ +Thu Feb 17 17:37:09 CET 2011 - p...@suse.de + +- Prefix DATE and TIME with PY_BUILD_ and COMPILER with PYTHON_ as + to not break external code (bnc#673071). + +--- calling whatdependson for head-i586 New: python-fix_date_time_compiler.patch Other differences: -- ++ python-base.spec ++ --- /var/tmp/diff_new_pack.8SSD92/_old 2011-03-25 11:51:52.0 +0100 +++ /var/tmp/diff_new_pack.8SSD92/_new 2011-03-25 11:51:52.0 +0100 @@ -30,7 +30,7 @@ # Summary:Python Interpreter base package Version:2.7 -Release:5 +Release:6 %define tarversion %{version} %define tarname Python-%{tarversion} Source0:%{tarname}.tar.bz2 @@ -52,7 +52,7 @@ Patch10:urllib2-AbstractBasicAuthHandler_reset_attr.diff Patch11:smtpd-dos.patch Patch12: http://psf.upfronthosting.co.za/roundup/tracker/file19029/python-test_structmembers.patch - +Patch13:python-fix_date_time_compiler.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define python_version%(echo %{version} | head -c 3) Provides: %{name} = %{python_version} @@ -146,6 +146,7 @@ %patch10 %patch11 %patch12 -p0 +%patch13 # some cleanup find . -name .cvsignore -type f -print0 | xargs -0 rm -f @@ -168,10 +169,10 @@ # python installation touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h # use just gcc instead of [GCC 4.5.0 20100604 [gcc-4_5-branch revision 160292].. -echo '#define COMPILER [GCC]' pyconfig.h.in +echo '#define PYTHON_COMPILER [GCC]' pyconfig.h.in # use a compilation date equivalent to the source tarball. -printf '#define DATE %s %s %s\n' $(date -u -r %{SOURCE0} +%b %d %Y) pyconfig.h.in -printf '#define TIME %s\n' $(date -u -r %{SOURCE0} +%T) pyconfig.h.in +printf '#define PY_BUILD_DATE %s %s %s\n' $(date -u -r %{SOURCE0} +%b %d %Y) pyconfig.h.in +printf '#define PY_BUILD_TIME %s\n' $(date -u -r %{SOURCE0} +%T) pyconfig.h.in # configure ++ python-doc.spec ++ --- /var/tmp/diff_new_pack.8SSD92/_old 2011-03-25 11:51:52.0 +0100 +++ /var/tmp/diff_new_pack.8SSD92/_new 2011-03-25 11:51:52.0 +0100 @@ -24,7 +24,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:Additional Package Documentation for Python. Version:2.7 -Release:5 +Release:6 %define pyver 2.7 BuildArch: noarch %define tarnamePython-%{pyver} ++ python.spec ++ --- /var/tmp/diff_new_pack.8SSD92/_old 2011-03-25 11:51:52.0 +0100 +++ /var/tmp/diff_new_pack.8SSD92/_new 2011-03-25 11:51:52.0 +0100 @@ -32,7 +32,7 @@ Obsoletes: python-nothreads python21 python-elementtree python-sqlite Summary:Python Interpreter Version:2.7 -Release:5 +Release:11 Requires: python-base = %{version} %define tarversion %{version} %define tarname Python-%{tarversion} @@ -51,6 +51,7 @@ Patch6: python-2.6b3-curses-panel.patch Patch7: sparc_longdouble.patch Patch8: python-2.7-acrequire.patch +Patch9: python-fix_date_time_compiler.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define python_version%(echo %{version} | head -c 3) @@ -182,6 +183,7 @@ %patch6 %patch7 -p1 %patch8 -p1 +%patch9 # some cleanup find . -name .cvsignore -type f -print0 | xargs -0 rm -f find . -name CVS -type d -print0 | xargs -0 rm -rf @@ -203,10 +205,10 @@ # python installation touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h # use just gcc instead of [GCC 4.5.0 20100604 [gcc-4_5-branch revision 160292].. -echo '#define COMPILER [GCC]' pyconfig.h.in +echo '#define PYTHON_COMPILER [GCC]' pyconfig.h.in # use a compilation date equivalent to the source tarball. -printf '#define DATE %s %s %s\n' $(date -u -r %{SOURCE0} +%b %d %Y) pyconfig.h.in -printf '#define TIME %s\n' $(date -u -r %{SOURCE0} +%T) pyconfig.h.in +printf '#define