commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2020-07-08 19:09:25 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new.3060 (New) Package is "python3" Wed Jul 8 19:09:25 2020 rev:100 rq:818938 version:3.8.3 Changes: --- /work/SRC/openSUSE:Factory/python3/python3.changes 2020-06-28 23:03:15.326246741 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new.3060/python3.changes 2020-07-08 19:10:20.606537241 +0200 @@ -1,0 +2,40 @@ +Wed Jul 1 11:50:19 UTC 2020 - Tomáš Chvátal + +- Reduce some now unused conditionals + +--- +Wed Jul 1 11:00:40 UTC 2020 - Tomáš Chvátal + +- Redux the -base dependencies to match up pre-merge layout + +--- +Wed Jul 1 09:24:39 UTC 2020 - Tomáš Chvátal + +- Generate baselibs in pre-checkin too + +--- +Wed Jul 1 09:14:33 UTC 2020 - Tomáš Chvátal + +- Generate the importlib-failed using pre_checking again +- Add back the information about skipped tests on the pre_checkin + output + +--- +Tue Jun 30 07:11:19 UTC 2020 - Tomáš Chvátal + +- Use %python_pkg_name instead of hardcoding python3 where + applicable +- Sort out preamble with spec-cleaner + +--- +Mon Jun 29 14:36:10 UTC 2020 - Matej Cepl + +- Calculate required variables instead of relying on their continuous manual update + +--- +Thu Jun 25 10:44:08 UTC 2020 - Tomáš Chvátal + +- Fix the -base module build again to generate only the deps + we need + +--- @@ -4,0 +45,11 @@ + +--- +Thu Jun 10 14:30:15 UTC 2020 - Tomáš Chvátal + +- Use the %{python_pkg_name} on more places to allow easier + multiversioning +- Switch to _multibuild approach for easier maintenance of this + package. All is now in one spec file with 3 conditionals: + * bcond_with base + * bcond_with doc + * bcond_with general Old: python3-base-rpmlintrc python3-base.changes python3-base.spec python3-doc.changes python3-doc.spec New: _multibuild Other differences: -- ++ python3.spec ++ 794 lines (skipped) between /work/SRC/openSUSE:Factory/python3/python3.spec and /work/SRC/openSUSE:Factory/.python3.new.3060/python3.spec ++ PACKAGING-NOTES ++ --- /var/tmp/diff_new_pack.WylOki/_old 2020-07-08 19:10:25.314555142 +0200 +++ /var/tmp/diff_new_pack.WylOki/_new 2020-07-08 19:10:25.318555157 +0200 @@ -11,71 +11,7 @@ For development, use "--without profileopt" option to disable PGO. This shortens the build time to ~5 minutes including test suite. -I. python3 and python3-base naming confusion - - -1. the important stuff first - -This is package "python3". However, master spec file for this package is -"python3-base.spec". That means that all important changes should be put into -"python3-base.spec" and then submitted against "python3" in OBS. - -Changelogs of python3-base and python3 will be merged at some point. Now they -aren't, but feel free to enter changes in either or both. - -2. why is that? - -Technical reasons. python3-base was originally supposed to be a minimal package -with no external dependencies - so that it can build early in the distribution -rebuild. There were also some build loops involved. Turns out, 90% of Python's -standard library can be built without external dependencies. That's what we do - -in python3-base. python3 then only contains the remaining bits - -dependency-heavy subpackages, plus small bits depending on common packages -(OpenSSL, expat, readline) Logically, python3-base must be the master spec -because it builds the important parts. - -3. why not rename the whole package to python3-base? - -Because that would be stupid. The package is called python3. - -4. so why not make python3 the minimal package and put the rest in -python3-the-rest? - -Because other distributions use python3-base as the minimal package as well. -Also, packages that require python3 expect the whole deal, not a stripped-down -version. - -5. alright, let's build python3-base from python3.spec and python3 from -someother.spec - -Tried that, abandoned it. It is more trouble than it's worth. - - -II. pre_checkin.sh --- - -Our pre_checkin.sh takes care of copying relevant portion
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2020-06-28 23:03:05 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new.3060 (New) Package is "python3" Sun Jun 28 23:03:05 2020 rev:99 rq:816829 version:3.8.3 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2020-06-11 14:42:57.789064693 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new.3060/python3-base.changes 2020-06-28 23:03:14.790244961 +0200 @@ -1,0 +2,5 @@ +Wed Jun 17 18:42:51 UTC 2020 - Matej Cepl + +- Replace OBS_dev-shm.patch with the upstream PR#20944 + +--- python3-doc.changes: same change python3.changes: same change Other differences: -- python3-doc.spec: same change python3.spec: same change ++ OBS_dev-shm.patch ++ --- /var/tmp/diff_new_pack.Bj9Qa5/_old 2020-06-28 23:03:16.190249610 +0200 +++ /var/tmp/diff_new_pack.Bj9Qa5/_new 2020-06-28 23:03:16.190249610 +0200 @@ -1,25 +1,175 @@ a/Lib/test/test_asyncio/test_events.py -+++ b/Lib/test/test_asyncio/test_events.py -@@ -13,6 +13,7 @@ try: - import ssl - except ImportError: - ssl = None -+import stat - import subprocess - import sys +From 0edba4a774f8fc6867d49ebd2d9c6831901e30dd Mon Sep 17 00:00:00 2001 +From: Victor Stinner +Date: Wed, 17 Jun 2020 17:53:48 +0200 +Subject: [PATCH] bpo-38377: Add + support.skip_if_broken_multiprocessing_synchronize() + +On Linux, skip tests using multiprocessing if the current user cannot +create a file in /dev/shm/ directory. Add the +skip_if_broken_multiprocessing_synchronize() function to the +test.support module. +--- + Doc/library/test.rst | 8 +++ + Lib/test/_test_multiprocessing.py | 2 +- + Lib/test/support/__init__.py | 22 +++ + Lib/test/test_asyncio/test_events.py | 4 ++-- + Lib/test/test_concurrent_futures.py | 2 +- + Lib/test/test_logging.py | 8 +++ + .../test_multiprocessing_main_handling.py | 2 +- + Lib/test/test_venv.py | 8 --- + .../2020-06-17-18-00-21.bpo-38377.jfg4TH.rst | 4 + 9 files changed, 48 insertions(+), 12 deletions(-) + create mode 100644 Misc/NEWS.d/next/Tests/2020-06-17-18-00-21.bpo-38377.jfg4TH.rst + +--- a/Doc/library/test.rst b/Doc/library/test.rst +@@ -1282,6 +1282,14 @@ The :mod:`test.support` module defines t + +.. versionadded:: 3.6 + ++.. function:: skip_if_broken_multiprocessing_synchronize() ++ ++ Skip tests if the :mod:`multiprocessing.synchronize` module is missing, if ++ there is no available semaphore implementation, or if creating a lock raises ++ an :exc:`OSError`. ++ ++ .. versionadded:: 3.10 ++ + + The :mod:`test.support` module defines the following classes: + +--- a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py +@@ -31,7 +31,7 @@ from test import support + # Skip tests if _multiprocessing wasn't built. + _multiprocessing = test.support.import_module('_multiprocessing') + # Skip tests if sem_open implementation is broken. +-test.support.import_module('multiprocessing.synchronize') ++support.skip_if_broken_multiprocessing_synchronize() import threading -@@ -2633,7 +2634,8 @@ class GetEventLoopTestsMixin: - asyncio.get_event_loop = self.get_event_loop_saved + import multiprocessing.connection +--- a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py +@@ -3350,3 +3350,25 @@ class catch_threading_exception: + del self.exc_value + del self.exc_traceback + del self.thread ++ ++def skip_if_broken_multiprocessing_synchronize(): ++""" ++Skip tests if the multiprocessing.synchronize module is missing, if there ++is no available semaphore implementation, or if creating a lock raises an ++OSError. ++""" ++ ++# Skip tests if the _multiprocessing extension is missing. ++import_module('_multiprocessing') ++ ++# Skip tests if there is no available semaphore implementation: ++# multiprocessing.synchronize requires _multiprocessing.SemLock. ++synchronize = import_module('multiprocessing.synchronize') ++ ++try: ++# bpo-38377: On Linux, creating a semaphore is the current user ++# does not have the permission to create a file in /dev/shm. ++# Create a semaphore to check permissions. ++synchronize.Lock(ctx=None) ++except OSError as exc: ++raise unittest.SkipTest(f"broken multiprocessing SemLock: {exc!r}") +--- a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py +@@ -2635,10 +2635,10 @@ class Get
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2020-06-11 14:42:30 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new.3606 (New) Package is "python3" Thu Jun 11 14:42:30 2020 rev:98 rq:812851 version:3.8.3 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2020-05-20 18:35:52.516031149 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new.3606/python3-base.changes 2020-06-11 14:42:57.789064693 +0200 @@ -1,0 +2,17 @@ +Mon Jun 8 14:26:00 UTC 2020 - Matej Cepl + +- add requires python3-base on libpython subpackage (bsc#1167008) + +--- +Fri Jun 5 06:08:12 UTC 2020 - Dirk Mueller + +- build against Sphinx 2.x until python is compatible with + Sphinx 3.x (see gh#python/cpython#19397, bpo#40204) + +--- +Fri May 29 19:59:01 UTC 2020 - Andreas Stieger + +- Fix build with SQLite 3.32 (bpo#40783) + add bpo40784-Fix-sqlite3-deterministic-test.patch + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2020-05-20 18:35:52.808031761 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new.3606/python3-doc.changes 2020-06-11 14:42:58.937069116 +0200 @@ -2 +2,18 @@ -Sun May 17 15:40:11 UTC 2020 - Callum Farmer +Mon Jun 8 14:26:00 UTC 2020 - Matej Cepl + +- add requires python3-base on libpython subpackage (bsc#1167008) + +--- +Fri Jun 5 06:08:12 UTC 2020 - Dirk Mueller + +- build against Sphinx 2.x until python is compatible with + Sphinx 3.x (see gh#python/cpython#19397, bpo#40204) + +--- +Fri May 29 19:59:01 UTC 2020 - Andreas Stieger + +- Fix build with SQLite 3.32 (bpo#40783) + add bpo40784-Fix-sqlite3-deterministic-test.patch + +--- +Sun May 17 15:37:35 UTC 2020 - Callum Farmer python3.changes: same change New: bpo40784-Fix-sqlite3-deterministic-test.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.qQH5ob/_old 2020-06-11 14:43:02.585083169 +0200 +++ /var/tmp/diff_new_pack.qQH5ob/_new 2020-06-11 14:43:02.589083184 +0200 @@ -101,7 +101,7 @@ Source102: pre_checkin.sh Source103: skipped_tests.py # REQURES, PROVIDES, OBSOLETES # -Requires: libpython%{so_version} == %{version}-%{release} +Requires: libpython%{so_version} = %{version}-%{release} Requires: python-rpm-macros Recommends: python3 = %{version} #Recommends: python3-ensurepip @@ -204,6 +204,9 @@ # PATCH-FIX-UPSTREAM bsc1167501-invalid-alignment.patch gh#python/cpython#19133 mc...@suse.com # Fix wrong misalignment of pointer to vectorcallfunc Patch31:bsc1167501-invalid-alignment.patch +# PATCH-FIX-UPSTREAM bpo40784-Fix-sqlite3-deterministic-test.patch bpo#40784 andreas.stie...@gmx.de +# Fix tests with SQLite 3.32 +Patch32:bpo40784-Fix-sqlite3-deterministic-test.patch ### COMMON-PATCH-END ### %description @@ -260,6 +263,7 @@ %package -n libpython%{so_version} Summary:Python Interpreter shared library Group: Development/Languages/Python +Requires: python3-base >= %{version} %description -n libpython%{so_version} Python is an interpreted, object-oriented programming language, and is @@ -298,6 +302,7 @@ %patch28 -p1 %patch29 -p1 %patch31 -p1 +%patch32 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.qQH5ob/_old 2020-06-11 14:43:02.605083247 +0200 +++ /var/tmp/diff_new_pack.qQH5ob/_new 2020-06-11 14:43:02.609083262 +0200 @@ -82,7 +82,7 @@ Source1: http://www.python.org/ftp/python/%{folderversion}/%{tarname}.tar.xz.asc Source99: python.keyring BuildRequires: libqt5-qttools -BuildRequires: python3-Sphinx >= 1.8 +BuildRequires: python3-Sphinx < 3.0 BuildRequires: python3-python-docs-theme BuildRequires: python3-sphinxcontrib-qthelp >= 1.0.2 BuildRequires: xz @@ -138,6 +138,9 @@ # PATCH-FIX-UPSTREAM bsc1167501-invalid-alignment.patch gh#python/cpython#19133 mc...@suse.com # Fix wrong misalignment of pointer to vectorcallfunc Patch31:bsc1167501-invalid-alignment.patch +# PATCH-FIX-UPSTREAM bpo40784-Fix-sqlite3-deterministic-test.patch bpo#40784 andreas.stie...@gmx.de +# Fix tests with SQLite 3.32 +Patch32:bpo40784-Fix-sqlite3-deterministic-test.patch ### COMMON-PATCH-END ### %description @
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2020-05-20 18:35:45 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new.2738 (New) Package is "python3" Wed May 20 18:35:45 2020 rev:97 rq:806764 version:3.8.3 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2020-04-23 18:24:56.759457023 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new.2738/python3-base.changes 2020-05-20 18:35:52.516031149 +0200 @@ -1,0 +2,9 @@ +Sun May 17 15:37:35 UTC 2020 - Callum Farmer + +- Update to version 3.8.3: + - Complete list of changes is available at + https://docs.python.org/release/3.8.3/whatsnew/changelog.html#python-3-8-3-final, +but most of them are just bugfixes. + - Removed patch CVE-2020-8492-urllib-ReDoS.patch: contained in upstream + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2020-04-23 18:24:56.807457115 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new.2738/python3-doc.changes 2020-05-20 18:35:52.808031761 +0200 @@ -1,0 +2,9 @@ +Sun May 17 15:40:11 UTC 2020 - Callum Farmer + +- Update to version 3.8.3: + - Complete list of changes is available at + https://docs.python.org/release/3.8.3/whatsnew/changelog.html#python-3-8-3-final, +but most of them are just bugfixes. + - Removed patch CVE-2020-8492-urllib-ReDoS.patch: contained in upstream + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2020-04-23 18:24:57.255457973 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new.2738/python3.changes 2020-05-20 18:35:52.952032063 +0200 @@ -1,0 +2,9 @@ +Sun May 17 15:40:53 UTC 2020 - Callum Farmer + +- Update to version 3.8.3: + - Complete list of changes is available at + https://docs.python.org/release/3.8.3/whatsnew/changelog.html#python-3-8-3-final, +but most of them are just bugfixes. + - Removed patch CVE-2020-8492-urllib-ReDoS.patch: contained in upstream + +--- Old: CVE-2020-8492-urllib-ReDoS.patch Python-3.8.2.tar.xz Python-3.8.2.tar.xz.asc New: Python-3.8.3.tar.xz Python-3.8.3.tar.xz.asc Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.5DVdgO/_old 2020-05-20 18:35:54.020034301 +0200 +++ /var/tmp/diff_new_pack.5DVdgO/_new 2020-05-20 18:35:54.024034309 +0200 @@ -78,7 +78,7 @@ ### COMMON-DEF-END ### Name: python3-base -Version:3.8.2 +Version:3.8.3 Release:0 Summary:Python 3 Interpreter and Stdlib Core License:Python-2.0 @@ -201,10 +201,6 @@ # PATCH-FEATURE-UPSTREAM bpo-31046_ensurepip_honours_prefix.patch bpo#31046 mc...@suse.com # ensurepip should honour the value of $(prefix) Patch29:bpo-31046_ensurepip_honours_prefix.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) -Patch30:CVE-2020-8492-urllib-ReDoS.patch # PATCH-FIX-UPSTREAM bsc1167501-invalid-alignment.patch gh#python/cpython#19133 mc...@suse.com # Fix wrong misalignment of pointer to vectorcallfunc Patch31:bsc1167501-invalid-alignment.patch @@ -301,7 +297,6 @@ %patch27 -p1 %patch28 -p1 %patch29 -p1 -%patch30 -p1 %patch31 -p1 # drop Autoconf version requirement ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.5DVdgO/_old 2020-05-20 18:35:54.040034343 +0200 +++ /var/tmp/diff_new_pack.5DVdgO/_new 2020-05-20 18:35:54.044034351 +0200 @@ -72,7 +72,7 @@ ### COMMON-DEF-END ### # Name: python3-doc -Version:3.8.2 +Version:3.8.3 Release:0 Summary:Additional Package Documentation for Python 3 License:Python-2.0 @@ -135,10 +135,6 @@ # PATCH-FEATURE-UPSTREAM bpo-31046_ensurepip_honours_prefix.patch bpo#31046 mc...@suse.com # ensurepip should honour the value of $(prefix) Patch29:bpo-31046_ensurepip_honours_prefix.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) -Patch30:CVE-2020-8492-urllib-ReDoS.patch # PATCH-FIX-UPSTREAM bsc1167501-invalid-alignment.patch gh#python/cpython#19133 mc...@suse.com # Fix wrong misalignment of pointer to vectorcallfunc Patch31:bsc1167501-invalid-alignment.patch @@ -187,7 +183,6 @@ %patch27 -p1 %patch28 -p1 %patch29 -p1 -%patch30 -p1 %patch31 -p1 # drop Autoconf ver
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2020-04-23 18:24:51 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new.2738 (New) Package is "python3" Thu Apr 23 18:24:51 2020 rev:96 rq:794614 version:3.8.2 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2020-03-25 23:42:27.419977127 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new.2738/python3-base.changes 2020-04-23 18:24:56.759457023 +0200 @@ -1,0 +2,11 @@ +Thu Apr 16 12:06:01 UTC 2020 - Matej Cepl + +- Add #!BuildIgnore: gdk-pixbuf-loader-rsvg to python3 SPEC + +--- +Thu Mar 26 15:36:55 UTC 2020 - Matej Cepl + +- Add patch bsc1167501-invalid-alignment.patch + (bsc#1167501, bpo#40052) to fix alignment in abstract.h header file. + +--- python3-doc.changes: same change python3.changes: same change New: bsc1167501-invalid-alignment.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.9plcCl/_old 2020-04-23 18:24:58.815460960 +0200 +++ /var/tmp/diff_new_pack.9plcCl/_new 2020-04-23 18:24:58.819460968 +0200 @@ -205,6 +205,9 @@ # Fixes Python urrlib allowed an HTTP server to conduct Regular # Expression Denial of Service (ReDoS) Patch30:CVE-2020-8492-urllib-ReDoS.patch +# PATCH-FIX-UPSTREAM bsc1167501-invalid-alignment.patch gh#python/cpython#19133 mc...@suse.com +# Fix wrong misalignment of pointer to vectorcallfunc +Patch31:bsc1167501-invalid-alignment.patch ### COMMON-PATCH-END ### %description @@ -299,6 +302,7 @@ %patch28 -p1 %patch29 -p1 %patch30 -p1 +%patch31 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac python3-doc.spec: same change ++ python3.spec ++ --- /var/tmp/diff_new_pack.9plcCl/_old 2020-04-23 18:24:58.863461052 +0200 +++ /var/tmp/diff_new_pack.9plcCl/_new 2020-04-23 18:24:58.867461059 +0200 @@ -88,6 +88,7 @@ Source20: idle3.desktop Source21: idle3.appdata.xml Source99: python.keyring +#!BuildIgnore: gdk-pixbuf-loader-rsvg BuildRequires: automake BuildRequires: fdupes BuildRequires: gcc-c++ @@ -176,6 +177,9 @@ # Fixes Python urrlib allowed an HTTP server to conduct Regular # Expression Denial of Service (ReDoS) Patch30:CVE-2020-8492-urllib-ReDoS.patch +# PATCH-FIX-UPSTREAM bsc1167501-invalid-alignment.patch gh#python/cpython#19133 mc...@suse.com +# Fix wrong misalignment of pointer to vectorcallfunc +Patch31:bsc1167501-invalid-alignment.patch ### COMMON-PATCH-END ### %description @@ -257,6 +261,7 @@ %patch28 -p1 %patch29 -p1 %patch30 -p1 +%patch31 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ bsc1167501-invalid-alignment.patch ++ >From e6f4de57ffd175870e513ffa387fa6e7eaaeaed2 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 24 Mar 2020 07:55:00 +0100 Subject: [PATCH] bpo-40052: Fix alignment issue in PyVectorcall_Function() In file included from /usr/include/python3.8/Python.h:147: In file included from /usr/include/python3.8/abstract.h:837: /usr/include/python3.8/cpython/abstract.h:91:11: error: cast from 'char *' to 'vectorcallfunc *' (aka 'struct _object *(**)(struct _object *, struct _object *const *, unsigned long, struct _object *)') increases required alignment from 1 to 8 [-Werror,-Wcast-align] ptr = (vectorcallfunc*)(((char *)callable) + offset); ^~ 1 error generated. Signed-off-by: Andreas Schneider --- Include/cpython/abstract.h | 9 ++--- .../next/C API/2020-03-24-09-27-10.bpo-40052.27P2KG.rst | 1 + Objects/call.c | 7 ++- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 Misc/NEWS.d/next/C API/2020-03-24-09-27-10.bpo-40052.27P2KG.rst --- a/Include/cpython/abstract.h +++ b/Include/cpython/abstract.h @@ -82,14 +82,17 @@ _PyVectorcall_Function(PyObject *callabl { PyTypeObject *tp = Py_TYPE(callable); Py_ssize_t offset = tp->tp_vectorcall_offset; -vectorcallfunc *ptr; +union { +char *data; +vectorcallfunc *ptr; +} vc; if (!PyType_HasFeature(tp, _Py_TPFLAGS_HAVE_VECTORCALL)) { return NULL; } assert(PyCallable_Check(callable)); assert(offset > 0); -ptr = (vectorcallfunc*)(((char *)callable) + offset); -return *ptr; +vc.data = (char *)callable + offset; +return *vc.ptr; } /* Call the callable object 'callable' with the "vectorca
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2020-03-25 23:42:17 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new.3160 (New) Package is "python3" Wed Mar 25 23:42:17 2020 rev:95 rq:786717 version:3.8.2 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2020-03-08 22:22:36.824021052 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new.3160/python3-base.changes 2020-03-25 23:42:27.419977127 +0100 @@ -1,0 +2,6 @@ +Wed Mar 11 11:09:41 UTC 2020 - Andreas Schwab + +- Update list of skipped tests for qemu linux-user build, test_setegid + (test.test_os.PosixUidGidTests) is confusing it + +--- python3-doc.changes: same change python3.changes: same change Other differences: -- python3-doc.spec: same change ++ python3.spec ++ --- /var/tmp/diff_new_pack.I7MgWf/_old 2020-03-25 23:42:29.355977761 +0100 +++ /var/tmp/diff_new_pack.I7MgWf/_new 2020-03-25 23:42:29.355977761 +0100 @@ -336,7 +336,7 @@ %endif # some tests break in QEMU %if 0%{?qemu_user_space_build} -EXCLUDE="$EXCLUDE test_multiprocessing_forkserver test_multiprocessing_spawn test_posix test_signal test_socket test_subprocess" +EXCLUDE="$EXCLUDE test_multiprocessing_forkserver test_multiprocessing_spawn test_os test_posix test_signal test_socket test_subprocess" %endif # This test (part of test_uuid) requires real network interfaces
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2020-03-08 22:22:28 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new.26092 (New) Package is "python3" Sun Mar 8 22:22:28 2020 rev:94 rq:781953 version:3.8.2 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2019-06-18 14:43:05.817751625 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new.26092/python3-base.changes 2020-03-08 22:22:36.824021052 +0100 @@ -1,0 +2,302 @@ +Thu Mar 5 18:40:29 UTC 2020 - Matej Cepl + +- Update to 3.8.2: + - Complete list of changes is available at + https://docs.python.org/release/3.8.2/whatsnew/changelog.html#python-3-8-2-final, +but most of them are just bugfixes. + - Updated patches: +- F00102-lib64.patch +- OBS_dev-shm.patch +- SUSE-FEDORA-multilib.patch +- subprocess-raise-timeout.patch + +--- +Sun Feb 9 00:14:24 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) + +--- +Sat Feb 8 22:21:10 CET 2020 - Matej Cepl + +- Add Requires: libpython%{so_version} == %{version}-%{release} + to python3-base to keep both packages always synchronized + (bsc#1162224). + +--- +Mon Feb 3 20:27:54 UTC 2020 - Tomáš Chvátal + +- Do not pull in bluez in base again, explain the cycle, + it needs to be solved by bluez maintainer for us by providing + just the headers separately + +--- +Mon Feb 3 19:54:25 UTC 2020 - Tomáš Chvátal + +- Reame idle icons to idle3 in order to not conflict with python2 + variant of the package + * renamed the icons + * renamed icon load in desktop file + +--- +Thu Jan 16 09:50:03 UTC 2020 - Tomáš Chvátal + +- Add importlib_resources provide/obsolete as it is integral + part of the lang since 3.7 release + +--- +Mon Jan 13 11:10:47 UTC 2020 - Martin Liška + +- Add -fno-semantic-interposition as it brings speed up: + https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup + +--- +Thu Dec 19 16:25:26 CET 2019 - Matej Cepl + +- Update to 3.8.1: + - This is mainly bugfix release and no significant changes to +API are expected. The full changelog is available on +https://docs.python.org/3.8/whatsnew/changelog.html#python-3-8-1 + - Remove bpo-38688_shutil.copytree_prevent-infinite-recursion.patch, +which is included in the upstream tarball. + +--- +Thu Dec 19 14:57:32 CET 2019 - Matej Cepl + +- Add bpo-31046_ensurepip_honours_prefix.patch which makes + ensurepip to honour the value of $(prefix). Proposed fix for + bpo#31046.. + +--- +Tue Dec 10 11:07:16 UTC 2019 - Tomáš Chvátal + +- Move bluez-devel dependency to base as it is needed for + socket.AF_BLUETOOTH and otherwise does not work + +--- +Mon Dec 2 16:52:32 CET 2019 - Matej Cepl + +- Reintroduce QtHelp with the help of the new BR + python-sphinxcontrib-qthelp. + +--- +Mon Oct 21 18:51:00 UTC 2019 - Stefan Brüns + +- Fix SUSE-FEDORA-multilib.patch, the platform agnostic infix for + library installation is "lib", not "dir". + +--- +Thu Oct 17 14:19:20 UTC 2019 - Stefan Brüns + +- Move idle subpackage build from python3-base to python3. + appstream-glib required for packaging introduces considerable + extra dependencies and a build loop via rust/librsvg. +- Correct installation of idle IDE icons: + + idle.png is not the target directory + + non-GNOME-specific icons belong into icons/hicolor +- Add required Name key to idle3 desktop file + +--- +Tue Oct 15 16:39:12 CEST 2019 - Matej Cepl + +- Update to the final release 3.8.0. . + - New Features: +- Assignment expressions +- Positional-only parameters +- Parallel filesystem cache for compiled bytecode files +- Debug build uses the same ABI as release build +- f-strings support = for self-documenting expressions and + debugging +- PEP 578: Python Runtim
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2019-06-18 14:42:58 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new.4811 (New) Package is "python3" Tue Jun 18 14:42:58 2019 rev:93 rq:704730 version:3.7.3 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2019-04-02 09:16:30.940415243 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new.4811/python3-base.changes 2019-06-18 14:43:05.817751625 +0200 @@ -1,0 +2,43 @@ +Wed May 22 10:53:03 UTC 2019 - Martin Liška + +- Set _lto_cflags to nil as the package is using LTO via --enable-lto. + That will prevent to propage LTO for Python modules that are + built in a separate package. + +--- +Mon Apr 29 15:40:34 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. + +--- +Wed Apr 10 10:22:58 CEST 2019 - Matej Cepl + +- Fix metadata of patches. +- Rename boo1071941-make-install-in-sep-loc.patch to + 00251-change-user-install-location.patch which is the original + name, so it can be looked up in the Fedora VCS. + +--- +Tue Apr 9 04:55:24 UTC 2019 - John Vandenberg + +- Mark distutils bdist_wininst command unsupported + with 00316-mark-bdist_wininst-unsupported.patch +- Remove Windows bdist_wininst executables from runtime package + +--- +Tue Apr 9 01:21:45 CEST 2019 - Matej Cepl + +- Update to 3.7.3, which is the maintenance release without any + significant changes in API. + - Updated patches: +- CVE-2019-5010-null-defer-x509-cert-DOS.patch +- distutils-reproducible-compile.patch +- python-3.3.0b1-fix_date_time_compiler.patch +- python-3.6.0-multilib.patch +- raise_SIGING_not_handled.patch + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2019-04-02 09:16:33.160417598 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new.4811/python3-doc.changes 2019-06-18 14:43:05.897751614 +0200 @@ -1,0 +2,48 @@ +Wed May 22 10:53:03 UTC 2019 - Martin Liška + +- Set _lto_cflags to nil as the package is using LTO via --enable-lto. + That will prevent to propage LTO for Python modules that are + built in a separate package. + +--- +Mon Apr 29 15:40:34 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. + +--- +Wed Apr 10 10:22:58 CEST 2019 - Matej Cepl + +- Fix metadata of patches. +- Rename boo1071941-make-install-in-sep-loc.patch to + 00251-change-user-install-location.patch which is the original + name, so it can be looked up in the Fedora VCS. + +--- +Tue Apr 9 04:55:24 UTC 2019 - John Vandenberg + +- Mark distutils bdist_wininst command unsupported + with 00316-mark-bdist_wininst-unsupported.patch +- Remove Windows bdist_wininst executables from runtime package + +--- +Tue Apr 9 01:21:45 CEST 2019 - Matej Cepl + +- Update to 3.7.3, which is the maintenance release without any + significant changes in API. + - Updated patches: +- CVE-2019-5010-null-defer-x509-cert-DOS.patch +- distutils-reproducible-compile.patch +- python-3.3.0b1-fix_date_time_compiler.patch +- python-3.6.0-multilib.patch +- raise_SIGING_not_handled.patch + +--- +Wed Mar 20 14:59:58 UTC 2019 - Matěj Cepl + +- Remove building of Qt Develop help files. + +--- python3.changes: same change Old: Python-3.7.2.tar.xz Python-3.7.2.tar.xz.asc boo1071941-make-install-in-sep-loc.patch New: 00251-change-user-install-location.patch 00316-mark-bdist_wininst-unsupported.patch CVE-2019-9947-no-ctrl-char-http.patch Python-3.7.3.tar.xz Python-3.7.3.tar.xz.asc +
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2019-04-02 09:16:21 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new.25356 (New) Package is "python3" Tue Apr 2 09:16:21 2019 rev:92 rq:689912 version:3.7.2 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2019-02-02 21:46:00.244149482 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new.25356/python3-base.changes 2019-04-02 09:16:30.940415243 +0200 @@ -1,0 +2,16 @@ +Wed Mar 20 14:59:58 UTC 2019 - Matěj Cepl + +- Remove building of Qt Develop help files. + +--- +Fri Mar 15 15:10:30 CET 2019 - Matej Cepl + +- Return distutils-reproducible-compile.patch which is still + missing (still unfinished bpo#29708). + +--- +Tue Feb 12 10:25:52 CET 2019 - Matej Cepl + +- Build nis module again. + +--- @@ -277,0 +294,5 @@ + +--- +Thu May 17 18:26:42 UTC 2018 - h...@urpla.net + +- disable lto with gcc versions below 7 (results in link failures) --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2019-02-02 21:46:02.416147601 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new.25356/python3-doc.changes 2019-04-02 09:16:33.160417598 +0200 @@ -1,0 +2,11 @@ +Fri Mar 15 15:10:30 CET 2019 - Matej Cepl + +- Return distutils-reproducible-compile.patch which is still + missing (still unfinished bpo#29708). + +--- +Tue Feb 12 10:25:52 CET 2019 - Matej Cepl + +- Build nis module again. + +--- @@ -277,0 +289,5 @@ + +--- +Thu May 17 18:26:42 UTC 2018 - h...@urpla.net + +- disable lto with gcc versions below 7 (results in link failures) python3.changes: same change New: distutils-reproducible-compile.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.9xb6xw/_old 2019-04-02 09:16:40.25328 +0200 +++ /var/tmp/diff_new_pack.9xb6xw/_new 2019-04-02 09:16:40.556425447 +0200 @@ -55,7 +55,7 @@ # pyexpat.cpython-35m-powerpc64le-linux-gnu # pyexpat.cpython-35m-armv7-linux-gnueabihf %define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so -### COMMON-DEF-END ### + # that thing where "without" means "default=on" and vice versa %bcond_without testsuite # %%if 0%%{?do_profiling} @@ -63,6 +63,14 @@ # %%else # %%bcond_withprofileopt # %%endif + +%if 0%{?gcc_version} >= 7 +%bcond_without ltopt +%else +%bcond_with ltopt +%endif +### COMMON-DEF-END ### + Name: python3-base Version:3.7.2 Release:0 @@ -116,13 +124,6 @@ BuildRequires: libexpat-devel # _ctypes BuildRequires: libffi-devel -# Installed libnsl-devel leads to build failures on nismodule.o -# https://bugs.python.org/issue32007 -# %%if 0%%{?sle_version} >= 1500 && 0%%{?is_opensuse} -# # nis -# BuildRequires: libnsl-devel -# %%endif -# _lzma BuildRequires: lzma-devel # ssl BuildRequires: openssl-devel >= 1.0.2 @@ -140,11 +141,13 @@ # /SECTION ### COMMON-PATCH-BEGIN ### # support lib-vs-lib64 distinction -# New version from https://bugs.python.org/issue34032 -# Patch02:python-3.6.0-multilib-new.patch +# New version from bpo#34032 # Unfortunately, the new version is still broken, so we have to use the # old one Patch02:python-3.6.0-multilib.patch +# PATCH-FEATURE-UPSTREAM distutils-reproducible-compile.patch gh#python/cpython#8057 mc...@suse.com +# Improve reproduceability +Patch03:distutils-reproducible-compile.patch # support finding packages in /usr/local, install to /usr/local by default Patch04:python-3.3.0b1-localpath.patch # replace DATE, TIME and COMPILER by fixed definitions to aid reproducible builds @@ -255,6 +258,7 @@ ### COMMON-PREP-BEGIN ### %patch02 -p1 +%patch03 -p1 %patch04 %patch06 -p1 %patch09 -p1 @@ -310,7 +314,7 @@ --with-ensurepip=no \ --with-system-ffi \ --with-system-expat \ -%if 0%{?sle_version} >= 15 && 0%{?is_opensuse} +%if %{with ltopt} --with-lto \ %endif %if %{with profileopt} @@ -356,7 +360,7 @@ for dir in curses dbm sqlite3 tkinter; do find "%{buildroot}/%{sitedir}/$dir"/* -maxdepth 0 -name "test" -o -exec rm -rf {} + done -# rm $RPM_BUILD_ROOT%{dynlib pyexpat} +rm -fv $RPM_BUILD_ROOT%{dynlib nis} # overwrite the copied binary with a link ln
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2019-02-02 21:45:55 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new.28833 (New) Package is "python3" Sat Feb 2 21:45:55 2019 rev:91 rq:670332 version:3.7.2 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2019-01-28 20:45:29.586091526 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new.28833/python3-base.changes 2019-02-02 21:46:00.244149482 +0100 @@ -1,0 +2,17 @@ +Wed Jan 30 18:07:49 CET 2019 - mc...@suse.com + +- Put LICENSE file where it belongs (bsc#1121852) + +--- +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. + +--- python3-doc.changes: same change python3.changes: same change New: CVE-2019-5010-null-defer-x509-cert-DOS.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.lpeWXt/_old 2019-02-02 21:46:03.972146253 +0100 +++ /var/tmp/diff_new_pack.lpeWXt/_new 2019-02-02 21:46:03.972146253 +0100 @@ -168,6 +168,10 @@ # to /usr/local if executable is /usr/bin/python* and RPM build # is not detected to make pip and distutils install into separate location Patch27:boo1071941-make-install-in-sep-loc.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 +Patch28:CVE-2019-5010-null-defer-x509-cert-DOS.patch ### COMMON-PATCH-END ### %description @@ -263,6 +267,7 @@ %patch25 -p1 %patch26 -p1 %patch27 -p1 +%patch28 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac @@ -366,7 +371,6 @@ export PDOCS=%{buildroot}%{_docdir}/%{name} install -d -m 755 $PDOCS install -c -m 644 %{SOURCE4} $PDOCS/ -install -c -m 644 LICENSE$PDOCS/ install -c -m 644 README.rst $PDOCS/ # tools @@ -485,7 +489,7 @@ # docs %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/README.rst -%license %{_docdir}/%{name}/LICENSE +%license LICENSE %doc %{_docdir}/%{name}/README.SUSE %{_mandir}/man1/python3.1* %{_mandir}/man1/python%{python_version}.1* ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.lpeWXt/_old 2019-02-02 21:46:03.992146236 +0100 +++ /var/tmp/diff_new_pack.lpeWXt/_new 2019-02-02 21:46:04.000146229 +0100 @@ -95,6 +95,10 @@ # to /usr/local if executable is /usr/bin/python* and RPM build # is not detected to make pip and distutils install into separate location Patch27:boo1071941-make-install-in-sep-loc.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 +Patch28:CVE-2019-5010-null-defer-x509-cert-DOS.patch ### COMMON-PATCH-END ### %description @@ -143,6 +147,7 @@ %patch25 -p1 %patch26 -p1 %patch27 -p1 +%patch28 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.lpeWXt/_old 2019-02-02 21:46:04.080146160 +0100 +++ /var/tmp/diff_new_pack.lpeWXt/_new 2019-02-02 21:46:04.088146153 +0100 @@ -89,6 +89,7 @@ BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: sqlite-devel +BuildRequires: timezone BuildRequires: tk-devel BuildRequires: xz BuildRequires: pkgconfig(x11) @@ -133,6 +134,10 @@ # to /usr/local if executable is /usr/bin/python* and RPM build # is not detected to make pip and distutils install into separate location Patch27:boo1071941-make-install-in-sep-loc.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 +Patch28:CVE-2019-5010-null-defer-x509-cert-DOS.patch ### COMMON-PATCH-END ### %description @@ -192,6 +197,7 @@ %patch25 -p1 %patch26 -p1 %patch27 -p1 +%patch28 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ CVE-2019-5010-null-defer-x509-cert-DOS.patch ++ >From a37f52436f9aa4b92928
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2019-01-28 20:45:26 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new.28833 (New) Package is "python3" Mon Jan 28 20:45:26 2019 rev:90 rq:663711 version:3.7.2 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2018-04-29 19:37:02.311094531 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new.28833/python3-base.changes 2019-01-28 20:45:29.586091526 +0100 @@ -1,0 +2,266 @@ +Tue Jan 8 12:51:01 UTC 2019 - Tomáš Chvátal + +- Do not require full gettext in order to avoid pulling in the + glib2 as a dependency + +--- +Tue Jan 8 12:25:27 UTC 2019 - Tomáš Chvátal + +- Update to 3.7.2: + * bugfix release: +https://docs.python.org/3.7/whatsnew/changelog.html#changelog + +--- +Wed Jan 2 12:51:48 CET 2019 - mc...@suse.com + +- Stop applying python-3.6.0-multilib-new.patch (which is still + WIP), and apply the old proven python-3.6.0-multilib.patch + instead. + +--- +Wed Dec 19 19:29:44 UTC 2018 - Todd R + +- Use upstream-recommended %{_rpmconfigdir}/macros.d directory + for the rpm macros. + +--- +Mon Dec 17 17:24:49 CET 2018 - mc...@suse.com + +- Upgrade to 3.7.2rc1: +* bugfix release, for the full list of all changes see + https://docs.python.org/3.7/whatsnew/changelog.html#changelog +- Make run of the test suite more verbose + +--- +Tue Dec 11 01:52:45 UTC 2018 - Jan Engelhardt + +- Write summaries without em dashes. + +--- +Mon Dec 3 13:27:54 UTC 2018 - Matěj Cepl + +- Remove python-3.3.0b1-curses-panel.patch it is unnecessary anymore. +- Add boo1071941-make-install-in-sep-loc.patch to make pip and + distutils in user environment install into separate location + (boo#1071941) + + Set values of prefix and exec_prefix in distutils install + command to /usr/local if executable is /usr/bin/python* and RPM + build is not detected to make pip and distutils install into + separate location +- Remove finally python-3.3.3-skip-distutils-test_sysconfig_module.patch +- Remove distutils-reproducible-compile.patch which doesn't make + really much difference in reproducibility (see + gh#python/cpython#8057 and discussion there). + +--- +Sat Dec 1 00:14:28 CET 2018 - mc...@suse.com + +- Rename Stop_hash-based_invalidation_w_SOURCE_DATE_EPOCH.patch + to bpo34022-stop_hash-based_invalidation_w_SOURCE_DATE_EPOCH.patch + +--- +Wed Nov 7 12:10:41 CET 2018 - mc...@suse.com + +- Add dependency on bluez-devel to build support for Bluetooth + (boo#1109998) + +--- +Tue Nov 6 13:52:45 CET 2018 - mc...@suse.com + +- Add devhelp subpackage and split qthelp into another + subpackage. + +--- +Wed Oct 24 12:38:00 UTC 2018 - Matěj Cepl + +- Remove python-3.0b1-record-rpm.patch and + Python-3.0b1-record-rpm.patch, as they are not needed anymore + +--- +Tue Oct 23 14:14:16 UTC 2018 - Matej Cepl + +- Switch off test_threading for optimization builds. + +--- +Mon Oct 22 14:41:59 CEST 2018 - mc...@suse.com + +- Update to python-3.7.1. This is just a brief overview, complete + changelog available at + https://docs.python.org/3.7/whatsnew/changelog.html#python-3-7-1-final: +Library +bpo-34970: Protect tasks weak set manipulation in asyncio.all_tasks() +- Patches already accepted upstream are removed: +* 00307-allow-to-call-Py_Main-after-Py_Initialize.patch +* 00308-tls-1.3.patch +- New patches added: +* Stop_hash-based_invalidation_w_SOURCE_DATE_EPOCH.patch +* raise_SIGING_not_handled.patch +- All other patches refreshed via quilt. + +--- +Mon Oct 22 12:22:19 UTC 2018 - Matej Cepl + +- Add raise_SIGING_not_handled.patch to fix bsc#1094814 + +--- +Wed Oct 17 14:04:35 UTC 2018 - Tomáš Chvátal + +- Add patch to fix importlib return types: + * python3-imp-returntype.patch + +--- +Mon Oct 15 13:46:32 CEST 2018
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2018-05-06 14:57:14 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Sun May 6 14:57:14 2018 rev:89 rq:602591 version:3.6.5 Changes: python3-doc.changes: same change --- /work/SRC/openSUSE:Factory/python3/python3.changes 2018-04-29 19:37:06.310947853 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2018-05-06 14:57:17.106237337 +0200 @@ -1,0 +2,5 @@ +Mon Apr 30 15:23:24 UTC 2018 - jeng...@inai.de + +- Use faster find subcommand execution strategies. + +--- Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.oxMWcv/_old 2018-05-06 14:57:18.166198443 +0200 +++ /var/tmp/diff_new_pack.oxMWcv/_new 2018-05-06 14:57:18.166198443 +0200 @@ -321,7 +321,7 @@ %make_install # remove .a -find %{buildroot} -name "*.a" -exec rm {} ";" +find %{buildroot} -name "*.a" -delete # install "site-packages" and __pycache__ for third parties install -d -m 755 %{buildroot}%{sitedir}/site-packages @@ -331,7 +331,7 @@ # cleanup parts that don't belong for dir in curses dbm sqlite3 tkinter; do -find %{buildroot}%{sitedir}/$dir/* -maxdepth 0 -name "test" -o -exec rm -rf {} ";" +find "%{buildroot}/%{sitedir}/$dir"/* -maxdepth 0 -name "test" -o -exec rm -rf {} + done # rm $RPM_BUILD_ROOT%{dynlib pyexpat} @@ -359,7 +359,7 @@ # gdb script is shipped with devel subpackage rm -r $PDOCS/Tools/gdb # clean up the bat files -find $PDOCS -name "*.bat" -exec rm {} ";" +find "$PDOCS" -name "*.bat" -delete # put gdb helper script into place install -m 755 -D Tools/gdb/libpython.py %{buildroot}%{_datadir}/gdb/auto-load/%{_libdir}/libpython%{python_abi}.so.%{so_major}.%{so_minor}-gdb.py ++ python3.spec ++ --- /var/tmp/diff_new_pack.oxMWcv/_old 2018-05-06 14:57:18.206196976 +0200 +++ /var/tmp/diff_new_pack.oxMWcv/_new 2018-05-06 14:57:18.206196976 +0200 @@ -287,7 +287,7 @@ rm -r %{buildroot}%{_includedir}/* rm -r %{buildroot}%{sitedir}/config* -find %{buildroot}%{sitedir} -name "*.egg-info" -exec rm {} ";" +find %{buildroot}%{sitedir} -name "*.egg-info" -delete rm -r %{buildroot}%{sitedir}/__pycache__ rm -r %{buildroot}%{sitedir}/site-packages rm %{buildroot}%{sitedir}/*.*
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2018-04-29 19:37:00 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Sun Apr 29 19:37:00 2018 rev:88 rq:601557 version:3.6.5 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2018-04-05 15:30:05.959498924 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2018-04-29 19:37:02.311094531 +0200 @@ -0,0 +1,22 @@ +--- +Fri Apr 20 16:17:29 UTC 2018 - tchva...@suse.com + +- Do not mention the testsuite disabling in opts as it was moved to + main pkg so base is test-free + +--- +Tue Apr 17 08:36:08 UTC 2018 - tchva...@suse.com + +- As we run in main python package do not generate the pre_checkin + from both now + +--- +Mon Apr 16 14:11:56 UTC 2018 - tchva...@suse.com + +- Move the tests from base to generic package wrt bsc#1088573 + * We still fail the whole distro if python3 is not build + * The other archs than x86_64 took couple of hours to unblock +build of other software, this way we work around the issue +- Some tests are still run in -base for the LTO tweaking, but at + least it is not run twice + --- /work/SRC/openSUSE:Factory/python3/python3.changes 2018-04-05 15:30:06.399483021 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2018-04-29 19:37:06.310947853 +0200 @@ -1,0 +2,14 @@ +Tue Apr 17 08:36:08 UTC 2018 - tchva...@suse.com + +- As we run in main python package do not generate the pre_checkin + from both now + +--- +Mon Apr 16 14:11:56 UTC 2018 - tchva...@suse.com + +- Move the tests from base to generic package wrt bsc#1088573 + * We still fail the whole distro if python3 is not build + * The other archs than x86_64 took couple of hours to unblock +build of other software, this way we work around the issue + +--- Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.CwTc69/_old 2018-04-29 19:37:08.602863806 +0200 +++ /var/tmp/diff_new_pack.CwTc69/_new 2018-04-29 19:37:08.606863659 +0200 @@ -30,9 +30,7 @@ %define python_version 3.6 %define python_version_abitag 36 %define python_version_soname 3_6 - %define sitedir %{_libdir}/python%{python_version} - # three possible ABI kinds: m - pymalloc, d - debug build; see PEP 3149 %define abi_kind m # python ABI version - used in some file names @@ -43,7 +41,6 @@ %define so_major 1 %define so_minor 0 %define so_version %{python_version_soname}%{abi_kind}%{so_major}_%{so_minor} - # rpm and python have different ideas about what is an arch-dependent name, so: %if %{__isa_name} == ppc %define archname %(echo %{_arch} | sed s/ppc/powerpc/) @@ -54,13 +51,11 @@ %if %{_arch} == arm %define armsuffix hf %endif - # pyexpat.cpython-35m-x86_64-linux-gnu # pyexpat.cpython-35m-powerpc64le-linux-gnu # pyexpat.cpython-35m-armv7-linux-gnueabihf %define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so ### COMMON-DEF-END ### - # that thing where "without" means "default=on" and vice versa %bcond_without testsuite %if 0%{?do_profiling} @@ -68,15 +63,13 @@ %else %bcond_withprofileopt %endif - Name: python3-base Version:3.6.5 Release:0 Summary:Python 3 Interpreter and Stdlib Core License:Python-2.0 Group: Development/Languages/Python -Url:http://www.python.org/ - +URL:http://www.python.org/ # SOURCE FILES # Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz Source1: http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz.asc @@ -86,7 +79,6 @@ Source8:macros.python3 Source9:import_failed.py Source10: import_failed.map - # The following files are not used in the build. # They are listed here to work around missing functionality in rpmbuild, # which would otherwise exclude them from distributed src.rpm files. @@ -94,29 +86,23 @@ Source101: python3-rpmlintrc Source102: pre_checkin.sh Source103: skipped_tests.py - # REQURES, PROVIDES, OBSOLETES # Requires: python-rpm-macros Recommends: python3 = %{version} #Recommends: python3-ensurepip - # python 3.1 didn't ha
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2018-04-05 15:29:57 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Thu Apr 5 15:29:57 2018 rev:87 rq:592795 version:3.6.5 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2018-03-12 12:04:55.786060129 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2018-04-05 15:30:05.959498924 +0200 @@ -1 +1,11 @@ + +Sat Mar 31 19:41:12 UTC 2018 - mimi...@gmail.com + +- update to 3.6.5 + * bugfix release + * see Misc/NEWS for details +- drop ctypes-pass-by-value.patch +- drop fix-localeconv-encoding-for-LC_NUMERIC.patch +- refresh python-3.6.0-multilib-new.patch + +-- python3-doc.changes: same change --- /work/SRC/openSUSE:Factory/python3/python3.changes 2018-02-25 12:20:31.707534075 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2018-04-05 15:30:06.399483021 +0200 @@ -1,0 +2,10 @@ +Sat Mar 31 19:41:12 UTC 2018 - mimi...@gmail.com + +- update to 3.6.5 + * bugfix release + * see Misc/NEWS for details +- drop ctypes-pass-by-value.patch +- drop fix-localeconv-encoding-for-LC_NUMERIC.patch +- refresh python-3.6.0-multilib-new.patch + +--- Old: Python-3.6.4.tar.xz Python-3.6.4.tar.xz.asc ctypes-pass-by-value.patch fix-localeconv-encoding-for-LC_NUMERIC.patch New: Python-3.6.5.tar.xz Python-3.6.5.tar.xz.asc Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.C2cppV/_old 2018-04-05 15:30:08.319413627 +0200 +++ /var/tmp/diff_new_pack.C2cppV/_new 2018-04-05 15:30:08.323413483 +0200 @@ -70,7 +70,7 @@ %endif Name: python3-base -Version:3.6.4 +Version:3.6.5 Release:0 Summary:Python 3 Interpreter and Stdlib Core License:Python-2.0 @@ -171,12 +171,8 @@ Patch22:distutils-reproducible-compile.patch # skip some tests only for PowerPC Patch23:skip_random_failing_tests.patch -# Fix glibc-2.27 fail -Patch24:fix-localeconv-encoding-for-LC_NUMERIC.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 -Patch25:python3-sorted_tar.patch -# bpo-30353 -Patch26:ctypes-pass-by-value.patch +Patch24:python3-sorted_tar.patch ### COMMON-PATCH-END ### %description @@ -273,8 +269,6 @@ %patch23 -p1 %endif %patch24 -p1 -%patch25 -p1 -%patch26 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.C2cppV/_old 2018-04-05 15:30:08.371411748 +0200 +++ /var/tmp/diff_new_pack.C2cppV/_new 2018-04-05 15:30:08.371411748 +0200 @@ -56,7 +56,7 @@ ### COMMON-DEF-END ### # Name: python3-doc -Version:3.6.4 +Version:3.6.5 Release:0 Summary:Additional Package Documentation for Python 3 License:Python-2.0 @@ -92,12 +92,8 @@ Patch22:distutils-reproducible-compile.patch # skip some tests only for PowerPC Patch23:skip_random_failing_tests.patch -# Fix glibc-2.27 fail -Patch24:fix-localeconv-encoding-for-LC_NUMERIC.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 -Patch25:python3-sorted_tar.patch -# bpo-30353 -Patch26:ctypes-pass-by-value.patch +Patch24:python3-sorted_tar.patch ### COMMON-PATCH-END ### %description @@ -124,8 +120,6 @@ %patch23 -p1 %endif %patch24 -p1 -%patch25 -p1 -%patch26 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.C2cppV/_old 2018-04-05 15:30:08.395410881 +0200 +++ /var/tmp/diff_new_pack.C2cppV/_new 2018-04-05 15:30:08.399410736 +0200 @@ -61,7 +61,7 @@ ### COMMON-DEF-END ### # Name: python3 -Version:3.6.4 +Version:3.6.5 Release:0 Summary:Python 3 Interpreter License:Python-2.0 @@ -124,12 +124,8 @@ Patch22:distutils-reproducible-compile.patch # skip some tests only for PowerPC Patch23:skip_random_failing_tests.patch -# Fix glibc-2.27 fail -Patch24:fix-localeconv-encoding-for-LC_NUMERIC.patch # PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 -Patch25:python3-sorted_tar.patch -# bpo-30353 -Patch26:ctypes-pass-by-value.patch
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2018-03-12 12:04:52 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Mon Mar 12 12:04:52 2018 rev:86 rq:583862 version:3.6.4 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2018-02-25 12:20:27.911671558 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2018-03-12 12:04:55.786060129 +0100 @@ -1,0 +2,7 @@ +Wed Mar 7 09:16:39 UTC 2018 - a...@mizerski.pl + +- Created %so_major and %so_minor macros +- Put Tools/gdb/libpython.py script into proper place and ship it with devel + subpackage. + +--- python3.changes: same change Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.1QkrBy/_old 2018-03-12 12:04:59.945911042 +0100 +++ /var/tmp/diff_new_pack.1QkrBy/_new 2018-03-12 12:04:59.957910612 +0100 @@ -40,7 +40,9 @@ # soname ABI tag defined in PEP 3149 %define abi_tag%{python_version_abitag}%{abi_kind} # version part of "libpython" package -%define so_version %{python_version_soname}%{abi_kind}1_0 +%define so_major 1 +%define so_minor 0 +%define so_version %{python_version_soname}%{abi_kind}%{so_major}_%{so_minor} # rpm and python have different ideas about what is an arch-dependent name, so: %if %{__isa_name} == ppc @@ -414,9 +416,14 @@ test -d $x && ( install -c -m 755 -d $PDOCS/$x ) \ || ( install -c -m 644 $x $PDOCS/$x ) done +# gdb script is shipped with devel subpackage +rm -r $PDOCS/Tools/gdb # clean up the bat files find $PDOCS -name "*.bat" -exec rm {} ";" +# put gdb helper script into place +install -m 755 -D Tools/gdb/libpython.py %{buildroot}%{_datadir}/gdb/auto-load/%{_libdir}/libpython%{python_abi}.so.%{so_major}.%{so_minor}-gdb.py + # install devel files to /config #cp Makefile Makefile.pre.in Makefile.pre $RPM_BUILD_ROOT%{sitedir}/config-%{python_abi}/ @@ -460,7 +467,7 @@ %files -n libpython%{so_version} %defattr(644, root,root) -%{_libdir}/libpython%{python_abi}.so.* +%{_libdir}/libpython%{python_abi}.so.%{so_major}.%{so_minor} %files -n python3-tools %defattr(644, root, root, 755) @@ -493,6 +500,12 @@ %{_bindir}/python%{python_abi}-config %{_bindir}/python%{python_version}-config %{_bindir}/python3-config +# Own these directories to not depend on gdb +%dir %{_datadir}/gdb +%dir %{_datadir}/gdb/auto-load +%dir %{_datadir}/gdb/auto-load%{_prefix} +%dir %{_datadir}/gdb/auto-load%{_libdir} +%{_datadir}/gdb/auto-load/%{_libdir}/libpython%{python_abi}.so.%{so_major}.%{so_minor}-gdb.py %files -n python3-testsuite %defattr(644, root, root, 755) ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.1QkrBy/_old 2018-03-12 12:05:00.037907744 +0100 +++ /var/tmp/diff_new_pack.1QkrBy/_new 2018-03-12 12:05:00.049907314 +0100 @@ -34,7 +34,9 @@ # soname ABI tag defined in PEP 3149 %define abi_tag%{python_version_abitag}%{abi_kind} # version part of "libpython" package -%define so_version %{python_version_soname}%{abi_kind}1_0 +%define so_major 1 +%define so_minor 0 +%define so_version %{python_version_soname}%{abi_kind}%{so_major}_%{so_minor} # rpm and python have different ideas about what is an arch-dependent name, so: %if %{__isa_name} == ppc python3.spec: same change
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2018-02-25 12:20:20 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Sun Feb 25 12:20:20 2018 rev:85 rq:578394 version:3.6.4 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2018-02-14 09:18:29.212042108 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2018-02-25 12:20:27.911671558 +0100 @@ -1,0 +2,10 @@ +Tue Feb 20 15:04:56 UTC 2018 - sch...@suse.de + +- ctypes-pass-by-value.patch: Fix pass by value for structs on aarch64 + +--- +Tue Feb 20 14:28:00 UTC 2018 - bwiedem...@suse.com + +- Add python3-sorted_tar.patch (boo#1081750) + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2018-02-14 09:18:31.407962511 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2018-02-25 12:20:31.707534075 +0100 @@ -1,0 +2,6 @@ +Tue Feb 20 14:08:57 UTC 2018 - tchva...@suse.com + +- Drop python3-tk and python3-idle recommends to reduce python3 + always pulling X stack bsc#1081751 + +--- New: ctypes-pass-by-value.patch python3-sorted_tar.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.A6nrmA/_old 2018-02-25 12:20:33.179480763 +0100 +++ /var/tmp/diff_new_pack.A6nrmA/_new 2018-02-25 12:20:33.191480328 +0100 @@ -171,6 +171,10 @@ Patch23:skip_random_failing_tests.patch # Fix glibc-2.27 fail Patch24:fix-localeconv-encoding-for-LC_NUMERIC.patch +# PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 +Patch25:python3-sorted_tar.patch +# bpo-30353 +Patch26:ctypes-pass-by-value.patch ### COMMON-PATCH-END ### %description @@ -267,6 +271,8 @@ %patch23 -p1 %endif %patch24 -p1 +%patch25 -p1 +%patch26 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac python3-doc.spec: same change ++ python3.spec ++ --- /var/tmp/diff_new_pack.A6nrmA/_old 2018-02-25 12:20:33.295476562 +0100 +++ /var/tmp/diff_new_pack.A6nrmA/_new 2018-02-25 12:20:33.299476417 +0100 @@ -91,9 +91,7 @@ Requires: python3-base = %{version} Recommends: python3-curses Recommends: python3-dbm -Recommends: python3-idle Recommends: python3-pip -Recommends: python3-tk Provides: python = %{python_version} # # do not add patches here, please edit python3-base.spec instead @@ -126,6 +124,10 @@ Patch23:skip_random_failing_tests.patch # Fix glibc-2.27 fail Patch24:fix-localeconv-encoding-for-LC_NUMERIC.patch +# PATCH-FIX-UPSTREAM sorted tar https://github.com/python/cpython/pull/2263 +Patch25:python3-sorted_tar.patch +# bpo-30353 +Patch26:ctypes-pass-by-value.patch ### COMMON-PATCH-END ### %description @@ -186,6 +188,8 @@ %patch23 -p1 %endif %patch24 -p1 +%patch25 -p1 +%patch26 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ ctypes-pass-by-value.patch ++ >From 9ba3aa4d02a110d1a1ea464a8aff3be7dd9c63c3 Mon Sep 17 00:00:00 2001 From: Erik Bray Date: Wed, 7 Jun 2017 18:42:24 +0100 Subject: [PATCH] bpo-30353: Fix pass by value for structs on 64-bit Cygwin/MinGW (GH-1559) --- Lib/ctypes/test/test_as_parameter.py | 4 Lib/ctypes/test/test_structures.py | 22 ++ Modules/_ctypes/_ctypes_test.c | 18 ++ Modules/_ctypes/callproc.c | 23 +-- 4 files changed, 65 insertions(+), 2 deletions(-) diff --git a/Lib/ctypes/test/test_as_parameter.py b/Lib/ctypes/test/test_as_parameter.py index 2a3484bec0..a2640575a0 100644 --- a/Lib/ctypes/test/test_as_parameter.py +++ b/Lib/ctypes/test/test_as_parameter.py @@ -169,6 +169,10 @@ class BasicWrapTestCase(unittest.TestCase): s2h = dll.ret_2h_func(self.wrap(inp)) self.assertEqual((s2h.x, s2h.y), (99*2, 88*3)) +# Test also that the original struct was unmodified (i.e. was passed by +# value) +self.assertEqual((inp.x, inp.y), (99, 88)) + def test_struct_return_8H(self): class S8I(Structure): _fields_ = [("a", c_int), diff --git a/Lib/ctypes/test/test_structures.py b/Lib/ctypes/test/test_structures.py index 2e778fb1b4..d90c71144c 100644 --- a/Lib/ctypes/test/test_structures.py +++ b/Lib/ctypes/test/test_structures.py @@ -417,6 +417,28 @@ class StructureTestCase(unittest.TestCase): self.assertEqual(s.secon
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2018-02-14 09:18:21 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Wed Feb 14 09:18:21 2018 rev:84 rq:573616 version:3.6.4 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2018-01-26 13:58:52.099028135 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2018-02-14 09:18:29.212042108 +0100 @@ -1,0 +2,6 @@ +Wed Feb 7 09:10:03 UTC 2018 - tchva...@suse.com + +- Add patch to fix glibc 2.27 fail bsc#1079761: + * fix-localeconv-encoding-for-LC_NUMERIC.patch + +--- python3-doc.changes: same change --- /work/SRC/openSUSE:Factory/python3/python3.changes 2018-01-26 13:58:53.094981636 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2018-02-14 09:18:31.407962511 +0100 @@ -1,0 +2,12 @@ +Wed Feb 7 09:10:03 UTC 2018 - tchva...@suse.com + +- Add patch to fix glibc 2.27 fail bsc#1079761: + * fix-localeconv-encoding-for-LC_NUMERIC.patch + +--- +Mon Feb 5 17:14:43 UTC 2018 - norm...@linux.vnet.ibm.com + +- Update skip_random_failing_tests.patch (for PowerPC) + to avoid test_call_later failure + +--- New: fix-localeconv-encoding-for-LC_NUMERIC.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.4WE9dQ/_old 2018-02-14 09:18:32.743914087 +0100 +++ /var/tmp/diff_new_pack.4WE9dQ/_new 2018-02-14 09:18:32.747913941 +0100 @@ -169,6 +169,8 @@ Patch22:distutils-reproducible-compile.patch # skip some tests only for PowerPC Patch23:skip_random_failing_tests.patch +# Fix glibc-2.27 fail +Patch24:fix-localeconv-encoding-for-LC_NUMERIC.patch ### COMMON-PATCH-END ### %description @@ -264,6 +266,7 @@ %ifarch ppc ppc64 ppc64le %patch23 -p1 %endif +%patch24 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac python3-doc.spec: same change python3.spec: same change ++ fix-localeconv-encoding-for-LC_NUMERIC.patch ++ diff --git a/Doc/library/locale.rst b/Doc/library/locale.rst index b04442bc162..9a0c570533a 100644 --- a/Doc/library/locale.rst +++ b/Doc/library/locale.rst @@ -147,6 +147,16 @@ The :mod:`locale` module defines the following exception and functions: | ``CHAR_MAX`` | Nothing is specified in this locale.| +--+-+ + The function sets temporarily the ``LC_CTYPE`` locale to the ``LC_NUMERIC`` + locale to decode ``decimal_point`` and ``thousands_sep`` byte strings if + they are non-ASCII or longer than 1 byte, and the ``LC_NUMERIC`` locale is + different than the ``LC_CTYPE`` locale. This temporary change affects other + threads. + + .. versionchanged:: 3.6.5 + The function now sets temporarily the ``LC_CTYPE`` locale to the + ``LC_NUMERIC`` locale in some cases. + .. function:: nl_langinfo(option) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 196a4c00056..d8a1647e8b5 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -1599,6 +1599,20 @@ expression support in the :mod:`re` module). See :ref:`formatstrings` for a description of the various formatting options that can be specified in format strings. + .. note:: + When formatting a number (:class:`int`, :class:`float`, :class:`float` + and subclasses) with the ``n`` type (ex: ``'{:n}'.format(1234)``), the + function sets temporarily the ``LC_CTYPE`` locale to the ``LC_NUMERIC`` + locale to decode ``decimal_point`` and ``thousands_sep`` fields of + :c:func:`localeconv` if they are non-ASCII or longer than 1 byte, and the + ``LC_NUMERIC`` locale is different than the ``LC_CTYPE`` locale. This + temporary change affects other threads. + + .. versionchanged:: 3.6.5 + When formatting a number with the ``n`` type, the function sets + temporarily the ``LC_CTYPE`` locale to the ``LC_NUMERIC`` locale in some + cases. + .. method:: str.format_map(mapping) diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 847b50140a6..f83508c9250 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -2346,3 +2346,11 @@ It has been replaced by the new ``make regen-all`` target. (Contributed by Victor Stinner in :issue:`23404`.) .. versionchanged:: 3.6.2 + + +Notable changes in Python 3.6.5 +=== + +The :func:`locale.localeconv` function now
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2018-01-26 13:58:49 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Fri Jan 26 13:58:49 2018 rev:83 rq:569359 version:3.6.4 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2018-01-21 15:47:36.993729528 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2018-01-26 13:58:52.099028135 +0100 @@ -1,0 +2,7 @@ +Wed Jan 24 14:35:58 UTC 2018 - jmate...@suse.com + +- move XML modules and python3-xml provide to python3-base + (fixes bsc#1077230) +- move ensurepip to base + +--- python3-doc.changes: same change python3.changes: same change Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.E2Cmyw/_old 2018-01-26 13:58:56.394827570 +0100 +++ /var/tmp/diff_new_pack.E2Cmyw/_new 2018-01-26 13:58:56.394827570 +0100 @@ -111,6 +111,10 @@ Provides: python3-typing = %{version} Obsoletes: python3-typing < %{version} +# python3-xml was merged into python3, now moved into -base +Provides: python3-xml = %{version} +Obsoletes: python3-xml < %{version} + # BUILDREQUIRES # # SECTION required for basic build BuildRequires: automake @@ -122,6 +126,8 @@ BuildRequires: libbz2-devel # _ctypes BuildRequires: libffi-devel +# pyexpat, _elementtree +BuildRequires: libexpat-devel # _lzma BuildRequires: lzma-devel # ssl @@ -346,13 +352,6 @@ # done have any such interface breaking the uuid module. EXCLUDE="$EXCLUDE test_uuid" -# XML tests -EXCLUDE="$EXCLUDE test_docxmlrpc test_minidom test_pulldom test_pyexpat \ -test_xml_etree test_xml_etree_c test_xmlrpc test_xmlrpc_net" -# tests for components that require XML indirectly -EXCLUDE="$EXCLUDE test_plistlib test_venv \ -test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_spawn" - # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ulimit -v 1000 || : @@ -380,7 +379,7 @@ mkdir -p %{buildroot}%{_prefix}/lib/python%{python_version}/site-packages/__pycache__ # cleanup parts that don't belong -for dir in curses dbm ensurepip sqlite3 tkinter xml xmlrpc; do +for dir in curses dbm sqlite3 tkinter; do find %{buildroot}%{sitedir}/$dir/* -maxdepth 0 -name "test" -o -exec rm -rf {} ";" done # rm $RPM_BUILD_ROOT%{dynlib pyexpat} @@ -534,6 +533,7 @@ %{dynlib _ctypes} %{dynlib _datetime} %{dynlib _decimal} +%{dynlib _elementtree} %{dynlib fcntl} %{dynlib grp} %{dynlib _hashlib} @@ -551,6 +551,7 @@ %{dynlib parser} %{dynlib _pickle} %{dynlib _posixsubprocess} +%{dynlib pyexpat} %{dynlib _random} %{dynlib resource} %{dynlib select} @@ -586,6 +587,7 @@ %{sitedir}/distutils %{sitedir}/email %{sitedir}/encodings +%{sitedir}/ensurepip %{sitedir}/html %{sitedir}/http %{sitedir}/importlib @@ -598,6 +600,8 @@ %{sitedir}/urllib %{sitedir}/venv %{sitedir}/wsgiref +%{sitedir}/xml +%{sitedir}/xmlrpc %{sitedir}/__pycache__ # import-failed hooks %{sitedir}/_import_failed ++ python3.spec ++ --- /var/tmp/diff_new_pack.E2Cmyw/_old 2018-01-26 13:58:56.434825702 +0100 +++ /var/tmp/diff_new_pack.E2Cmyw/_new 2018-01-26 13:58:56.438825516 +0100 @@ -94,10 +94,7 @@ Recommends: python3-idle Recommends: python3-pip Recommends: python3-tk -# some compatibility Provides Provides: python = %{python_version} -Provides: python3-xml = %{version} -Obsoletes: python3-xml < %{version} # # do not add patches here, please edit python3-base.spec instead # and run pre_checkin.sh @@ -132,12 +129,12 @@ %description Python 3 is modern interpreted, object-oriented programming language, often compared to Tcl, Perl, Scheme, or Java. You can find an overview -of Python in the documentation and tutorials included in the python-doc +of Python in the documentation and tutorials included in the python3-doc package. This package supplies rich command line features provided by readline, -XML processing tools, "ensurepip" installer, and sqlite3 support for -the interpreter core, thus forming a so called "extended" runtime. +and sqlite3 support for the interpreter core, thus forming a so called +"extended" runtime. Installing "python3" is sufficient for the vast majority of usecases. In addition, recommended packages provide UI toolkit support (python3-curses, python3-tk), legacy UNIX database bindings (python3-dbm), and the IDLE @@ -258,13 +255,6 @@ TESTS="$TESTS test_asyncio" %endif -# XML tests -TESTS="$TESTS test_docxmlrpc t
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2018-01-21 15:47:34 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Sun Jan 21 15:47:34 2018 rev:82 rq:567661 version:3.6.4 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2018-01-06 18:46:45.126064281 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2018-01-21 15:47:36.993729528 +0100 @@ -1,0 +2,5 @@ +Thu Jan 18 12:31:47 UTC 2018 - norm...@linux.vnet.ibm.com + +- Add skip_random_failing_tests.patch only for PowerPC + +--- python3-doc.changes: same change python3.changes: same change New: skip_random_failing_tests.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.W8MiQx/_old 2018-01-21 15:47:42.533469576 +0100 +++ /var/tmp/diff_new_pack.W8MiQx/_new 2018-01-21 15:47:42.541469201 +0100 @@ -161,6 +161,8 @@ Patch21:0001-allow-for-reproducible-builds-of-python-packages.patch # PATCH-FEATURE-OPENSUSE order files for compilation until the underlying cause of bsc#1049186 is resolved Patch22:distutils-reproducible-compile.patch +# skip some tests only for PowerPC +Patch23:skip_random_failing_tests.patch ### COMMON-PATCH-END ### %description @@ -253,6 +255,9 @@ %patch15 -p1 %patch21 -p1 %patch22 -p1 +%ifarch ppc ppc64 ppc64le +%patch23 -p1 +%endif # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac python3-doc.spec: same change python3.spec: same change ++ skip_random_failing_tests.patch ++ From: Michel Normand Subject: skip random failing tests Date: Thu, 18 Jan 2018 15:48:52 +0100 skip random failing tests: in _test_multiprocessing.py: test_async_timeout test_waitfor_timeout test_wait_integer in test_events.py: test_run_until_complete test_signal_handling_args Reported to fail on ppc64le host on multiple osc build trials: (all failed for ppc64le, except one for ppc) === [michel@abanc:~/work/home:michel_mno:branches:devel:languages:python:Factory/python3] $idx=1; while test 1; do echo "trial $idx:"; osc build \ --vm-type kvm -j 8 --threads 4 openSUSE_Factory_PowerPC ppc64le \ >/tmp/python3_trialx_${idx}.log 2>&1 || break; ((idx++)); done === FAIL: test_async_timeout (test.test_multiprocessing_fork.WithProcessesTestPool) -- Traceback (most recent call last): File "/home/abuild/rpmbuild/BUILD/Python-3.6.4/Lib/test/_test_multiprocessing.py", line 2017, in test_async_timeout self.assertRaises(multiprocessing.TimeoutError, get, timeout=TIMEOUT2) AssertionError: TimeoutError not raised by === FAIL: test_waitfor_timeout (test.test_multiprocessing_spawn.WithManagerTestCondition) -- Traceback (most recent call last): File "/home/abuild/rpmbuild/BUILD/Python-3.6.4/Lib/test/_test_multiprocessing.py", line 1169, in test_waitfor_timeout self.assertTrue(success.value) AssertionError: False is not true === FAIL: test_run_until_complete (test.test_asyncio.test_events.SelectEventLoopTests) -- Traceback (most recent call last): File "/home/abuild/rpmbuild/BUILD/Python-3.6.4/Lib/test/test_asyncio/test_events.py", line 285, in test_run_until_complete self.assertTrue(0.08 <= t1-t0 <= 0.8, t1-t0) AssertionError: False is not true : 3.96684496893 === FAIL: test_signal_handling_args (test.test_asyncio.test_events.SelectEventLoopTests) -- Traceback (most recent call last): File "/home/abuild/rpmbuild/BUILD/Python-3.6.4/Lib/test/test_asyncio/test_events.py", line 566, in test_signal_handling_args self.assertEqual(caught, 1) AssertionError: 0 != 1 === (ppc) FAIL: test_wait_integer (test.test_multiprocessing_spawn.TestWait) -- Traceback (most recent call last): File "/home/abuild/rpmbuild/BUILD/Python-3.6.4/Lib/test/_test_multiprocessing.py", line 3762, in test_wait_integer self.assertLess(delta, expected + 2) AssertionError: 5.576360702514648 not less than 5 === Signed-off-by: Michel Normand --- Lib/test/_test_multiprocessing.py|2 ++ Lib/test/test_asyncio/test_events.py |2 ++ 2 files changed, 4 insertions(+) Index: Python-3.6.4/Lib/test/_test_multiprocessing.py === --- Python-
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2018-01-06 18:46:40 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Sat Jan 6 18:46:40 2018 rev:81 rq:561429 version:3.6.4 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2017-12-06 08:48:04.432081851 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2018-01-06 18:46:45.126064281 +0100 @@ -1,0 +2,11 @@ +Wed Jan 3 12:18:51 UTC 2018 - jmate...@suse.com + +- update to 3.6.4 + * bugfix release, over a hundred bugs fixed + * see Misc/NEWS for details +- drop upstreamed python3-ncurses-6.0-accessors.patch +- drop PYTHONSTARTUP hooks that cause spurious startup errors + * fixes bsc#1070738 + * the relevant feature (REPL history) is now built into Python itself + +--- python3-doc.changes: same change python3.changes: same change Old: Python-3.6.3.tar.xz Python-3.6.3.tar.xz.asc python3-ncurses-6.0-accessors.patch python3.csh python3.sh python3start New: Python-3.6.4.tar.xz Python-3.6.4.tar.xz.asc Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.YU5413/_old 2018-01-06 18:46:48.261917756 +0100 +++ /var/tmp/diff_new_pack.YU5413/_new 2018-01-06 18:46:48.265917569 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-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 @@ -68,7 +68,7 @@ %endif Name: python3-base -Version:3.6.3 +Version:3.6.4 Release:0 Summary:Python 3 Interpreter and Stdlib Core License:Python-2.0 @@ -81,9 +81,6 @@ Source2:python.keyring Source3:baselibs.conf Source4:README.SUSE -Source5:python3start -Source6:python3.sh -Source7:python3.csh Source8:macros.python3 Source9:import_failed.py Source10: import_failed.map @@ -160,8 +157,6 @@ Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Raise timeout value for test_subprocess Patch15:subprocess-raise-timeout.patch -# PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 -Patch20:python3-ncurses-6.0-accessors.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- https://github.com/python/cpython/pull/296 Patch21:0001-allow-for-reproducible-builds-of-python-packages.patch # PATCH-FEATURE-OPENSUSE order files for compilation until the underlying cause of bsc#1049186 is resolved @@ -256,7 +251,6 @@ %patch09 -p1 %patch12 -p1 %patch15 -p1 -%patch20 -p1 %patch21 -p1 %patch22 -p1 @@ -423,11 +417,6 @@ done ) -# startup scripts -mkdir -p %{buildroot}%{_sysconfdir}/profile.d -install -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir} # python3start -install -m 644 %{SOURCE6} %{SOURCE7} %{buildroot}%{_sysconfdir}/profile.d # python3.sh, python3.csh - # RPM macros mkdir -p %{buildroot}%{_sysconfdir}/rpm install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/rpm # macros.python3 @@ -509,9 +498,6 @@ %files %defattr(644, root, root, 755) -# profile files -%config %{_sysconfdir}/python3start -%config %{_sysconfdir}/profile.d/python3.* # docs %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/README.rst ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.YU5413/_old 2018-01-06 18:46:48.293916261 +0100 +++ /var/tmp/diff_new_pack.YU5413/_new 2018-01-06 18:46:48.297916074 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-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 @@ -54,7 +54,7 @@ ### COMMON-DEF-END ### # Name: python3-doc -Version:3.6.3 +Version:3.6.4 Release:0 Summary:Additional Package Documentation for Python 3 License:Python-2.0 @@ -84,8 +84,6 @@ Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Raise timeout value for test_subprocess Patch15:subprocess-raise-timeout.patch -# PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 -Patch20:py
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2017-12-06 08:48:02 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Wed Dec 6 08:48:02 2017 rev:80 rq:548076 version:3.6.3 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2017-11-23 09:36:05.442735982 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2017-12-06 08:48:04.432081851 +0100 @@ -1,0 +2,7 @@ +Sat Dec 2 11:11:46 UTC 2017 - dims...@opensuse.org + +- Install 2to3-%{python_version} executable (override defattr of + the -tools package). 2to3 (unversioned) is a symlink and does not + carry permissions (bsc#1070853). + +--- python3.changes: same change Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.75DHjI/_old 2017-12-06 08:48:05.760033231 +0100 +++ /var/tmp/diff_new_pack.75DHjI/_new 2017-12-06 08:48:05.760033231 +0100 @@ -464,7 +464,7 @@ %defattr(644, root, root, 755) %{sitedir}/turtledemo %{_bindir}/2to3 -%{_bindir}/2to3-%{python_version} +%attr(755, root, root)%{_bindir}/2to3-%{python_version} %doc %{_docdir}/%{name}/Tools %files -n python3-idle python3.spec: same change
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2017-11-23 09:36:03 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Thu Nov 23 09:36:03 2017 rev:79 rq:544285 version:3.6.3 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2017-10-23 16:37:10.741929841 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2017-11-23 09:36:05.442735982 +0100 @@ -1,0 +2,5 @@ +Thu Nov 16 11:02:18 UTC 2017 - mimi...@gmail.com + +- move 2to3 to python3-tools package + +--- python3-doc.changes: same change python3.changes: same change Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.X0VfZg/_old 2017-11-23 09:36:10.186562901 +0100 +++ /var/tmp/diff_new_pack.X0VfZg/_new 2017-11-23 09:36:10.190562754 +0100 @@ -185,6 +185,8 @@ Requires: %{name} = %{version} Obsoletes: python3-demo < %{version} Provides: python3-demo = %{version} +Obsoletes: python3-2to3 < %{version} +Provides: python3-2to3 = %{version} %description -n python3-tools A number of scripts that are useful for building, testing or extending Python, @@ -206,8 +208,6 @@ Summary:Include Files and Libraries Mandatory for Building Python Modules Group: Development/Languages/Python Requires: %{name} = %{version} -Provides: python3-2to3 = %{version} -Obsoletes: python3-2to3 < %{version} %description -n python3-devel The Python programming language's interpreter can be extended with @@ -463,6 +463,8 @@ %files -n python3-tools %defattr(644, root, root, 755) %{sitedir}/turtledemo +%{_bindir}/2to3 +%{_bindir}/2to3-%{python_version} %doc %{_docdir}/%{name}/Tools %files -n python3-idle @@ -489,8 +491,6 @@ %{_bindir}/python%{python_abi}-config %{_bindir}/python%{python_version}-config %{_bindir}/python3-config -%{_bindir}/2to3 -%{_bindir}/2to3-%{python_version} %files -n python3-testsuite %defattr(644, root, root, 755) python3.spec: same change
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2017-10-23 16:37:03 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Mon Oct 23 16:37:03 2017 rev:78 rq:533944 version:3.6.3 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2017-10-02 16:44:38.818887024 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2017-10-23 16:37:10.741929841 +0200 @@ -1,0 +2,8 @@ +Wed Oct 11 13:15:23 UTC 2017 - jmate...@suse.com + +- update to 3.6.3 + * bugfix release, over a hundred bugs fixed + * see Misc/NEWS for details +- drop upstreamed 0001-3.6-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3093.patch + +--- python3-doc.changes: same change python3.changes: same change Old: 0001-3.6-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3093.patch Python-3.6.2.tar.xz Python-3.6.2.tar.xz.asc New: Python-3.6.3.tar.xz Python-3.6.3.tar.xz.asc Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.qMfEyG/_old 2017-10-23 16:37:12.281857748 +0200 +++ /var/tmp/diff_new_pack.qMfEyG/_new 2017-10-23 16:37:12.285857561 +0200 @@ -68,7 +68,7 @@ %endif Name: python3-base -Version:3.6.2 +Version:3.6.3 Release:0 Summary:Python 3 Interpreter and Stdlib Core License:Python-2.0 @@ -166,8 +166,6 @@ Patch21:0001-allow-for-reproducible-builds-of-python-packages.patch # PATCH-FEATURE-OPENSUSE order files for compilation until the underlying cause of bsc#1049186 is resolved Patch22:distutils-reproducible-compile.patch -# PATCH-FIX-UPSTREAM https://github.com/python/cpython/commit/7f6a13bd562ff6a265fc63a991327feaecb07a77 -Patch23:0001-3.6-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3093.patch ### COMMON-PATCH-END ### %description @@ -261,7 +259,6 @@ %patch20 -p1 %patch21 -p1 %patch22 -p1 -%patch23 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.qMfEyG/_old 2017-10-23 16:37:12.301856812 +0200 +++ /var/tmp/diff_new_pack.qMfEyG/_new 2017-10-23 16:37:12.305856625 +0200 @@ -54,7 +54,7 @@ ### COMMON-DEF-END ### # Name: python3-doc -Version:3.6.2 +Version:3.6.3 Release:0 Summary:Additional Package Documentation for Python 3 License:Python-2.0 @@ -90,8 +90,6 @@ Patch21:0001-allow-for-reproducible-builds-of-python-packages.patch # PATCH-FEATURE-OPENSUSE order files for compilation until the underlying cause of bsc#1049186 is resolved Patch22:distutils-reproducible-compile.patch -# PATCH-FIX-UPSTREAM https://github.com/python/cpython/commit/7f6a13bd562ff6a265fc63a991327feaecb07a77 -Patch23:0001-3.6-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3093.patch ### COMMON-PATCH-END ### %description @@ -115,7 +113,6 @@ %patch20 -p1 %patch21 -p1 %patch22 -p1 -%patch23 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac python3.spec: same change ++ Python-3.6.2.tar.xz -> Python-3.6.3.tar.xz ++ /work/SRC/openSUSE:Factory/python3/Python-3.6.2.tar.xz /work/SRC/openSUSE:Factory/.python3.new/Python-3.6.3.tar.xz differ: char 26, line 1
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2017-10-02 16:44:34 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Mon Oct 2 16:44:34 2017 rev:77 rq:528686 version:3.6.2 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2017-09-21 12:28:46.242550315 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2017-10-02 16:44:38.818887024 +0200 @@ -1,0 +2,8 @@ +Wed Sep 20 09:54:05 UTC 2017 - dmuel...@suse.com + +- drop python-2.7-libffi-aarch64.patch: this patches the intree + copy of libffi which is unused/deleted in the line afterwards +- fix build against system libffi: include flags weren't set + so it actually used the in-tree libffi headers. + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2017-09-14 21:09:02.830669308 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2017-10-02 16:44:42.814325274 +0200 @@ -1,0 +2,6 @@ +Wed Sep 20 09:54:05 UTC 2017 - dmuel...@suse.com + +- drop python-2.7-libffi-aarch64.patch: this patches the intree + copy of libffi which is unused/deleted in the line afterwards + +--- Old: python-2.7-libffi-aarch64.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.PdjJO4/_old 2017-10-02 16:44:44.298116656 +0200 +++ /var/tmp/diff_new_pack.PdjJO4/_new 2017-10-02 16:44:44.302116094 +0200 @@ -160,8 +160,6 @@ Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Raise timeout value for test_subprocess Patch15:subprocess-raise-timeout.patch -# PATCH-FIX-UPSTREAM Fix argument passing in libffi for aarch64 -Patch19:python-2.7-libffi-aarch64.patch # PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch20:python3-ncurses-6.0-accessors.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- https://github.com/python/cpython/pull/296 @@ -260,7 +258,6 @@ %patch09 -p1 %patch12 -p1 %patch15 -p1 -%patch19 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 @@ -279,7 +276,7 @@ done # drop in-tree libffi and expat -rm -r Modules/_ctypes/libffi +rm -r Modules/_ctypes/libffi* Modules/_ctypes/darwin rm -r Modules/expat # drop duplicate README from site-packages @@ -290,7 +287,7 @@ %build ### COMMON-CONFIG-BEGIN ### # use rpm_opt_flags -export OPT="%{optflags} -DOPENSSL_LOAD_CONF" +export OPT="%{optflags} -DOPENSSL_LOAD_CONF $(pkg-config --cflags-only-I libffi)" touch -r %{SOURCE0} Makefile.pre.in ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.PdjJO4/_old 2017-10-02 16:44:44.322113283 +0200 +++ /var/tmp/diff_new_pack.PdjJO4/_new 2017-10-02 16:44:44.326112720 +0200 @@ -84,8 +84,6 @@ Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Raise timeout value for test_subprocess Patch15:subprocess-raise-timeout.patch -# PATCH-FIX-UPSTREAM Fix argument passing in libffi for aarch64 -Patch19:python-2.7-libffi-aarch64.patch # PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch20:python3-ncurses-6.0-accessors.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- https://github.com/python/cpython/pull/296 @@ -114,7 +112,6 @@ %patch09 -p1 %patch12 -p1 %patch15 -p1 -%patch19 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 @@ -133,7 +130,7 @@ done # drop in-tree libffi and expat -rm -r Modules/_ctypes/libffi +rm -r Modules/_ctypes/libffi* Modules/_ctypes/darwin rm -r Modules/expat # drop duplicate README from site-packages ++ python3.spec ++ --- /var/tmp/diff_new_pack.PdjJO4/_old 2017-10-02 16:44:44.354108784 +0200 +++ /var/tmp/diff_new_pack.PdjJO4/_new 2017-10-02 16:44:44.358108221 +0200 @@ -121,8 +121,6 @@ Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Raise timeout value for test_subprocess Patch15:subprocess-raise-timeout.patch -# PATCH-FIX-UPSTREAM Fix argument passing in libffi for aarch64 -Patch19:python-2.7-libffi-aarch64.patch # PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch20:python3-ncurses-6.0-accessors.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- https://github.com/python/cpython/pull/296 @@ -185,7 +183,6 @@ %patch09 -p1 %patch12 -p1 %patch15 -p1 -%patch19 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 @@ -20
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2017-09-21 12:28:43 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Thu Sep 21 12:28:43 2017 rev:76 rq:527324 version:3.6.2 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2017-09-14 21:09:01.670832442 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2017-09-21 12:28:46.242550315 +0200 @@ -1,0 +2,6 @@ +Thu Sep 14 13:23:10 UTC 2017 - vci...@suse.com + +- Fix test broken with OpenSSL 1.1 (bsc#1042670) + * add 0001-3.6-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3093.patch + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2017-09-14 21:09:01.834809379 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2017-09-21 12:28:49.262125558 +0200 @@ -1,0 +2,5 @@ +Tue Sep 5 11:47:05 UTC 2017 - jeng...@inai.de + +- Update RPM group for python documentation. + +--- New: 0001-3.6-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3093.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.ALK8jz/_old 2017-09-21 12:28:52.093727242 +0200 +++ /var/tmp/diff_new_pack.ALK8jz/_new 2017-09-21 12:28:52.093727242 +0200 @@ -168,6 +168,8 @@ Patch21:0001-allow-for-reproducible-builds-of-python-packages.patch # PATCH-FEATURE-OPENSUSE order files for compilation until the underlying cause of bsc#1049186 is resolved Patch22:distutils-reproducible-compile.patch +# PATCH-FIX-UPSTREAM https://github.com/python/cpython/commit/7f6a13bd562ff6a265fc63a991327feaecb07a77 +Patch23:0001-3.6-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3093.patch ### COMMON-PATCH-END ### %description @@ -262,6 +264,7 @@ %patch20 -p1 %patch21 -p1 %patch22 -p1 +%patch23 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.ALK8jz/_old 2017-09-21 12:28:52.113724430 +0200 +++ /var/tmp/diff_new_pack.ALK8jz/_new 2017-09-21 12:28:52.113724430 +0200 @@ -58,7 +58,7 @@ Release:0 Summary:Additional Package Documentation for Python 3 License:Python-2.0 -Group: Development/Languages/Python +Group: Documentation/HTML Url:http://www.python.org/ Source0: http://www.python.org/ftp/python/%{tarversion}/%{tarname}.tar.xz BuildRequires: libqt5-qttools @@ -92,6 +92,8 @@ Patch21:0001-allow-for-reproducible-builds-of-python-packages.patch # PATCH-FEATURE-OPENSUSE order files for compilation until the underlying cause of bsc#1049186 is resolved Patch22:distutils-reproducible-compile.patch +# PATCH-FIX-UPSTREAM https://github.com/python/cpython/commit/7f6a13bd562ff6a265fc63a991327feaecb07a77 +Patch23:0001-3.6-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3093.patch ### COMMON-PATCH-END ### %description @@ -116,6 +118,7 @@ %patch20 -p1 %patch21 -p1 %patch22 -p1 +%patch23 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.ALK8jz/_old 2017-09-21 12:28:52.145719928 +0200 +++ /var/tmp/diff_new_pack.ALK8jz/_new 2017-09-21 12:28:52.149719367 +0200 @@ -129,6 +129,8 @@ Patch21:0001-allow-for-reproducible-builds-of-python-packages.patch # PATCH-FEATURE-OPENSUSE order files for compilation until the underlying cause of bsc#1049186 is resolved Patch22:distutils-reproducible-compile.patch +# PATCH-FIX-UPSTREAM https://github.com/python/cpython/commit/7f6a13bd562ff6a265fc63a991327feaecb07a77 +Patch23:0001-3.6-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3093.patch ### COMMON-PATCH-END ### %description @@ -187,6 +189,7 @@ %patch20 -p1 %patch21 -p1 %patch22 -p1 +%patch23 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ 0001-3.6-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3093.patch ++ >From 7f6a13bd562ff6a265fc63a991327feaecb07a77 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 15 Aug 2017 10:45:40 +0200 Subject: [PATCH] [3.6] bpo-30714: ALPN changes for OpenSSL 1.1.0f (#3093) 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 to not been set. See https://github.com/openssl/openssl/pull/3158 for more details Signed-off-b
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2017-09-14 21:08:56 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Thu Sep 14 21:08:56 2017 rev:75 rq:520797 version:3.6.2 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2017-08-14 11:08:51.660731796 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2017-09-14 21:09:01.670832442 +0200 @@ -1,0 +2,26 @@ +Thu Aug 31 08:39:31 UTC 2017 - sch...@suse.de + +- fix missing %{?armsuffix} + +--- +Wed Aug 30 13:41:38 UTC 2017 - jmate...@suse.com + +- distutils-reproducible-compile.patch: ensure distutils order files + before compiling, which works around bsc#1049186 + +--- +Thu Aug 17 08:59:05 CEST 2017 - ku...@suse.de + +- Add libnsl-devel build requires for glibc obsoleting libnsl + + +Thu Aug 3 16:09:26 UTC 2017 - jmate...@suse.com + +- update to 3.6.2 + * bugfix release, over a hundred bugs fixed + * see Misc/NEWS for details +- drop upstreamed test-socket-aead-kernel49.patch +- add Provides: python3-typing (fixes bsc#1050653) +- drop duplicate Provides: python3 + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2017-08-14 11:08:52.104669375 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2017-09-14 21:09:01.834809379 +0200 @@ -1,0 +2,16 @@ +Wed Aug 30 13:41:38 UTC 2017 - jmate...@suse.com + +- distutils-reproducible-compile.patch: ensure distutils order files + before compiling, which works around bsc#1049186 + +--- +Thu Aug 3 16:09:26 UTC 2017 - jmate...@suse.com + +- update to 3.6.2 + * bugfix release, over a hundred bugs fixed + * see Misc/NEWS for details +- drop upstreamed test-socket-aead-kernel49.patch +- add Provides: python3-typing (fixes bsc#1050653) +- drop duplicate Provides: python3 + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2017-08-14 11:08:52.128666001 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2017-09-14 21:09:02.830669308 +0200 @@ -1,0 +2,21 @@ +Wed Aug 30 13:41:38 UTC 2017 - jmate...@suse.com + +- distutils-reproducible-compile.patch: ensure distutils order files + before compiling, which works around bsc#1049186 + +--- +Thu Aug 17 08:59:05 CEST 2017 - ku...@suse.de + +- Add libnsl-devel build requires for glibc obsoleting libnsl + +--- +Thu Aug 3 16:09:26 UTC 2017 - jmate...@suse.com + +- update to 3.6.2 + * bugfix release, over a hundred bugs fixed + * see Misc/NEWS for details +- drop upstreamed test-socket-aead-kernel49.patch +- add Provides: python3-typing (fixes bsc#1050653) +- drop duplicate Provides: python3 + +--- Old: Python-3.6.1.tar.xz Python-3.6.1.tar.xz.asc test-socket-aead-kernel49.patch New: Python-3.6.2.tar.xz Python-3.6.2.tar.xz.asc distutils-reproducible-compile.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.90q13S/_old 2017-09-14 21:09:04.690407732 +0200 +++ /var/tmp/diff_new_pack.90q13S/_new 2017-09-14 21:09:04.698406608 +0200 @@ -68,7 +68,7 @@ %endif Name: python3-base -Version:3.6.1 +Version:3.6.2 Release:0 Summary:Python 3 Interpreter and Stdlib Core License:Python-2.0 @@ -106,10 +106,14 @@ Obsoletes: python3 < 3.2 # no Provides, because python3 is obviously provided by package python3 -# python3 3.4 provides asyncio +# python 3.4 provides asyncio Provides: python3-asyncio = %{version} Obsoletes: python3-asyncio < %{version} +# python 3.6 provides typing +Provides: python3-typing = %{version} +Obsoletes: python3-typing < %{version} + # BUILDREQUIRES # # SECTION required for basic build BuildRequires: automake @@ -127,6 +131,8 @@ BuildRequires: openssl-devel >= 1.0.2 # zlib BuildRequires: zlib-devel +# nis +BuildRequires: libnsl-devel # /SECTION # SECTION required for build and testsuite BuildRequires: fdupes @@ -158,10 +164,10 @@ Patch19:python-2.7-libffi-aarch64.patch # PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2017-08-14 11:08:45 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Mon Aug 14 11:08:45 2017 rev:74 rq:516778 version:3.6.1 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2017-08-12 19:35:05.298268489 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2017-08-14 11:08:51.660731796 +0200 @@ -2,10 +1,0 @@ -Thu Aug 3 16:09:26 UTC 2017 - jmate...@suse.com - -- update to 3.6.2 - * bugfix release, over a hundred bugs fixed - * see Misc/NEWS for details -- drop upstreamed test-socket-aead-kernel49.patch -- add Provides: python3-typing (fixes bsc#1050653) -- drop duplicate Provides: python3 - python3-doc.changes: same change python3.changes: same change Old: Python-3.6.2.tar.xz Python-3.6.2.tar.xz.asc New: Python-3.6.1.tar.xz Python-3.6.1.tar.xz.asc test-socket-aead-kernel49.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.BrgE0x/_old 2017-08-14 11:08:55.036257176 +0200 +++ /var/tmp/diff_new_pack.BrgE0x/_new 2017-08-14 11:08:55.044256051 +0200 @@ -68,7 +68,7 @@ %endif Name: python3-base -Version:3.6.2 +Version:3.6.1 Release:0 Summary:Python 3 Interpreter and Stdlib Core License:Python-2.0 @@ -106,14 +106,10 @@ Obsoletes: python3 < 3.2 # no Provides, because python3 is obviously provided by package python3 -# python 3.4 provides asyncio +# python3 3.4 provides asyncio Provides: python3-asyncio = %{version} Obsoletes: python3-asyncio < %{version} -# python 3.6 provides typing -Provides: python3-typing = %{version} -Obsoletes: python3-typing < %{version} - # BUILDREQUIRES # # SECTION required for basic build BuildRequires: automake @@ -162,8 +158,10 @@ Patch19:python-2.7-libffi-aarch64.patch # PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch20:python3-ncurses-6.0-accessors.patch +# PATCH-FIX-UPSTREAM fix Kernel Crypto test failing on kernel >= 4.9 +Patch21:test-socket-aead-kernel49.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- https://github.com/python/cpython/pull/296 -Patch21:0001-allow-for-reproducible-builds-of-python-packages.patch +Patch22:0001-allow-for-reproducible-builds-of-python-packages.patch ### COMMON-PATCH-END ### %description @@ -257,6 +255,7 @@ %patch19 -p1 %patch20 -p1 %patch21 -p1 +%patch22 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.BrgE0x/_old 2017-08-14 11:08:55.184236369 +0200 +++ /var/tmp/diff_new_pack.BrgE0x/_new 2017-08-14 11:08:55.192235244 +0200 @@ -54,7 +54,7 @@ ### COMMON-DEF-END ### # Name: python3-doc -Version:3.6.2 +Version:3.6.1 Release:0 Summary:Additional Package Documentation for Python 3 License:Python-2.0 @@ -88,8 +88,10 @@ Patch19:python-2.7-libffi-aarch64.patch # PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch20:python3-ncurses-6.0-accessors.patch +# PATCH-FIX-UPSTREAM fix Kernel Crypto test failing on kernel >= 4.9 +Patch21:test-socket-aead-kernel49.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- https://github.com/python/cpython/pull/296 -Patch21:0001-allow-for-reproducible-builds-of-python-packages.patch +Patch22:0001-allow-for-reproducible-builds-of-python-packages.patch ### COMMON-PATCH-END ### %description @@ -113,6 +115,7 @@ %patch19 -p1 %patch20 -p1 %patch21 -p1 +%patch22 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.BrgE0x/_old 2017-08-14 11:08:55.288221748 +0200 +++ /var/tmp/diff_new_pack.BrgE0x/_new 2017-08-14 11:08:55.300220061 +0200 @@ -59,7 +59,7 @@ ### COMMON-DEF-END ### # Name: python3 -Version:3.6.2 +Version:3.6.1 Release:0 Summary:Python 3 Interpreter License:Python-2.0 @@ -95,6 +95,7 @@ Recommends: python3-tk # some compatibility Provides Provides: python = %{python_version} +Provides: python3 = %{python_version} Provides: python3-xml = %{version} Obsoletes: python3-xml < %{version} # @@ -124,8 +125,10
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2017-08-12 19:35:02 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Sat Aug 12 19:35:02 2017 rev:73 rq:514565 version:3.6.2 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2017-07-30 11:19:54.088696237 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2017-08-12 19:35:05.298268489 +0200 @@ -1,0 +2,10 @@ +Thu Aug 3 16:09:26 UTC 2017 - jmate...@suse.com + +- update to 3.6.2 + * bugfix release, over a hundred bugs fixed + * see Misc/NEWS for details +- drop upstreamed test-socket-aead-kernel49.patch +- add Provides: python3-typing (fixes bsc#1050653) +- drop duplicate Provides: python3 + +--- python3-doc.changes: same change python3.changes: same change Old: Python-3.6.1.tar.xz Python-3.6.1.tar.xz.asc test-socket-aead-kernel49.patch New: Python-3.6.2.tar.xz Python-3.6.2.tar.xz.asc Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.oAnCfG/_old 2017-08-12 19:35:07.413971798 +0200 +++ /var/tmp/diff_new_pack.oAnCfG/_new 2017-08-12 19:35:07.425970115 +0200 @@ -68,7 +68,7 @@ %endif Name: python3-base -Version:3.6.1 +Version:3.6.2 Release:0 Summary:Python 3 Interpreter and Stdlib Core License:Python-2.0 @@ -106,10 +106,14 @@ Obsoletes: python3 < 3.2 # no Provides, because python3 is obviously provided by package python3 -# python3 3.4 provides asyncio +# python 3.4 provides asyncio Provides: python3-asyncio = %{version} Obsoletes: python3-asyncio < %{version} +# python 3.6 provides typing +Provides: python3-typing = %{version} +Obsoletes: python3-typing < %{version} + # BUILDREQUIRES # # SECTION required for basic build BuildRequires: automake @@ -158,10 +162,8 @@ Patch19:python-2.7-libffi-aarch64.patch # PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch20:python3-ncurses-6.0-accessors.patch -# PATCH-FIX-UPSTREAM fix Kernel Crypto test failing on kernel >= 4.9 -Patch21:test-socket-aead-kernel49.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- https://github.com/python/cpython/pull/296 -Patch22:0001-allow-for-reproducible-builds-of-python-packages.patch +Patch21:0001-allow-for-reproducible-builds-of-python-packages.patch ### COMMON-PATCH-END ### %description @@ -255,7 +257,6 @@ %patch19 -p1 %patch20 -p1 %patch21 -p1 -%patch22 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.oAnCfG/_old 2017-08-12 19:35:07.509958337 +0200 +++ /var/tmp/diff_new_pack.oAnCfG/_new 2017-08-12 19:35:07.513957776 +0200 @@ -54,7 +54,7 @@ ### COMMON-DEF-END ### # Name: python3-doc -Version:3.6.1 +Version:3.6.2 Release:0 Summary:Additional Package Documentation for Python 3 License:Python-2.0 @@ -88,10 +88,8 @@ Patch19:python-2.7-libffi-aarch64.patch # PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 Patch20:python3-ncurses-6.0-accessors.patch -# PATCH-FIX-UPSTREAM fix Kernel Crypto test failing on kernel >= 4.9 -Patch21:test-socket-aead-kernel49.patch # PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- https://github.com/python/cpython/pull/296 -Patch22:0001-allow-for-reproducible-builds-of-python-packages.patch +Patch21:0001-allow-for-reproducible-builds-of-python-packages.patch ### COMMON-PATCH-END ### %description @@ -115,7 +113,6 @@ %patch19 -p1 %patch20 -p1 %patch21 -p1 -%patch22 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.oAnCfG/_old 2017-08-12 19:35:07.629941511 +0200 +++ /var/tmp/diff_new_pack.oAnCfG/_new 2017-08-12 19:35:07.637940390 +0200 @@ -59,7 +59,7 @@ ### COMMON-DEF-END ### # Name: python3 -Version:3.6.1 +Version:3.6.2 Release:0 Summary:Python 3 Interpreter License:Python-2.0 @@ -95,7 +95,6 @@ Recommends: python3-tk # some compatibility Provides Provides: python = %{python_version} -Provides: python3 = %{python_version} Provides: python3-xml = %{version} Obsoletes: python3-xml < %{version} # @@ -125,10 +124,8
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2017-07-30 11:19:51 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Sun Jul 30 11:19:51 2017 rev:72 rq:509456 version:3.6.1 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2017-03-31 15:04:52.467514743 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2017-07-30 11:19:54.088696237 +0200 @@ -1,0 +2,5 @@ +Tue Jun 20 09:26:52 UTC 2017 - a...@cryptomilk.org + +- Add missing link to python library in config dir (bsc#1040164) + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2017-03-31 15:04:52.523506827 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2017-07-30 11:19:54.928577824 +0200 @@ -1,0 +2,5 @@ +Mon Jun 26 12:10:07 UTC 2017 - jmate...@suse.com + +- drop db-devel from requirements + +--- Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.7Apdab/_old 2017-07-30 11:19:56.264389491 +0200 +++ /var/tmp/diff_new_pack.7Apdab/_new 2017-07-30 11:19:56.264389491 +0200 @@ -386,6 +386,9 @@ # overwrite the copied binary with a link ln -sf python%{python_version} %{buildroot}%{_bindir}/python3 +# link shared library instead of static library that tools expect +ln -s ../../libpython%{python_abi}.so %{buildroot}%{_libdir}/python%{python_version}/config-%{python_abi}-%{archname}-%{_os}%{?_gnu}/libpython%{python_abi}.so + # replace duplicate .pyo/.pyc with hardlinks %fdupes %{buildroot}/%{sitedir} ++ python3.spec ++ --- /var/tmp/diff_new_pack.7Apdab/_old 2017-07-30 11:19:56.308383288 +0200 +++ /var/tmp/diff_new_pack.7Apdab/_new 2017-07-30 11:19:56.308383288 +0200 @@ -68,7 +68,6 @@ Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz Source1: http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz.asc BuildRequires: automake -BuildRequires: db-devel BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gdbm-devel
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2017-03-31 15:04:50 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Fri Mar 31 15:04:50 2017 rev:71 rq:482276 version:3.6.1 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2017-03-20 17:04:35.815940992 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2017-03-31 15:04:52.467514743 +0200 @@ -1,0 +2,11 @@ +Thu Mar 23 12:42:59 UTC 2017 - jmate...@suse.com + +- update to 3.6.1 + * bugfix release, over a hundred bugs fixed + * never add import location's parent directory to sys.path + * switch to git for version control, build changes related to that + * fix "failed to get random numbers" on old kernels (bsc#1029902) + * several crashes and memory leaks corrected + * f-string are no longer accepted as docstrings + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2017-02-19 00:45:06.130062802 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2017-03-31 15:04:52.499510220 +0200 @@ -1,0 +2,6 @@ +Thu Mar 23 13:03:52 UTC 2017 - jmate...@suse.com + +- update to 3.6.1 + * see python3-base for details + +--- python3.changes: same change Old: Python-3.6.0.tar.xz Python-3.6.0.tar.xz.asc New: Python-3.6.1.tar.xz Python-3.6.1.tar.xz.asc Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.ib4xUz/_old 2017-03-31 15:04:54.015295932 +0200 +++ /var/tmp/diff_new_pack.ib4xUz/_new 2017-03-31 15:04:54.015295932 +0200 @@ -68,7 +68,7 @@ %endif Name: python3-base -Version:3.6.0 +Version:3.6.1 Release:0 Summary:Python 3 Interpreter and Stdlib Core License:Python-2.0 @@ -320,7 +320,9 @@ make %{?_smp_mflags} $target %check -EXCLUDE="" +# exclude test_gdb -- it doesn't run in buildservice anyway, and fails on missing debuginfos +# when you install gdb into your test env +EXCLUDE="test_gdb" %ifarch %{arm} # test_multiprocessing_forkserver is racy @@ -392,7 +394,7 @@ install -d -m 755 $PDOCS install -c -m 644 %{SOURCE4} $PDOCS/ install -c -m 644 LICENSE$PDOCS/ -install -c -m 644 README $PDOCS/ +install -c -m 644 README.rst $PDOCS/ # tools for x in `find Tools/ \( -not -name Makefile \) -print | sort` ; do @@ -506,7 +508,7 @@ %config %{_sysconfdir}/profile.d/python3.* # docs %dir %{_docdir}/%{name} -%doc %{_docdir}/%{name}/README +%doc %{_docdir}/%{name}/README.rst %doc %{_docdir}/%{name}/LICENSE %doc %{_docdir}/%{name}/README.SUSE %{_mandir}/man1/python3.1* @@ -599,7 +601,6 @@ %{sitedir}/urllib %{sitedir}/venv %{sitedir}/wsgiref -%{sitedir}/site-packages/README %{sitedir}/__pycache__ # import-failed hooks %{sitedir}/_import_failed ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.ib4xUz/_old 2017-03-31 15:04:54.043291974 +0200 +++ /var/tmp/diff_new_pack.ib4xUz/_new 2017-03-31 15:04:54.047291408 +0200 @@ -54,7 +54,7 @@ ### COMMON-DEF-END ### # Name: python3-doc -Version:3.6.0 +Version:3.6.1 Release:0 Summary:Additional Package Documentation for Python 3 License:Python-2.0 python3.spec: same change ++ Python-3.6.0.tar.xz -> Python-3.6.1.tar.xz ++ /work/SRC/openSUSE:Factory/python3/Python-3.6.0.tar.xz /work/SRC/openSUSE:Factory/.python3.new/Python-3.6.1.tar.xz differ: char 26, line 1 ++ python-3.3.0b1-fix_date_time_compiler.patch ++ --- /var/tmp/diff_new_pack.ib4xUz/_old 2017-03-31 15:04:54.287257484 +0200 +++ /var/tmp/diff_new_pack.ib4xUz/_new 2017-03-31 15:04:54.287257484 +0200 @@ -1,16 +1,16 @@ -Index: Python-3.3.0b1/Makefile.pre.in +Index: Python-3.6.1/Makefile.pre.in === Python-3.3.0b1.orig/Makefile.pre.in2012-08-02 14:54:22.0 +0200 -+++ Python-3.3.0b1/Makefile.pre.in 2012-08-02 14:55:10.0 +0200 -@@ -603,11 +603,18 @@ +--- Python-3.6.1.orig/Makefile.pre.in Python-3.6.1/Makefile.pre.in +@@ -743,11 +743,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \ $(MODOBJS) \ $(srcdir)/Modules/getbuildinfo.c $(CC) -c $(PY_CORE_CFLAGS) \ +-DDATE="\"`date -u -r Makefile.pre.in +"%b %d %Y"`\"" \ +-DTIME="\"`date -u -r Makefile.pre.in +"%T"`\"" \ - -DHGVERSION="\"`LC_ALL=C $(HGVERSION)`\"" \ - -DHGTAG="\"`LC_ALL=C $(HGTAG)`\"" \ - -DHGBRANCH="\"`LC_ALL=C $(HGBRANCH)`\""
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2017-03-20 17:04:34 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Mon Mar 20 17:04:34 2017 rev:70 rq:479250 version:3.6.0 Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2017-02-19 00:45:06.082069556 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2017-03-20 17:04:35.815940992 +0100 @@ -1,0 +2,13 @@ +Mon Mar 13 14:04:22 UTC 2017 - jmate...@suse.com + +- prevent regenerating AST at build-time more robustly +- add "--without profileopt" and "--without testsuite" options to python3-base + to allow short circuiting when working on the package + +--- +Sat Feb 25 20:55:57 UTC 2017 - bwiedem...@suse.com + +- Add 0001-allow-for-reproducible-builds-of-python-packages.patch + upstream https://github.com/python/cpython/pull/296 + +--- python3.changes: same change New: 0001-allow-for-reproducible-builds-of-python-packages.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.Jmluc2/_old 2017-03-20 17:04:37.431712844 +0100 +++ /var/tmp/diff_new_pack.Jmluc2/_new 2017-03-20 17:04:37.431712844 +0100 @@ -59,6 +59,14 @@ %define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so ### COMMON-DEF-END ### +# that thing where "without" means "default=on" and vice versa +%bcond_without testsuite +%if 0%{?do_profiling} +%bcond_without profileopt +%else +%bcond_withprofileopt +%endif + Name: python3-base Version:3.6.0 Release:0 @@ -152,6 +160,8 @@ Patch20:python3-ncurses-6.0-accessors.patch # PATCH-FIX-UPSTREAM fix Kernel Crypto test failing on kernel >= 4.9 Patch21:test-socket-aead-kernel49.patch +# PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- https://github.com/python/cpython/pull/296 +Patch22:0001-allow-for-reproducible-builds-of-python-packages.patch ### COMMON-PATCH-END ### %description @@ -245,6 +255,7 @@ %patch19 -p1 %patch20 -p1 %patch21 -p1 +%patch22 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac @@ -275,10 +286,6 @@ touch -r %{SOURCE0} Makefile.pre.in autoreconf -fi -# prevent make from trying to rebuild asdl stuff, which requires existing python installation -touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h -# prevent makeopcodetargets -touch -r Python/opcode_targets.h Lib/opcode.py Python/makeopcodetargets.py %if 0%{?sles_version} sed -e 's/-fprofile-correction//' -i Makefile.pre.in @@ -295,9 +302,16 @@ --enable-lto \ --enable-loadable-sqlite-extensions +# prevent make from trying to rebuild PYTHON_FOR_GEN stuff +make -t Python/Python-ast.c \ +Include/Python-ast.h \ +Objects/typeslots.inc \ +Python/opcode_targets.h \ +Include/opcode.h + ### COMMON-CONFIG-END ### -%if 0%{?do_profiling} +%if %{with profileopt} target=profile-opt %else target=all @@ -340,9 +354,11 @@ ulimit -v 1000 || : fi +%if %{with testsuite} make -j1 test TESTOPTS="-u none -x $EXCLUDE" # use network, be verbose: #make test TESTOPTS="-l -u network -v" +%endif %install ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.Jmluc2/_old 2017-03-20 17:04:37.463708326 +0100 +++ /var/tmp/diff_new_pack.Jmluc2/_new 2017-03-20 17:04:37.463708326 +0100 @@ -90,6 +90,8 @@ Patch20:python3-ncurses-6.0-accessors.patch # PATCH-FIX-UPSTREAM fix Kernel Crypto test failing on kernel >= 4.9 Patch21:test-socket-aead-kernel49.patch +# PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- https://github.com/python/cpython/pull/296 +Patch22:0001-allow-for-reproducible-builds-of-python-packages.patch ### COMMON-PATCH-END ### %description @@ -113,6 +115,7 @@ %patch19 -p1 %patch20 -p1 %patch21 -p1 +%patch22 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.Jmluc2/_old 2017-03-20 17:04:37.499703244 +0100 +++ /var/tmp/diff_new_pack.Jmluc2/_new 2017-03-20 17:04:37.499703244 +0100 @@ -128,6 +128,8 @@ Patch20:python3-ncurses-6.0-accessors.patch # PATCH-FIX-UPSTREAM fix Kernel Crypto test failing on kernel >= 4.9 Patch21:test-socket-aead-kernel49.patch +# PATCH-FIX-UPSTREAM bmwiedem...@suse.de -- https://github.com/python/cpython/pull/296 +Patch22:0001-allow-for-reproducible-builds-of-python-packages.patch ### COMMON-PAT
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2017-02-19 00:45:04 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2016-05-02 10:43:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2017-02-19 00:45:06.082069556 +0100 @@ -1,0 +2,48 @@ +Wed Feb 8 12:30:20 UTC 2017 - jmate...@suse.com + +- reenable test_socket with AEAD patch (test-socket-aead-kernel49.patch) +- reintroduce %py3_soflags macro (and better named %cpython3_soabi equivalent) + +--- +Wed Jan 11 14:57:07 UTC 2017 - jmate...@suse.com + +- update to 3.6.0 + * PEP 498 Formated string literals + * PEP 515 Underscores in numeric literals + * PEP 526 Syntax for variable annotations + * PEP 525 Asynchronous generators + * PEP 530 Asynchronous comprehensions + * PEP 506 New "secrets" module for safe key generation + * less memory consumed by dicts + * dtrace and systemtap support + * improved asyncio module + * better defaults for ssl + * new hashing algorithms in hashlib + * bytecode format changed to allow more optimizations + * "async" and "await" are on track to be reserved words + * StopIteration from generators is deprecated + * support for openssl < 1.0.2 is deprecated + * os.urandom now blocks when getrandom() blocks + * huge number of new features, bugfixes and optimizations + * see https://docs.python.org/3.6/whatsnew/3.6.html for details +- rework multilib patch: drop Python-3.5.0-multilib.patch, implement + upstreamable python-3.6.0-multilib-new.patch +- refresh python-3.3.0b1-localpath.patch, subprocess-raise-timeout.patch +- drop upstreamed Python-3.5.1-fix_lru_cache_copying.patch +- finally drop python-2.6b1-canonicalize2.patch that was not applied in source + and only kept around in case we needed it in the future. (which we don't, as it seems) +- update import_failed map and baselibs +- build ctypes against system libffi + (buildrequire libffi-devel in python3-base) +- add new key to keyring (signed by keys already in keyring) +- introduced common configure section between python3 and python3-base +- moved pyconfig.h and Makefile to devel subpackage as distutils no longer + need it at runtime +- added python-rpm-macros dependency, regenerated macros file, drop macros.python3.py + because it is not used now +- improve summaries and descriptions (fixes bsc#917607) +- enabled Link-Time Optimization, see what happens +- including skipped_tests.py in pre_checkin.sh run +- run specs through spec-cleaner, rearrange sections + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2016-03-14 09:57:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2017-02-19 00:45:06.130062802 +0100 @@ -1,0 +2,7 @@ +Mon Jan 16 14:20:51 UTC 2017 - jmate...@suse.com + +- update to 3.6.0 + * see python3-base.changes for details +- run spec through spec-cleaner, rearrange sections + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2016-05-02 10:43:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2017-02-19 00:45:06.210051545 +0100 @@ -1,0 +2,36 @@ +Wed Jan 11 14:57:07 UTC 2017 - jmate...@suse.com + +- update to 3.6.0 + * PEP 498 Formated string literals + * PEP 515 Underscores in numeric literals + * PEP 526 Syntax for variable annotations + * PEP 525 Asynchronous generators + * PEP 530 Asynchronous comprehensions + * PEP 506 New "secrets" module for safe key generation + * less memory consumed by dicts + * dtrace and systemtap support + * improved asyncio module + * better defaults for ssl + * new hashing algorithms in hashlib + * bytecode format changed to allow more optimizations + * "async" and "await" are on track to be reserved words + * StopIteration from generators is deprecated + * support for openssl < 1.0.2 is deprecated + * os.urandom now blocks when getrandom() blocks + * huge number of new features, bugfixes and optimizations + * see https://docs.python.org/3.6/whatsnew/3.6.html for details +- rework multilib patch: drop Python-3.5.0-multilib.patch, implement + upstreamable python-3.6.0-multilib-new.patch +- refresh python-3.3.0b1-localpath.patch, subprocess-raise-timeout.patch +- drop upstreamed Python-3.5.1-fix_lru_cache_copying.patch +- finally drop python-2.6b1-canonicalize2.patch that was not applied in source + and only kept around in case we needed it in the future. (which we don't, as it seems) +- update import_f
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2016-05-02 10:43:48 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2016-03-14 09:57:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2016-05-02 10:43:49.0 +0200 @@ -1,0 +2,6 @@ +Fri Apr 22 17:20:29 UTC 2016 - jmate...@suse.com + +- move _hashlib and _ssl modules and tests to python3-base +- recommend python3 + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2016-03-29 09:54:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2016-05-02 10:43:49.0 +0200 @@ -1,0 +2,6 @@ +Fri Apr 22 17:20:29 UTC 2016 - jmate...@suse.com + +- move _hashlib and _ssl modules and tests to python3-base +- change Suggests to Recommends on supplemental modules + +--- Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.rNhdJr/_old 2016-05-02 10:43:50.0 +0200 +++ /var/tmp/diff_new_pack.rNhdJr/_new 2016-05-02 10:43:50.0 +0200 @@ -28,6 +28,7 @@ BuildRequires: fdupes BuildRequires: libbz2-devel BuildRequires: lzma-devel +BuildRequires: openssl-devel BuildRequires: pkg-config BuildRequires: timezone BuildRequires: xz @@ -49,6 +50,9 @@ Provides: python3-asyncio = %{version} Obsoletes: python3-asyncio < %{version} +Recommends: python3 = %{version} +#Recommends: python3-ensurepip + Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz Source1: http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz.asc Source2:python.keyring @@ -143,7 +147,7 @@ (HTML) or python-doc-pdf (PDF) packages. If you want to install third party modules using distutils, you need to -install python-devel package. +install python3-devel package. %package -n python3-tools @@ -316,9 +320,6 @@ # done have any such interface breaking teh uuid module. EXCLUDE="$EXCLUDE test_uuid" -# Exclude test_tools, test_venv and test_ensurepip which indirectly require ssl -EXCLUDE="$EXCLUDE test_tools test_venv test_ensurepip" - # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ulimit -v 1000 || : @@ -509,6 +510,7 @@ %{dynlib _elementtree} %{dynlib fcntl} %{dynlib grp} +%{dynlib _hashlib} %{dynlib _heapq} %{dynlib _json} %{dynlib _lsprof} @@ -527,6 +529,7 @@ %{dynlib resource} %{dynlib select} %{dynlib _socket} +%{dynlib _ssl} %{dynlib spwd} %{dynlib _struct} %{dynlib syslog} ++ python3.spec ++ --- /var/tmp/diff_new_pack.rNhdJr/_old 2016-05-02 10:43:50.0 +0200 +++ /var/tmp/diff_new_pack.rNhdJr/_new 2016-05-02 10:43:50.0 +0200 @@ -28,9 +28,9 @@ BuildRequires: libbz2-devel BuildRequires: libexpat-devel BuildRequires: libffi-devel -BuildRequires: libopenssl-devel BuildRequires: lzma-devel BuildRequires: ncurses-devel +BuildRequires: openssl-devel BuildRequires: readline-devel BuildRequires: sqlite-devel BuildRequires: tk-devel @@ -47,10 +47,10 @@ Requires: python3-base = %{version} Recommends: python3-pip -Suggests: python3-curses -Suggests: python3-dbm -Suggests: python3-idlelib -Suggests: python3-tk +Recommends: python3-curses +Recommends: python3-dbm +Recommends: python3-idle +Recommends: python3-tk Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz Source1:baselibs.conf @@ -150,7 +150,7 @@ (HTML) or python-doc-pdf (PDF) packages. If you want to install third party modules using distutils, you need to -install python-devel package. +install python3-devel package. @@ -252,17 +252,12 @@ # only test the parts skipped in python3-base TESTS="test_curses test_dbm_gnu test_dbm_ndbm test_idle \ - test_readline test_sqlite test_ssl test_tcl \ + test_readline test_sqlite test_tcl test_tix test_tk \ test_ttk_textonly" # redo tests with SSL parts %if !0%{?qemu_user_space_build} TESTS="$TESTS test_asyncio" %endif -TESTS="$TESTS test_hashlib test_urllib test_httplib \ - test_imaplib test_ftplib test_urllib2_localnet test_nntplib" - -# ensurepip-based tests -TESTS="$TESTS test_venv test_ensurepip test_tools" make test TESTOPTS="-u curses $TESTS" @@ -297,9 +292,9 @@ for library in \ array audioop binascii _bisect _bz2 cmath _codecs_* _crypt _csv \ -
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2016-03-29 09:54:03 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: python3-doc.changes: same change --- /work/SRC/openSUSE:Factory/python3/python3.changes 2016-03-14 09:57:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2016-03-29 09:54:05.0 +0200 @@ -1,0 +2,5 @@ +Tue Mar 15 15:05:23 UTC 2016 - sch...@suse.de + +- Skip test_asyncio under qemu_user_space_build + +--- Other differences: -- ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.ZiTffc/_old 2016-03-29 09:54:06.0 +0200 +++ /var/tmp/diff_new_pack.ZiTffc/_new 2016-03-29 09:54:06.0 +0200 @@ -29,8 +29,8 @@ %define tarversion %{version} %define tarnamePython-%{tarversion} Source0: http://www.python.org/ftp/python/%{tarversion}/%{tarname}.tar.xz -BuildRequires: python-Sphinx >= 1.2 BuildRequires: libqt5-qttools +BuildRequires: python-Sphinx >= 1.2 # for consistency: ### COMMON-PATCH-BEGIN ### @@ -150,7 +150,6 @@ sphinx-build -a -b qthelp . build/qthelp qhelpgenerator-qt5 build/qthelp/Python.qhp -o build/qthelp/Python.qch - %install export PDOCS=${RPM_BUILD_ROOT}%{_docdir}/python3 mkdir -p $PDOCS ++ python3.spec ++ --- /var/tmp/diff_new_pack.ZiTffc/_old 2016-03-29 09:54:06.0 +0200 +++ /var/tmp/diff_new_pack.ZiTffc/_new 2016-03-29 09:54:06.0 +0200 @@ -255,7 +255,10 @@ test_readline test_sqlite test_ssl test_tcl \ test_ttk_textonly" # redo tests with SSL parts -TESTS="$TESTS test_asyncio test_hashlib test_urllib test_httplib \ +%if !0%{?qemu_user_space_build} +TESTS="$TESTS test_asyncio" +%endif +TESTS="$TESTS test_hashlib test_urllib test_httplib \ test_imaplib test_ftplib test_urllib2_localnet test_nntplib" # ensurepip-based tests
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2016-03-14 09:56:59 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2015-09-19 06:52:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2016-03-14 09:57:02.0 +0100 @@ -1,0 +2,59 @@ +Mon Mar 7 20:38:11 UTC 2016 - toddrme2...@gmail.com + +- Add Python-3.5.1-fix_lru_cache_copying.patch + Fix copying the lru_cache() wrapper object. + Fixes deep-copying lru_cache regression, which worked on + previous versions of python but fails on python 3.5. + This fixes a bunch of packages in devel:languages:python3. + See: https://bugs.python.org/issue25447 + +--- +Wed Dec 9 07:35:20 UTC 2015 - toddrme2...@gmail.com + +- update to 3.5.1 + * bugfix-only release, dozens of bugs fixed +- Drop upstreamed Python-3.5.0-_Py_atomic_xxx-symbols.patch +- "Python3" to "Python 3" in summary + * This seems cleaner and fixes and rpmlint warning + +--- +Wed Oct 14 20:21:52 UTC 2015 - toddrme2...@gmail.com + +- Add Python-3.5.0-_Py_atomic_xxx-symbols.patch + This fixes a build error for many packages that use the Python, + C-API. + This patch is already accepted upstream and is slated to appear in + python 3.5.1. + +--- +Tue Sep 29 15:53:24 UTC 2015 - jmate...@suse.com + +- update to 3.5.0 + * coroutines with async/await syntax + * matrix multiplication operator `@` + * unpacking generalizations + * new modules `typing` and `zipapp` + * type annotations + * .pyo files replaced by custom suffixes for optimization levels in __pycache__ + * support for memory BIO in ssl module + * performance improvements in several modules + * and many more +- removals and behavior changes + * deprecated `__version__` is removed + * support for .pyo files was removed + * system calls are auto-retried on EINTR + * bare generator expressions in function calls now cause SyntaxError +(change "f(x for x in i)" to "f((x for x in i))" to fix) + * removed undocumented `format` member of private `PyMemoryViewObject` struct + * renamed `PyMemAllocator` to `PyMemAllocatorEx` +- redefine %dynlib macro to reflect that modules now have arch+os as part of name +- module `time` is now built-in +- dropped upstreamed patches: + python-3.4.1-fix-faulthandler.patch + python-3.4.3-test-conditional-ssl.patch + python-fix-short-dh.patch (also dropped dh2048.pem required for this patch) +- updated patch Python-3.3.0b2-multilib.patch to Python-3.5.0-multilib.patch +- python-ncurses-6.0-accessors.patch taken from python 2 to fix build failure + with new gcc + ncurses + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2015-07-05 17:54:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2016-03-14 09:57:02.0 +0100 @@ -1,0 +2,30 @@ +Mon Mar 7 20:38:11 UTC 2016 - toddrme2...@gmail.com + +- Add Python-3.5.1-fix_lru_cache_copying.patch + Fix copying the lru_cache() wrapper object. + Fixes deep-copying lru_cache regression, which worked on + previous versions of python but fails on python 3.5. + This fixes a bunch of packages in devel:languages:python3. + See: https://bugs.python.org/issue25447 + +--- +Sun Jan 24 00:44:08 UTC 2016 - arichardson@gmail.com + +- Build the docs in .qch format as well + +--- +Wed Dec 9 07:35:20 UTC 2015 - toddrme2...@gmail.com + +- update to 3.5.1 + * bugfix-only release, dozens of bugs fixed +- Drop upstreamed Python-3.5.0-_Py_atomic_xxx-symbols.patch +- "Python" to "Python 3" in summary +- Add python-Sphinx version requirement (1.2) + +--- +Thu Oct 1 15:50:45 UTC 2015 - jmate...@suse.com + +- update to 3.5.0 + * see python3-base.changes for details + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2015-09-19 06:52:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2016-03-14 09:57:02.0 +0100 @@ -1,0 +2,35 @@ +Mon Mar 7 20:38:11 UTC 2016 - toddrme2...@gmail.com + +- Add Python-3.5.1-fix_lru_cache_copying.patch + Fix copying the lru_cache() wrapper object. + Fixes deep-copying lru_cache regression, which worked on + previous ver
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2015-09-19 06:52:42 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2015-08-27 08:54:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2015-09-19 06:52:43.0 +0200 @@ -1,0 +2,6 @@ +Wed Sep 9 11:51:22 UTC 2015 - dims...@opensuse.org + +- Add python3-ncurses-6.0-accessors.patch: Fix build with + NCurses 6.0 and OPAQUE_WINDOW set to 1. + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2015-07-28 11:42:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2015-09-19 06:52:43.0 +0200 @@ -1,0 +2,6 @@ +Wed Sep 9 12:18:30 UTC 2015 - dims...@opensuse.org + +- Add python3-ncurses-6.0-accessors.patch: Fix build with + NCurses 6.0 and OPAQUE_WINDOW set to 1. + +--- New: python3-ncurses-6.0-accessors.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.LeyqGj/_old 2015-09-19 06:52:44.0 +0200 +++ /var/tmp/diff_new_pack.LeyqGj/_new 2015-09-19 06:52:45.0 +0200 @@ -97,6 +97,8 @@ Patch19:python-2.7-libffi-aarch64.patch # PATCH-FIX-OPENSUSE python-fix-short-dh.patch replace too short dh parameters by 2048bit one Patch20:python-fix-short-dh.patch +# PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 +Patch21:python3-ncurses-6.0-accessors.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -224,6 +226,7 @@ %patch18 -p1 %patch19 -p1 %patch20 -p1 +%patch21 -p1 cp %{SOURCE11} Lib/test/ ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.LeyqGj/_old 2015-09-19 06:52:45.0 +0200 +++ /var/tmp/diff_new_pack.LeyqGj/_new 2015-09-19 06:52:45.0 +0200 @@ -61,6 +61,8 @@ Patch19:python-2.7-libffi-aarch64.patch # PATCH-FIX-OPENSUSE python-fix-short-dh.patch replace too short dh parameters by 2048bit one Patch20:python-fix-short-dh.patch +# PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 +Patch21:python3-ncurses-6.0-accessors.patch ### COMMON-PATCH-END ### ### COMMON-DEF-BEGIN ### @@ -114,6 +116,7 @@ %patch18 -p1 %patch19 -p1 %patch20 -p1 +%patch21 -p1 cp %{SOURCE11} Lib/test/ ++ python3.spec ++ --- /var/tmp/diff_new_pack.LeyqGj/_old 2015-09-19 06:52:45.0 +0200 +++ /var/tmp/diff_new_pack.LeyqGj/_new 2015-09-19 06:52:45.0 +0200 @@ -92,6 +92,8 @@ Patch19:python-2.7-libffi-aarch64.patch # PATCH-FIX-OPENSUSE python-fix-short-dh.patch replace too short dh parameters by 2048bit one Patch20:python-fix-short-dh.patch +# PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch dims...@opensuse.org -- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1 +Patch21:python3-ncurses-6.0-accessors.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -196,6 +198,7 @@ %patch18 -p1 %patch19 -p1 %patch20 -p1 +%patch21 -p1 cp %{SOURCE11} Lib/test/ ++ python3-ncurses-6.0-accessors.patch ++ Index: Python-3.4.3/Modules/_cursesmodule.c === --- Python-3.4.3.orig/Modules/_cursesmodule.c +++ Python-3.4.3/Modules/_cursesmodule.c @@ -1133,7 +1133,7 @@ PyCursesWindow_EchoChar(PyCursesWindowOb return NULL; #ifdef WINDOW_HAS_FLAGS -if (self->win->_flags & _ISPAD) +if (is_pad(self->win)) return PyCursesCheckERR(pechochar(self->win, ch | attr), "echochar"); else @@ -1656,7 +1656,7 @@ PyCursesWindow_NoOutRefresh(PyCursesWind #ifndef WINDOW_HAS_FLAGS if (0) #else -if (self->win->_flags & _ISPAD) +if (is_pad(self->win)) #endif { switch(PyTuple_Size(args)) { @@ -1831,7 +1831,7 @@ PyCursesWindow_Refresh(PyCursesWindowObj #ifndef WINDOW_HAS_FLAGS if (0) #else -if (self->win->_flags & _ISPAD) +if (is_pad(self->win)) #endif { switch(PyTuple_Size(args)) { @@ -1898,7 +1898,7 @@ PyCursesWindow_SubWin(PyCursesWindowObje /* printf("Subwin: %i %i %i %i \n", nlines, ncols, begin_y, begin_x); */ #ifdef WINDOW_HAS_FLAGS -if (self->win->_flags & _ISPAD) +if (is_
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2015-08-27 08:54:00 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2015-07-28 11:42:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2015-08-27 08:54:01.0 +0200 @@ -1,0 +2,6 @@ +Mon Aug 24 17:02:08 UTC 2015 - jmate...@suse.com + +- improve import_failed hook to do the right thing when invoking + missing modules with "python3 -m modulename" (boo#942751) + +--- python3.changes: same change Other differences: -- python3-doc.spec: same change python3.spec: same change ++ import_failed.py ++ --- /var/tmp/diff_new_pack.lGzeUC/_old 2015-08-27 08:54:03.0 +0200 +++ /var/tmp/diff_new_pack.lGzeUC/_new 2015-08-27 08:54:03.0 +0200 @@ -3,6 +3,11 @@ failed_map_path = os.path.join(get_path('stdlib'), '_import_failed', 'import_failed.map') +if __spec__: +failed_name = __spec__.name +else: +failed_name = __name__ + for line in open(failed_map_path): words = line.strip().split() if not words or words[0][0] == '#': @@ -10,12 +15,12 @@ assert words[0][-1] == ':' package = words[0][:-1] -if __name__ in words[1:]: +if failed_name in words[1:]: raise ImportError("""Module '{}' is not installed. Use: sudo zypper install {} -to install it.""".format(__name__, package)) +to install it.""".format(failed_name, package)) raise ImportError("""Module '{}' is not installed. It is supposed to be part of python3 distribution, but missing from failed import map. -Please file a bug on the SUSE Bugzilla.""".format(__name__)) +Please file a bug on the SUSE Bugzilla.""".format(failed_name))
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2015-07-28 11:42:15 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2015-07-05 17:54:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2015-07-28 11:42:16.0 +0200 @@ -1,0 +2,6 @@ +Thu Jul 23 22:08:10 UTC 2015 - fi...@opensuse.org + +- Build with --enable-loadable-sqlite-extensions to make it works + as geospatial database. + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2015-07-05 17:54:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2015-07-28 11:42:16.0 +0200 @@ -1,0 +2,6 @@ +Thu Jul 23 22:08:10 UTC 2015 - fi...@opensuse.org + +- Build with --enable-loadable-sqlite-extensions to make it works + as geospatial database. + +--- Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.D4xzdN/_old 2015-07-28 11:42:17.0 +0200 +++ /var/tmp/diff_new_pack.D4xzdN/_new 2015-07-28 11:42:17.0 +0200 @@ -264,7 +264,8 @@ --enable-ipv6 \ --with-fpectl \ --enable-shared \ ---with-ensurepip=no +--with-ensurepip=no \ +--enable-loadable-sqlite-extensions %if 0%{?do_profiling} target=profile-opt ++ python3.spec ++ --- /var/tmp/diff_new_pack.D4xzdN/_old 2015-07-28 11:42:17.0 +0200 +++ /var/tmp/diff_new_pack.D4xzdN/_new 2015-07-28 11:42:17.0 +0200 @@ -231,7 +231,8 @@ --enable-shared \ --with-system-ffi \ --with-system-expat \ ---with-ensurepip=no +--with-ensurepip=no \ +--enable-loadable-sqlite-extensions make %{?_smp_mflags} # DESTDIR=$RPM_BUILD_ROOT
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2015-07-05 17:54:04 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2015-05-23 13:05:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2015-07-05 17:54:06.0 +0200 @@ -1,0 +2,8 @@ +Wed Jun 24 06:54:30 UTC 2015 - meiss...@suse.com + +- dh2048.pem: added generated 2048 dh parameter set to fix + ssl test (bsc#935856) +- python-fix-short-dh.patch: replace the 512 bits dh parameter set + by 2048 bits to fix build with new openssl 1.0.2c (bsc#935856) + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2015-05-16 07:13:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2015-07-05 17:54:06.0 +0200 @@ -1,0 +2,13 @@ +Wed Jul 1 07:07:26 UTC 2015 - dims...@opensuse.org + +- Fix source list for previous change (add dh2048.pem). + +--- +Wed Jun 24 06:54:30 UTC 2015 - meiss...@suse.com + +- dh2048.pem: added generated 2048 dh parameter set to fix + ssl test (bsc#935856) +- python-fix-short-dh.patch: replace the 512 bits dh parameter set + by 2048 bits to fix build with new openssl 1.0.2c (bsc#935856) + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2015-05-16 07:13:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2015-07-05 17:54:06.0 +0200 @@ -1,0 +2,8 @@ +Wed Jun 24 06:54:30 UTC 2015 - meiss...@suse.com + +- dh2048.pem: added generated 2048 dh parameter set to fix + ssl test (bsc#935856) +- python-fix-short-dh.patch: replace the 512 bits dh parameter set + by 2048 bits to fix build with new openssl 1.0.2c (bsc#935856) + +--- New: dh2048.pem python-fix-short-dh.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.yFrCaI/_old 2015-07-05 17:54:08.0 +0200 +++ /var/tmp/diff_new_pack.yFrCaI/_new 2015-07-05 17:54:08.0 +0200 @@ -60,6 +60,7 @@ Source8:macros.python3.py Source9:import_failed.py Source10: import_failed.map +Source11: dh2048.pem # The following files are not used in the build. # They are listed here to work around missing functionality in rpmbuild, @@ -94,6 +95,8 @@ Patch18:python-3.4.3-test-conditional-ssl.patch # PATCH-FIX-UPSTREAM Fix argument passing in libffi for aarch64 Patch19:python-2.7-libffi-aarch64.patch +# PATCH-FIX-OPENSUSE python-fix-short-dh.patch replace too short dh parameters by 2048bit one +Patch20:python-fix-short-dh.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -220,6 +223,9 @@ %patch17 -p1 %patch18 -p1 %patch19 -p1 +%patch20 -p1 + +cp %{SOURCE11} Lib/test/ # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.yFrCaI/_old 2015-07-05 17:54:08.0 +0200 +++ /var/tmp/diff_new_pack.yFrCaI/_new 2015-07-05 17:54:08.0 +0200 @@ -29,6 +29,7 @@ %define tarversion %{version} %define tarnamePython-%{tarversion} Source0: http://www.python.org/ftp/python/%{tarversion}/%{tarname}.tar.xz +Source11: dh2048.pem BuildRequires: python-Sphinx # for consistency: @@ -58,6 +59,8 @@ Patch18:python-3.4.3-test-conditional-ssl.patch # PATCH-FIX-UPSTREAM Fix argument passing in libffi for aarch64 Patch19:python-2.7-libffi-aarch64.patch +# PATCH-FIX-OPENSUSE python-fix-short-dh.patch replace too short dh parameters by 2048bit one +Patch20:python-fix-short-dh.patch ### COMMON-PATCH-END ### ### COMMON-DEF-BEGIN ### @@ -110,6 +113,9 @@ %patch17 -p1 %patch18 -p1 %patch19 -p1 +%patch20 -p1 + +cp %{SOURCE11} Lib/test/ # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.yFrCaI/_old 2015-07-05 17:54:08.0 +0200 +++ /var/tmp/diff_new_pack.yFrCaI/_new 2015-07-05 17:54:08.0 +0200 @@ -56,6 +56,7 @@ Source1:baselibs.conf Source2:python3-rpmlintrc #Source11: testfiles.tar.bz2 +Source11: dh2048.pem # issues with copyrighted Unicode testing files # do not add patches here, please edit python3-base.spec instead @@ -
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2015-05-23 13:05:31 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2015-05-16 07:13:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2015-05-23 13:05:32.0 +0200 @@ -1,0 +2,7 @@ +Tue May 19 14:59:30 UTC 2015 - sch...@suse.de + +- ctypes-libffi-aarch64.patch: remove upstreamed patch +- python-2.7-libffi-aarch64.patch: Fix argument passing in libffi for + aarch64 + +--- python3.changes: same change Old: ctypes-libffi-aarch64.patch New: python-2.7-libffi-aarch64.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.DkYsIa/_old 2015-05-23 13:05:33.0 +0200 +++ /var/tmp/diff_new_pack.DkYsIa/_new 2015-05-23 13:05:33.0 +0200 @@ -84,8 +84,6 @@ Patch07:python-3.3.0b1-curses-panel.patch # POSIX_FADV_WILLNEED throws EINVAL. Use a different constant in test Patch09:python-3.3.0b1-test-posix_fadvise.patch -# Add missing bits for aarch64 in libffi -Patch10:ctypes-libffi-aarch64.patch # Disable global and distutils sysconfig comparison test, we deviate from the default depending on optflags Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Raise timeout value for test_subprocess @@ -94,6 +92,8 @@ Patch17:python-3.4.1-fix-faulthandler.patch # PATCH-FIX-UPSTREAM require SSL conditionally in test_urllib Patch18:python-3.4.3-test-conditional-ssl.patch +# PATCH-FIX-UPSTREAM Fix argument passing in libffi for aarch64 +Patch19:python-2.7-libffi-aarch64.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -215,11 +215,11 @@ %patch06 -p1 %patch07 %patch09 -p1 -%patch10 -p1 %patch12 -p1 %patch15 -p1 %patch17 -p1 %patch18 -p1 +%patch19 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.DkYsIa/_old 2015-05-23 13:05:33.0 +0200 +++ /var/tmp/diff_new_pack.DkYsIa/_new 2015-05-23 13:05:33.0 +0200 @@ -48,8 +48,6 @@ Patch07:python-3.3.0b1-curses-panel.patch # POSIX_FADV_WILLNEED throws EINVAL. Use a different constant in test Patch09:python-3.3.0b1-test-posix_fadvise.patch -# Add missing bits for aarch64 in libffi -Patch10:ctypes-libffi-aarch64.patch # Disable global and distutils sysconfig comparison test, we deviate from the default depending on optflags Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Raise timeout value for test_subprocess @@ -58,6 +56,8 @@ Patch17:python-3.4.1-fix-faulthandler.patch # PATCH-FIX-UPSTREAM require SSL conditionally in test_urllib Patch18:python-3.4.3-test-conditional-ssl.patch +# PATCH-FIX-UPSTREAM Fix argument passing in libffi for aarch64 +Patch19:python-2.7-libffi-aarch64.patch ### COMMON-PATCH-END ### ### COMMON-DEF-BEGIN ### @@ -105,11 +105,11 @@ %patch06 -p1 %patch07 %patch09 -p1 -%patch10 -p1 %patch12 -p1 %patch15 -p1 %patch17 -p1 %patch18 -p1 +%patch19 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.DkYsIa/_old 2015-05-23 13:05:33.0 +0200 +++ /var/tmp/diff_new_pack.DkYsIa/_new 2015-05-23 13:05:33.0 +0200 @@ -79,8 +79,6 @@ Patch07:python-3.3.0b1-curses-panel.patch # POSIX_FADV_WILLNEED throws EINVAL. Use a different constant in test Patch09:python-3.3.0b1-test-posix_fadvise.patch -# Add missing bits for aarch64 in libffi -Patch10:ctypes-libffi-aarch64.patch # Disable global and distutils sysconfig comparison test, we deviate from the default depending on optflags Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Raise timeout value for test_subprocess @@ -89,6 +87,8 @@ Patch17:python-3.4.1-fix-faulthandler.patch # PATCH-FIX-UPSTREAM require SSL conditionally in test_urllib Patch18:python-3.4.3-test-conditional-ssl.patch +# PATCH-FIX-UPSTREAM Fix argument passing in libffi for aarch64 +Patch19:python-2.7-libffi-aarch64.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -187,11 +187,11 @@ %patch06 -p1 %patch07 %patch09 -p1 -%patch10 -p1 %patch12 -p1 %patch15 -p1 %patch17 -p1 %patch18 -p1 +%patch19 -p1 # drop Autoconf version requirement sed -
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2015-05-16 07:13:25 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2015-04-10 09:45:19.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2015-05-16 07:13:27.0 +0200 @@ -1,0 +2,17 @@ +Thu May 14 09:53:29 UTC 2015 - jmate...@suse.com + +- python-3.4.3-test-conditional-ssl.patch - restore tests failing because + test_urllib was unconditionally importing ssl (without really needing it) +- restore functionality of multilib patch +- drop libffi-ppc64le.diff because upstream completely changed everything + yet again (sorry ppc64 folks :| ) + + +--- +Fri May 1 15:11:21 UTC 2015 - mailaen...@opensuse.org + +- Update to version 3.4.3 +- Drop upstreamed CVE-2014-4650-CGIHTTPServer-traversal.patch + (bpo#21766) + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2014-10-31 12:30:46.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2015-05-16 07:13:27.0 +0200 @@ -1,0 +2,12 @@ +Thu May 14 10:58:36 UTC 2015 - jmate...@suse.com + +- drop the PDF subpackage + (removes the massive texlive dependency, and most likely nobody is + using the PDFs anyway) + +--- +Fri May 1 15:11:21 UTC 2015 - mailaen...@opensuse.org + +- Update to version 3.4.3 + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2014-10-31 12:30:46.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2015-05-16 07:13:27.0 +0200 @@ -1,0 +2,7 @@ +Fri May 1 15:11:21 UTC 2015 - mailaen...@opensuse.org + +- Update to version 3.4.3 +- Drop upstreamed CVE-2014-4650-CGIHTTPServer-traversal.patch + (bpo#21766) + +--- Old: CVE-2014-4650-CGIHTTPServer-traversal.patch Python-3.4.1.tar.xz Python-3.4.1.tar.xz.asc libffi-ppc64le.diff New: Python-3.4.3.tar.xz Python-3.4.3.tar.xz.asc python-3.4.3-test-conditional-ssl.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.1xumi3/_old 2015-05-16 07:13:28.0 +0200 +++ /var/tmp/diff_new_pack.1xumi3/_new 2015-05-16 07:13:28.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-base # -# Copyright (c) 2015 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 @@ -36,7 +36,7 @@ Summary:Python3 Interpreter License:Python-2.0 Group: Development/Languages/Python -Version:3.4.1 +Version:3.4.3 Release:0 %define tarversion %{version} %define tarnamePython-%{tarversion} @@ -88,14 +88,12 @@ Patch10:ctypes-libffi-aarch64.patch # Disable global and distutils sysconfig comparison test, we deviate from the default depending on optflags Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch -# Add support for ppc64le (ELFv2) to libffi copy for ctypes -Patch13:libffi-ppc64le.diff # Raise timeout value for test_subprocess Patch15:subprocess-raise-timeout.patch -# CVE-2014-4650 - File disclosure and directory traversal in CGIHTTPServer -Patch16:CVE-2014-4650-CGIHTTPServer-traversal.patch # Upstream patch for bogus faulthandler which fails with GCC 5 Patch17:python-3.4.1-fix-faulthandler.patch +# PATCH-FIX-UPSTREAM require SSL conditionally in test_urllib +Patch18:python-3.4.3-test-conditional-ssl.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -219,10 +217,9 @@ %patch09 -p1 %patch10 -p1 %patch12 -p1 -%patch13 -p0 %patch15 -p1 -%patch16 -p1 %patch17 -p1 +%patch18 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.1xumi3/_old 2015-05-16 07:13:28.0 +0200 +++ /var/tmp/diff_new_pack.1xumi3/_new 2015-05-16 07:13:28.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-doc # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2015-01-15 16:00:45 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2014-10-31 12:30:46.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2015-01-15 16:00:48.0 +0100 @@ -1,0 +2,8 @@ +Sun Jan 11 13:01:30 UTC 2015 - p.drou...@gmail.com + +- asyncio has been merged in python3 main package; provide and + obsolete it +- Remove obsolete AUTHORS section +- Remove redundant %clean section + +--- python3.changes: same change Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.qFJf17/_old 2015-01-15 16:00:50.0 +0100 +++ /var/tmp/diff_new_pack.qFJf17/_new 2015-01-15 16:00:50.0 +0100 @@ -45,6 +45,9 @@ # not a conflict to have python3-3.1 and python3-base > 3.1 Obsoletes: python3 < 3.2 # no Provides, because python3 is obviously provided by package python3 +# python3 3.4 provides asyncio +Provides: python3-asyncio = %{version} +Obsoletes: python3-asyncio < %{version} Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz Source1: http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz.asc @@ -129,11 +132,6 @@ install python-devel package. -Authors: - -Guido van Rossum - - %package -n python3-tools Requires: %{name} = %{version} Summary:Python Utility and Demonstration Scripts @@ -401,9 +399,6 @@ ) echo %{sitedir}/_import_failed > $RPM_BUILD_ROOT/%{sitedir}/site-packages/-import-failed-hooks.pth -%clean -rm -rf $RPM_BUILD_ROOT - %post -n libpython%{so_version} -p /sbin/ldconfig %postun -n libpython%{so_version} -p /sbin/ldconfig python3.spec: same change -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2014-10-31 09:39:18 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2014-08-14 14:57:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2014-10-31 12:30:46.0 +0100 @@ -1,0 +2,7 @@ +Mon Oct 13 13:38:20 UTC 2014 - jmate...@suse.com + +- add %python3_version rpm macro for Fedora compatibility +- add missing argument in import_failed, rename Novell Bugzilla + to SUSE Bugzilla + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2014-06-25 06:58:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2014-10-31 12:30:46.0 +0100 @@ -1,0 +2,5 @@ +Thu Oct 16 14:03:43 UTC 2014 - dims...@opensuse.org + +- Add texlive-upquote BuildRequires: dependency to render the docs. + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2014-08-14 14:57:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2014-10-31 12:30:46.0 +0100 @@ -1,0 +2,6 @@ +Sat Oct 18 20:14:54 UTC 2014 - crrodrig...@opensuse.org + +- Only pkgconfig(x11) is required for build, not the whole + set of packages provided by xorg-x11-devel metapackage. + +--- Other differences: -- ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.ut2Stj/_old 2014-10-31 12:30:47.0 +0100 +++ /var/tmp/diff_new_pack.ut2Stj/_new 2014-10-31 12:30:47.0 +0100 @@ -42,6 +42,7 @@ BuildRequires: texlive-threeparttable BuildRequires: texlive-titlesec BuildRequires: texlive-ucs +BuildRequires: texlive-upquote BuildRequires: texlive-wrapfig # for consistency: ++ python3.spec ++ --- /var/tmp/diff_new_pack.ut2Stj/_old 2014-10-31 12:30:48.0 +0100 +++ /var/tmp/diff_new_pack.ut2Stj/_new 2014-10-31 12:30:48.0 +0100 @@ -34,8 +34,8 @@ BuildRequires: readline-devel BuildRequires: sqlite-devel BuildRequires: tk-devel -BuildRequires: xorg-x11-devel BuildRequires: xz +BuildRequires: pkgconfig(x11) Url:http://www.python.org/ Summary:Python3 Interpreter License:Python-2.0 ++ import_failed.py ++ --- /var/tmp/diff_new_pack.ut2Stj/_old 2014-10-31 12:30:48.0 +0100 +++ /var/tmp/diff_new_pack.ut2Stj/_new 2014-10-31 12:30:48.0 +0100 @@ -18,4 +18,4 @@ raise ImportError("""Module '{}' is not installed. It is supposed to be part of python3 distribution, but missing from failed import map. -Please file a bug on the Novell Bugzilla.""") +Please file a bug on the SUSE Bugzilla.""".format(__name__)) ++ macros.python3.py ++ --- /var/tmp/diff_new_pack.ut2Stj/_old 2014-10-31 12:30:48.0 +0100 +++ /var/tmp/diff_new_pack.ut2Stj/_new 2014-10-31 12:30:48.0 +0100 @@ -10,6 +10,7 @@ macros = { "py3_ver": version, +"python3_version": version, "py3_prefix": sys.prefix, # hack-fix for bnc#787526 - get_path can't be used this way in python build dir #"py3_incdir": get_path("include"), -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2014-08-14 14:57:36 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2014-07-26 09:41:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2014-08-14 14:57:39.0 +0200 @@ -1,0 +2,6 @@ +Thu Jul 31 17:24:59 UTC 2014 - dims...@opensuse.org + +- Rename rpmlintrc to %{name}-rpmlintrc. + Follow the packaging guidelines. + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2014-06-25 06:58:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2014-08-14 14:57:39.0 +0200 @@ -1,0 +2,6 @@ +Thu Jul 31 12:45:47 UTC 2014 - dims...@opensuse.org + +- Rename rpmlintrc to %{name}-rpmlintrc. + Follow the packaging guidelines. + +--- Old: rpmlintrc New: python3-rpmlintrc Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.atowkl/_old 2014-08-14 14:57:41.0 +0200 +++ /var/tmp/diff_new_pack.atowkl/_new 2014-08-14 14:57:41.0 +0200 @@ -62,7 +62,7 @@ # They are listed here to work around missing functionality in rpmbuild, # which would otherwise exclude them from distributed src.rpm files. Source100: PACKAGING-NOTES -Source101: rpmlintrc +Source101: python3-rpmlintrc Source102: pre_checkin.sh ### COMMON-PATCH-BEGIN ### ++ python3.spec ++ --- /var/tmp/diff_new_pack.atowkl/_old 2014-08-14 14:57:41.0 +0200 +++ /var/tmp/diff_new_pack.atowkl/_new 2014-08-14 14:57:41.0 +0200 @@ -54,6 +54,7 @@ Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz Source1:baselibs.conf +Source2:python3-rpmlintrc #Source11: testfiles.tar.bz2 # issues with copyrighted Unicode testing files ++ python3-rpmlintrc ++ # RPM macros are not configuration: addFilter("non-conffile-in-etc /etc/rpm/macros.python3") # Obviously, these files are meant to be empty: addFilter("zero-length /usr/lib64/python3.3/test/nullcert.pem") addFilter("zero-length /usr/lib64/python3.3/test/namespace_pkgs/module_and_namespace_package/a_test/empty") -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2014-07-26 09:41:48 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2014-06-25 06:58:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2014-07-26 09:41:54.0 +0200 @@ -1,0 +2,15 @@ +Wed Jul 23 16:31:02 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) + +--- +Tue Jul 22 13:55:57 UTC 2014 - jmate...@suse.com + +- drop python-3.4.1-SUSE-ensurepip.patch for compatibility reasons, + reinstate bundled copies of pip and setuptools + (fixes bnc#885662) +- add more files as sources to silence the validator + +--- python3.changes: same change Old: python-3.4.1-SUSE-ensurepip.patch New: CVE-2014-4650-CGIHTTPServer-traversal.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.gl2y3F/_old 2014-07-26 09:41:56.0 +0200 +++ /var/tmp/diff_new_pack.gl2y3F/_new 2014-07-26 09:41:56.0 +0200 @@ -58,8 +58,12 @@ Source9:import_failed.py Source10: import_failed.map -Source99: PACKAGING-NOTES -# this is documentation for packagers, put here to silence Factory source_validator +# The following files are not used in the build. +# They are listed here to work around missing functionality in rpmbuild, +# which would otherwise exclude them from distributed src.rpm files. +Source100: PACKAGING-NOTES +Source101: rpmlintrc +Source102: pre_checkin.sh ### COMMON-PATCH-BEGIN ### @@ -85,8 +89,8 @@ Patch13:libffi-ppc64le.diff # Raise timeout value for test_subprocess Patch15:subprocess-raise-timeout.patch -# Modify ensurepip module to rely on python3-pip instead of bundled copy -Patch16:python-3.4.1-SUSE-ensurepip.patch +# CVE-2014-4650 - File disclosure and directory traversal in CGIHTTPServer +Patch16:CVE-2014-4650-CGIHTTPServer-traversal.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.gl2y3F/_old 2014-07-26 09:41:56.0 +0200 +++ /var/tmp/diff_new_pack.gl2y3F/_new 2014-07-26 09:41:56.0 +0200 @@ -69,8 +69,8 @@ Patch13:libffi-ppc64le.diff # Raise timeout value for test_subprocess Patch15:subprocess-raise-timeout.patch -# Modify ensurepip module to rely on python3-pip instead of bundled copy -Patch16:python-3.4.1-SUSE-ensurepip.patch +# CVE-2014-4650 - File disclosure and directory traversal in CGIHTTPServer +Patch16:CVE-2014-4650-CGIHTTPServer-traversal.patch ### COMMON-PATCH-END ### ### COMMON-DEF-BEGIN ### ++ python3.spec ++ --- /var/tmp/diff_new_pack.gl2y3F/_old 2014-07-26 09:41:56.0 +0200 +++ /var/tmp/diff_new_pack.gl2y3F/_new 2014-07-26 09:41:56.0 +0200 @@ -34,7 +34,6 @@ BuildRequires: readline-devel BuildRequires: sqlite-devel BuildRequires: tk-devel -BuildRequires: unzip BuildRequires: xorg-x11-devel BuildRequires: xz Url:http://www.python.org/ @@ -87,8 +86,8 @@ Patch13:libffi-ppc64le.diff # Raise timeout value for test_subprocess Patch15:subprocess-raise-timeout.patch -# Modify ensurepip module to rely on python3-pip instead of bundled copy -Patch16:python-3.4.1-SUSE-ensurepip.patch +# CVE-2014-4650 - File disclosure and directory traversal in CGIHTTPServer +Patch16:CVE-2014-4650-CGIHTTPServer-traversal.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -238,13 +237,8 @@ # only test the parts skipped in python3-base TESTS="test_dbm_gnu test_dbm_ndbm test_readline test_ssl test_tcl test_tk test_ttk_guionly test_ttk_textonly test_curses test_socketserver test_sqlite test_hashlib test_smtpnet" -# prepare ensurepip-based tests -pushd Lib -for whl in ../Lib/ensurepip/_bundled/*.whl; do -unzip $whl -done -popd -TESTS="$TESTS test_venv test_tools test_ensurepip" +# ensurepip-based tests +TESTS="$TESTS test_venv test_ensurepip test_tools" make test TESTOPTS="-u none $TESTS" ++ CVE-2014-4650-CGIHTTPServer-traversal.patch ++ # HG changeset patch # User Benjamin Peterson # Date 1402796473 25200 # Node ID 847e288d6e93dba049c280f40979e16a1378d0f6 # Parent 6f1f387759913d91cb307d2783b3
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2014-06-25 06:58:09 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2014-04-09 13:01:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2014-06-25 06:58:16.0 +0200 @@ -1,0 +2,12 @@ +Wed May 21 11:01:56 UTC 2014 - jmate...@suse.com + +- update to 3.4.1 +* bugfix-only release, over 300 bugs fixed +- drop upstreamed python-3.4.0rc2-sqlite-3.8.4-tests.patch +- drop upstreamed CVE-2014-2667-mkdir.patch +- include Python release manager keyring and signature file + for the source archive (thus renumbering of source files) + (see https://www.python.org/download/#openpgp-public-keys ) +- move ensurepip to python3, because it transitively requires ssl + +--- @@ -6 +18 @@ - (CVE-2014-2667, bnc#869222) + (CVE-2014-2667, bnc#871152) --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2014-03-21 15:47:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2014-06-25 06:58:16.0 +0200 @@ -1,0 +2,10 @@ +Fri May 23 17:38:42 UTC 2014 - jmate...@suse.com + +- update to 3.4.1 +- drop upstream compiled sources +- build documentation from source tarball + * this brings build-time dependency on Sphinx and LaTeX +- drop useless README.AIX and duplicate ACKS file +- drop wrong Obsoletes/Provides pairs + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2014-03-21 15:47:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2014-06-25 06:58:16.0 +0200 @@ -1,0 +2,11 @@ +Fri May 23 17:38:20 UTC 2014 - jmate...@suse.com + +- update to 3.4.1 + * * bugfix-only release, over 300 bugs fixed +- upgrade pip to Recommends (it seems to be a stronger hint) +- move ensurepip here, because it requires ssl through pip +- python-3.4.1-SUSE-ensurepip.patch: make ensurepip require + python3-pip from separate package +- Suggests every subpackage that is part of stdlib + +--- Old: CVE-2014-2667-mkdir.patch Python-3.4.0.tar.xz python-3.4.0-docs-html.tar.bz2 python-3.4.0-docs-pdf-a4.tar.bz2 python-3.4.0-docs-pdf-letter.tar.bz2 python-3.4.0rc2-sqlite-3.8.4-tests.patch New: Python-3.4.1.tar.xz Python-3.4.1.tar.xz.asc python-3.4.1-SUSE-ensurepip.patch python.keyring Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.JbEeiZ/_old 2014-06-25 06:58:18.0 +0200 +++ /var/tmp/diff_new_pack.JbEeiZ/_new 2014-06-25 06:58:18.0 +0200 @@ -36,7 +36,7 @@ Summary:Python3 Interpreter License:Python-2.0 Group: Development/Languages/Python -Version:3.4.0 +Version:3.4.1 Release:0 %define tarversion %{version} %define tarnamePython-%{tarversion} @@ -46,15 +46,17 @@ Obsoletes: python3 < 3.2 # no Provides, because python3 is obviously provided by package python3 -Source0:http://www.python.org/ftp/python/3.4.0/%{tarname}.tar.xz -Source1:baselibs.conf -Source2:README.SUSE -Source3:python3start -Source4:python3.sh -Source5:python3.csh -Source7:macros.python3.py -Source8:import_failed.py -Source9:import_failed.map +Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz +Source1: http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz.asc +Source2:python.keyring +Source3:baselibs.conf +Source4:README.SUSE +Source5:python3start +Source6:python3.sh +Source7:python3.csh +Source8:macros.python3.py +Source9:import_failed.py +Source10: import_failed.map Source99: PACKAGING-NOTES # this is documentation for packagers, put here to silence Factory source_validator @@ -81,12 +83,10 @@ Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Add support for ppc64le (ELFv2) to libffi copy for ctypes Patch13:libffi-ppc64le.diff -# Fix tests for sqlite 3.8.4 -Patch14:python-3.4.0rc2-sqlite-3.8.4-tests.patch # Raise timeout value for test_subprocess Patch15:subprocess-raise-timeout.patch -# CVE-2014-2667 - race condition with umask in os.makedirs -Patch16:CVE-2014-2667-mkdir.patch +# Modify ensurepip module to rely on python3-pip instead of bundled copy +Pa
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2014-04-09 13:01:07 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2014-03-31 20:42:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2014-04-09 13:01:10.0 +0200 @@ -1,0 +2,8 @@ +Fri Apr 4 16:21:40 UTC 2014 - jmate...@suse.com + +- CVE-2014-2667-mkdir.patch: race condition with reseting umask + in os.makedirs + (CVE-2014-2667, bnc#869222) +- updated multilib patch to include ~/.local/lib64 (bnc#637176) + +--- python3.changes: same change New: CVE-2014-2667-mkdir.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.A5ClVq/_old 2014-04-09 13:01:12.0 +0200 +++ /var/tmp/diff_new_pack.A5ClVq/_new 2014-04-09 13:01:12.0 +0200 @@ -85,6 +85,8 @@ Patch14:python-3.4.0rc2-sqlite-3.8.4-tests.patch # Raise timeout value for test_subprocess Patch15:subprocess-raise-timeout.patch +# CVE-2014-2667 - race condition with umask in os.makedirs +Patch16:CVE-2014-2667-mkdir.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -216,6 +218,7 @@ %patch13 -p0 %patch14 -p1 %patch15 -p1 +%patch16 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.A5ClVq/_old 2014-04-09 13:01:12.0 +0200 +++ /var/tmp/diff_new_pack.A5ClVq/_new 2014-04-09 13:01:12.0 +0200 @@ -70,6 +70,10 @@ Patch13:libffi-ppc64le.diff # Fix tests for sqlite 3.8.4 Patch14:python-3.4.0rc2-sqlite-3.8.4-tests.patch +# Raise timeout value for test_subprocess +Patch15:subprocess-raise-timeout.patch +# CVE-2014-2667 - race condition with umask in os.makedirs +Patch16:CVE-2014-2667-mkdir.patch ### COMMON-PATCH-END ### ### COMMON-DEF-BEGIN ### @@ -139,6 +143,8 @@ %patch12 -p1 %patch13 -p0 %patch14 -p1 +%patch15 -p1 +%patch16 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.A5ClVq/_old 2014-04-09 13:01:12.0 +0200 +++ /var/tmp/diff_new_pack.A5ClVq/_new 2014-04-09 13:01:12.0 +0200 @@ -82,6 +82,10 @@ Patch13:libffi-ppc64le.diff # Fix tests for sqlite 3.8.4 Patch14:python-3.4.0rc2-sqlite-3.8.4-tests.patch +# Raise timeout value for test_subprocess +Patch15:subprocess-raise-timeout.patch +# CVE-2014-2667 - race condition with umask in os.makedirs +Patch16:CVE-2014-2667-mkdir.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -184,6 +188,8 @@ %patch12 -p1 %patch13 -p0 %patch14 -p1 +%patch15 -p1 +%patch16 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ CVE-2014-2667-mkdir.patch ++ # HG changeset patch # User Benjamin Peterson # Date 1396394328 14400 # Node ID c24dd53ab4b9ebc13671051d524e25305266994f # Parent 1039d4ebc4bb8655060cf016f5681867d07b7e44# Parent 6370d44013f7e7e0892dd7f78b91d3a929e2d343 merge 3.3 (#21082) Index: Python-3.4.0/Doc/library/os.rst === --- Python-3.4.0.orig/Doc/library/os.rst2014-04-04 18:06:50.821300387 +0200 +++ Python-3.4.0/Doc/library/os.rst 2014-04-04 18:06:59.558350425 +0200 @@ -1619,11 +1619,8 @@ The default *mode* is ``0o777`` (octal). On some systems, *mode* is ignored. Where it is used, the current umask value is first masked out. - If *exist_ok* is ``False`` (the default), an :exc:`OSError` is raised if - the target directory already exists. If *exist_ok* is ``True`` an - :exc:`OSError` is still raised if the umask-masked *mode* is different from - the existing mode, on systems where the mode is used. :exc:`OSError` will - also be raised if the directory creation fails. + If *exist_ok* is ``False`` (the default), an :exc:`OSError` is raised if the + target directory already exists. .. note:: @@ -1635,6 +1632,13 @@ .. versionadded:: 3.2 The *exist_ok* parameter. + .. versionchanged:: 3.3.6 + + Before Python 3.3.6, if *exist_ok* was ``True`` and the directory existed, + :func:`makedirs` would still raise an error if *mode* did not match the + mode of the existing directory. Since this behavior was impossible to + implement safely, it was removed in Python 3.3.
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2014-03-31 20:42:57 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2014-03-21 15:47:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2014-03-31 20:42:59.0 +0200 @@ -1,0 +2,11 @@ +Wed Mar 26 15:24:46 UTC 2014 - jmate...@suse.com + +- raise timeout value for test_subprocess to 10s (might fix + intermittent build failures in OBS) + +--- +Mon Mar 24 17:29:31 UTC 2014 - dmuel...@suse.com + +- remove blacklisting of test_posix on aarch64: qemu bug is fixed + +--- python3.changes: same change New: subprocess-raise-timeout.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.WhQMK6/_old 2014-03-31 20:43:00.0 +0200 +++ /var/tmp/diff_new_pack.WhQMK6/_new 2014-03-31 20:43:00.0 +0200 @@ -83,6 +83,8 @@ Patch13:libffi-ppc64le.diff # Fix tests for sqlite 3.8.4 Patch14:python-3.4.0rc2-sqlite-3.8.4-tests.patch +# Raise timeout value for test_subprocess +Patch15:subprocess-raise-timeout.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -213,6 +215,7 @@ %patch12 -p1 %patch13 -p0 %patch14 -p1 +%patch15 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac @@ -279,10 +282,6 @@ # qemu bug (siginterrupt handling) EXCLUDE="$EXCLUDE test_signal" %endif -%ifarch aarch64 -# qemu bug (wrong USE_UID16) -EXCLUDE="$EXCLUDE test_posix" -%endif # on x86_64, SLE_11_SP2 only, extreme gamma function values (close to negative # integers) fail. Is probably a bug/imperfection in -lm python3.spec: same change ++ subprocess-raise-timeout.patch ++ Index: Python-3.4.0/Lib/test/test_subprocess.py === --- Python-3.4.0.orig/Lib/test/test_subprocess.py 2014-03-17 03:31:30.0 +0100 +++ Python-3.4.0/Lib/test/test_subprocess.py2014-03-26 16:23:08.489610918 +0100 @@ -991,7 +991,8 @@ self.assertIn("0.0001", str(c.exception)) # For coverage of __str__. # Some heavily loaded buildbots (sparc Debian 3.x) require this much # time to start. -self.assertEqual(p.wait(timeout=3), 0) +# OBS might require even more +self.assertEqual(p.wait(timeout=10), 0) def test_invalid_bufsize(self): # an invalid type of the bufsize argument should raise -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2014-03-21 15:47:37 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2014-03-06 19:18:13.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2014-03-21 15:47:41.0 +0100 @@ -1,0 +2,22 @@ +Mon Mar 17 18:26:58 UTC 2014 - jmate...@suse.com + +- update to 3.4.0 final +- drop upstreamed python-3.4rc2-importlib.patch + +--- +Sun Mar 16 16:33:25 UTC 2014 - sch...@suse.de + +- Only build with profile-opt if profiling is enabled +- Update test exclusion lists: + * test_ctypes no longer fails on arm + * test_io no longer fails on ppc* + * test_multiprocessing has been split in multiple tests + * test_posix and test_signal 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/python3/python3-doc.changes 2014-02-26 06:55:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2014-03-21 15:47:41.0 +0100 @@ -1,0 +2,11 @@ +Mon Mar 17 19:30:22 UTC 2014 - jmate...@suse.com + +- update to 3.4.0 final + +--- +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/python3/python3.changes 2014-03-06 19:18:13.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2014-03-21 15:47:41.0 +0100 @@ -1,0 +2,12 @@ +Mon Mar 17 19:29:49 UTC 2014 - jmate...@suse.com + +- update to 3.4.0 final +- lower pip requirement to Suggests, to prevent build cycles + +--- +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 + +--- Old: Python-3.4.0rc2.tar.xz python-3.4.0b2-docs-html.tar.bz2 python-3.4.0b2-docs-pdf-a4.tar.bz2 python-3.4.0b2-docs-pdf-letter.tar.bz2 python-3.4rc2-importlib.patch New: Python-3.4.0.tar.xz python-3.4.0-docs-html.tar.bz2 python-3.4.0-docs-pdf-a4.tar.bz2 python-3.4.0-docs-pdf-letter.tar.bz2 python-3.4.0rc2-sqlite-3.8.4-tests.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.PBm8li/_old 2014-03-21 15:47:43.0 +0100 +++ /var/tmp/diff_new_pack.PBm8li/_new 2014-03-21 15:47:43.0 +0100 @@ -36,9 +36,9 @@ Summary:Python3 Interpreter License:Python-2.0 Group: Development/Languages/Python -Version:3.4.0~rc2 +Version:3.4.0 Release:0 -%define tarversion 3.4.0rc2 +%define tarversion %{version} %define tarnamePython-%{tarversion} # python 3.1 didn't have a separate python-base, so it is wrongly @@ -81,8 +81,8 @@ Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Add support for ppc64le (ELFv2) to libffi copy for ctypes Patch13:libffi-ppc64le.diff -# fix backwards compatibility in importlib -Patch14:python-3.4rc2-importlib.patch +# Fix tests for sqlite 3.8.4 +Patch14:python-3.4.0rc2-sqlite-3.8.4-tests.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -253,24 +253,35 @@ --enable-shared \ --with-ensurepip=no +%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 # SUSE's gdb breaks test_gdb by producing spurious output (zypper suggestions) # test_socket fails because of name resolution failure, that is expected -EXCLUDE="-x test_gdb -x test_socket" -# test_ctypes breaks on ARM - even on real machines +EXCLUDE="test_gdb test_socket" %ifarch %arm -EXCLUDE="$EXCLUDE -x test_ctypes" +# test_multiprocessing_forkserver is racy +EXCLUDE="$EXCLUDE test_multiprocessing_forkserver" %endif %ifarch ppc ppc64 ppc64le # exclue test_faulthand
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2014-03-06 19:18:10 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2014-02-26 06:55:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2014-03-06 19:18:13.0 +0100 @@ -1,0 +2,10 @@ +Thu Feb 27 14:08:40 UTC 2014 - jmate...@suse.com + +- update to 3.4.0 rc2 + * pre-release bugfixes + * improvements to asyncio library +- drop upstreamed tracemalloc_gcov.patch +- python-3.4rc2-importlib.patch fixes backwards-incompatibility + in the reworked importlib module that blocks build of vim + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2014-02-26 06:55:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2014-03-06 19:18:13.0 +0100 @@ -1,0 +2,7 @@ +Thu Feb 27 14:07:55 UTC 2014 - jmate...@suse.com + +- update to 3.4.0 rc2 + * for full changelog, see python3-base +- hard Require for python3-pip, see what happens + +--- Old: Python-3.4.0b3.tar.xz tracemalloc_gcov.patch New: Python-3.4.0rc2.tar.xz python-3.4rc2-importlib.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.7hMKO4/_old 2014-03-06 19:18:15.0 +0100 +++ /var/tmp/diff_new_pack.7hMKO4/_new 2014-03-06 19:18:15.0 +0100 @@ -36,9 +36,9 @@ Summary:Python3 Interpreter License:Python-2.0 Group: Development/Languages/Python -Version:3.4.0~b3 +Version:3.4.0~rc2 Release:0 -%define tarversion 3.4.0b3 +%define tarversion 3.4.0rc2 %define tarnamePython-%{tarversion} # python 3.1 didn't have a separate python-base, so it is wrongly @@ -81,8 +81,8 @@ Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Add support for ppc64le (ELFv2) to libffi copy for ctypes Patch13:libffi-ppc64le.diff -# disable #pragma in tracemalloc that causes profile-opt to fail -Patch14:tracemalloc_gcov.patch +# fix backwards compatibility in importlib +Patch14:python-3.4rc2-importlib.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.7hMKO4/_old 2014-03-06 19:18:15.0 +0100 +++ /var/tmp/diff_new_pack.7hMKO4/_new 2014-03-06 19:18:15.0 +0100 @@ -27,7 +27,7 @@ Release:0 BuildArch: noarch # we use "tarversion" for Python tarball, to be in sync with other specs... -%define tarversion 3.4.0b3 +%define tarversion 3.4.0rc2 %define tarnamePython-%{tarversion} # ...and "docversion" for version of doc tarballs, which can be lower %define docversion 3.4.0b2 @@ -68,8 +68,8 @@ Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Add support for ppc64le (ELFv2) to libffi copy for ctypes Patch13:libffi-ppc64le.diff -# disable #pragma in tracemalloc that causes profile-opt to fail -Patch14:tracemalloc_gcov.patch +# fix backwards compatibility in importlib +Patch14:python-3.4rc2-importlib.patch ### COMMON-PATCH-END ### ### COMMON-DEF-BEGIN ### ++ python3.spec ++ --- /var/tmp/diff_new_pack.7hMKO4/_old 2014-03-06 19:18:15.0 +0100 +++ /var/tmp/diff_new_pack.7hMKO4/_new 2014-03-06 19:18:15.0 +0100 @@ -40,12 +40,13 @@ Summary:Python3 Interpreter License:Python-2.0 Group: Development/Languages/Python -Version:3.4.0~b3 +Version:3.4.0~rc2 Release:0 -%define tarversion 3.4.0b3 +%define tarversion 3.4.0rc2 %define tarnamePython-%{tarversion} Requires: python3-base = %{version} +Requires: python3-pip Source0:http://www.python.org/ftp/python/3.4.0/%{tarname}.tar.xz Source1:baselibs.conf @@ -79,8 +80,8 @@ Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # Add support for ppc64le (ELFv2) to libffi copy for ctypes Patch13:libffi-ppc64le.diff -# disable #pragma in tracemalloc that causes profile-opt to fail -Patch14:tracemalloc_gcov.patch +# fix backwards compatibility in importlib +Patch14:python-3.4rc2-importlib.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ python-3.4rc2-importlib.patch ++ # HG changeset patch # User Br
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2014-02-26 06:55:21 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2013-12-10 09:08:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2014-02-26 06:55:28.0 +0100 @@ -1,0 +2,29 @@ +Fri Jan 17 18:45:27 UTC 2014 - jmate...@suse.com + +- initial commit of 3.4.0 beta 3 +* new stdlib modules: pathlib, enum, statistics, tracemalloc +* asynchronous IO with new asyncio module +* introspection data for builtins +* subprocesses no longer inherit open file descriptors +* standardized metadata for packages +* internal hashing changed to SipHash +* new pickle protocol +* improved handling of codecs +* TLS 1.2 support +* major speed improvements for internal unicode handling +* many bugfixes and optimizations +- see porting guide at: + http://docs.python.org/3.4/whatsnew/3.4.html#porting-to-python-3-4 +- moved several modules to -testsuite subpackage +- updated list of binary extensions, refreshed patches +- tracemalloc_gcov.patch fixes profile-based optimization build +- updated packages and pre_checkin.sh to use ~-version notation + for prereleases +- fix-shebangs part of build process moved to common %prep +- drop python-3.3.2-no-REUSEPORT.patch (upstreamed) +- update baselibs for new soname + +- TODOs: +* require python-pip, make ensurepip work with zypper + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2013-11-22 19:01:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2014-02-26 06:55:28.0 +0100 @@ -1,0 +2,6 @@ +Tue Jan 21 18:09:54 UTC 2014 - jmate...@suse.com + +- initial commit of 3.4.0 beta2 + * for full changelog, see python3-base + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2013-11-22 19:01:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2014-02-26 06:55:28.0 +0100 @@ -1,0 +2,7 @@ +Tue Jan 21 18:08:54 UTC 2014 - jmate...@suse.com + +- initial commit of 3.4.0 beta 3 + * for full changelog, see python3-base +- modify script shebangs in common %prep + +--- Old: Python-3.3.3.tar.xz python-3.2b2-buildtime-generate.patch python-3.3.2-no-REUSEPORT.patch python-3.3.3-docs-html.tar.bz2 python-3.3.3-docs-pdf-a4.tar.bz2 python-3.3.3-docs-pdf-letter.tar.bz2 New: Python-3.4.0b3.tar.xz python-3.4.0b2-docs-html.tar.bz2 python-3.4.0b2-docs-pdf-a4.tar.bz2 python-3.4.0b2-docs-pdf-letter.tar.bz2 tracemalloc_gcov.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.rPphxy/_old 2014-02-26 06:55:30.0 +0100 +++ /var/tmp/diff_new_pack.rPphxy/_new 2014-02-26 06:55:30.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-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 @@ -36,9 +36,9 @@ Summary:Python3 Interpreter License:Python-2.0 Group: Development/Languages/Python -Version:3.3.3 +Version:3.4.0~b3 Release:0 -%define tarversion %{version} +%define tarversion 3.4.0b3 %define tarnamePython-%{tarversion} # python 3.1 didn't have a separate python-base, so it is wrongly @@ -46,7 +46,7 @@ Obsoletes: python3 < 3.2 # no Provides, because python3 is obviously provided by package python3 -Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz +Source0:http://www.python.org/ftp/python/3.4.0/%{tarname}.tar.xz Source1:baselibs.conf Source2:README.SUSE Source3:python3start @@ -77,12 +77,12 @@ Patch09:python-3.3.0b1-test-posix_fadvise.patch # Add missing bits for aarch64 in libffi Patch10:ctypes-libffi-aarch64.patch -# Disable SO_REUSEPORT constant in tests, because it's not supported on older kernels -Patch11:python-3.3.2-no-REUSEPORT.patch # Disable global and distutils sysconfig comparison test, we deviate from the default depending on optflags Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch # A
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-12-10 09:08:01 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2013-11-22 19:01:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2013-12-10 09:08:02.0 +0100 @@ -1,0 +2,13 @@ +Wed Dec 4 13:21:26 UTC 2013 - m...@suse.de + +- add ppc64le (ELFv2) support for libffi copy for ctypes module +- Adjust Python-3.3.0b2-multilib.patch for ppc64le (make sys.lib be + "lib64"). +- added patches: + * libffi-ppc64le.diff +--- +Tue Dec 3 09:51:43 UTC 2013 - adr...@suse.de + +- add ppc64le rules + +--- python3.changes: same change New: libffi-ppc64le.diff Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.ZACRBx/_old 2013-12-10 09:08:03.0 +0100 +++ /var/tmp/diff_new_pack.ZACRBx/_new 2013-12-10 09:08:03.0 +0100 @@ -81,6 +81,8 @@ Patch11:python-3.3.2-no-REUSEPORT.patch # Disable global and distutils sysconfig comparison test, we deviate from the default depending on optflags Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch +# Add support for ppc64le (ELFv2) to libffi copy for ctypes +Patch13:libffi-ppc64le.diff ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -210,6 +212,7 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p0 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac @@ -250,7 +253,7 @@ %ifarch %arm EXCLUDE="$EXCLUDE -x test_ctypes" %endif -%ifarch ppc ppc64 +%ifarch ppc ppc64 ppc64le # exclue test_faulthandler due to bnc#831629 EXCLUDE="$EXCLUDE -x test_io -x test_faulthandler" %endif @@ -268,6 +271,11 @@ %endif %endif +# This test (part of test_uuid) requires real network interfaces +# so that ifconfig output has "HWaddr ". Some kvm instances +# done have any such interface breaking teh uuid module. +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 || : ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.ZACRBx/_old 2013-12-10 09:08:03.0 +0100 +++ /var/tmp/diff_new_pack.ZACRBx/_new 2013-12-10 09:08:03.0 +0100 @@ -66,6 +66,10 @@ Patch10:ctypes-libffi-aarch64.patch # Disable SO_REUSEPORT constant in tests, because it's not supported on older kernels Patch11:python-3.3.2-no-REUSEPORT.patch +# Disable global and distutils sysconfig comparison test, we deviate from the default depending on optflags +Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch +# Add support for ppc64le (ELFv2) to libffi copy for ctypes +Patch13:libffi-ppc64le.diff ### COMMON-PATCH-END ### ### COMMON-DEF-BEGIN ### @@ -131,6 +135,8 @@ %patch09 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 +%patch13 -p0 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.ZACRBx/_old 2013-12-10 09:08:03.0 +0100 +++ /var/tmp/diff_new_pack.ZACRBx/_new 2013-12-10 09:08:03.0 +0100 @@ -77,6 +77,10 @@ Patch10:ctypes-libffi-aarch64.patch # Disable SO_REUSEPORT constant in tests, because it's not supported on older kernels Patch11:python-3.3.2-no-REUSEPORT.patch +# Disable global and distutils sysconfig comparison test, we deviate from the default depending on optflags +Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch +# Add support for ppc64le (ELFv2) to libffi copy for ctypes +Patch13:libffi-ppc64le.diff ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -177,6 +181,8 @@ %patch09 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 +%patch13 -p0 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ Python-3.3.0b2-multilib.patch ++ --- /var/tmp/diff_new_pack.ZACRBx/_old 2013-12-10 09:08:03.0 +0100 +++ /var/tmp/diff_new_pack.ZACRBx/_new 2013-12-10 09:08:03.0 +0100 @@ -358,7 +358,7 @@ +esac + +case $ARCH:$python_cv_cc_64bit_output in -+aarch64:yes | ppc64:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) ++aarch64:yes | ppc64:yes | ppc64le:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) + LIB="lib64" + ;; +*:*) +
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-11-22 19:01:35 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2013-08-13 13:08:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2013-11-22 19:01:36.0 +0100 @@ -1,0 +2,23 @@ +Fri Nov 22 13:17:23 UTC 2013 - speili...@suse.com + +- Add python-3.3.3-skip-distutils-test_sysconfig_module.patch: + + Disable global and distutils sysconfig comparison test, we deviate +from the default depending on optflags + +--- +Tue Nov 19 14:28:41 UTC 2013 - jmate...@suse.com + +- update to 3.3.3 + * bugfix-only release + * many SSL-related fixes + * upstream fix for CVE-2013-4238 + * upstream fixes for CVE-2013-1752 +- move example module xxlimited to python3-testsuite +- remove --with-wide-unicode config option, it is now the default + (and only) choice +- don't touch anything between make and makeinstall +- drop python-3.2b2-buildtime-generate.patch - the issue was caused + by touching things between make and makeinstall +- link pycache entries for import_failed hooks properly + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2013-06-15 10:50:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2013-11-22 19:01:36.0 +0100 @@ -1,0 +2,5 @@ +Tue Nov 19 16:13:18 UTC 2013 - jmate...@suse.com + +- update to 3.3.3 + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2013-10-17 17:46:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2013-11-22 19:01:36.0 +0100 @@ -1,0 +2,7 @@ +Tue Nov 19 14:36:18 UTC 2013 - jmate...@suse.com + +- update to 3.3.3 +- move example module xxlimited to python3-testsuite +- drop CVE-2013-4238_py33.patch - it is upstreamed + +--- Old: CVE-2013-4238_py33.patch Python-3.3.2.tar.xz python-3.3.2-docs-html.tar.bz2 python-3.3.2-docs-pdf-a4.tar.bz2 python-3.3.2-docs-pdf-letter.tar.bz2 New: Python-3.3.3.tar.xz python-3.3.3-docs-html.tar.bz2 python-3.3.3-docs-pdf-a4.tar.bz2 python-3.3.3-docs-pdf-letter.tar.bz2 python-3.3.3-skip-distutils-test_sysconfig_module.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.Zx4InB/_old 2013-11-22 19:01:39.0 +0100 +++ /var/tmp/diff_new_pack.Zx4InB/_new 2013-11-22 19:01:39.0 +0100 @@ -36,7 +36,7 @@ Summary:Python3 Interpreter License:Python-2.0 Group: Development/Languages/Python -Version:3.3.2 +Version:3.3.3 Release:0 %define tarversion %{version} %define tarnamePython-%{tarversion} @@ -69,8 +69,6 @@ Patch03:python-2.6b1-canonicalize2.patch # support finding packages in /usr/local, install to /usr/local by default Patch04:python-3.3.0b1-localpath.patch -# fix usage of "python" executable in "make install" -Patch05:python-3.2b2-buildtime-generate.patch # replace DATE, TIME and COMPILER by fixed definitions to aid reproducible builds Patch06:python-3.3.0b1-fix_date_time_compiler.patch # fix wrong include path in curses-panel module @@ -81,8 +79,8 @@ Patch10:ctypes-libffi-aarch64.patch # Disable SO_REUSEPORT constant in tests, because it's not supported on older kernels Patch11:python-3.3.2-no-REUSEPORT.patch -# CVE-2013-4073 - incorrect handling of NULL bytes in SSL certificate fields -Patch12:CVE-2013-4238_py33.patch +# Disable global and distutils sysconfig comparison test, we deviate from the default depending on optflags +Patch12:python-3.3.3-skip-distutils-test_sysconfig_module.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -130,7 +128,7 @@ Requires: %{name} = %{version} Summary:Python Utility and Demonstration Scripts Group: Development/Languages/Python -Obsoletes: python3-demo <= %{version} +Obsoletes: python3-demo < %{version} Provides: python3-demo = %{version} %description -n python3-tools @@ -154,7 +152,7 @@ %package -n python3-devel Requires: %{name} = %{version} Provides: python3-2to3 = %{version} -Obsoletes: python3-2to3 <= %{version} +Obsoletes: python3-2to3 < %{version} Summary:Include F
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-10-17 14:26:10 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: python3-doc.changes: same change --- /work/SRC/openSUSE:Factory/python3/python3.changes 2013-08-30 11:48:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2013-10-17 17:46:37.0 +0200 @@ -1,0 +2,6 @@ +Tue Oct 15 17:44:08 UTC 2013 - crrodrig...@opensuse.org + +- build with -DOPENSSL_LOAD_CONF for the same reasons + described in the python2 package. + +--- Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.DZfrh9/_old 2013-10-17 17:46:39.0 +0200 +++ /var/tmp/diff_new_pack.DZfrh9/_new 2013-10-17 17:46:39.0 +0200 @@ -221,7 +221,7 @@ %build # use rpm_opt_flags -export OPT="%{optflags}" +export OPT="%{optflags} -DOPENSSL_LOAD_CONF" touch -r %{S:0} Makefile.pre.in ++ python3.spec ++ --- /var/tmp/diff_new_pack.DZfrh9/_old 2013-10-17 17:46:39.0 +0200 +++ /var/tmp/diff_new_pack.DZfrh9/_new 2013-10-17 17:46:39.0 +0200 @@ -191,7 +191,7 @@ %build export SUSE_ASNEEDED=0 -export OPT="%{optflags}" +export OPT="%{optflags} -DOPENSSL_LOAD_CONF" autoreconf -f -i . # 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 python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-08-30 11:48:01 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: python3-doc.changes: same change --- /work/SRC/openSUSE:Factory/python3/python3.changes 2013-08-21 13:46:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2013-08-30 11:48:02.0 +0200 @@ -5 +5 @@ - (CVE-2013-4073, bnc#834601) + (CVE-2013-4238, bnc#834601) Old: CVE-2013-4073_py33.patch New: CVE-2013-4238_py33.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.enVuEw/_old 2013-08-30 11:48:04.0 +0200 +++ /var/tmp/diff_new_pack.enVuEw/_new 2013-08-30 11:48:04.0 +0200 @@ -82,7 +82,7 @@ # Disable SO_REUSEPORT constant in tests, because it's not supported on older kernels Patch11:python-3.3.2-no-REUSEPORT.patch # CVE-2013-4073 - incorrect handling of NULL bytes in SSL certificate fields -Patch12:CVE-2013-4073_py33.patch +Patch12:CVE-2013-4238_py33.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.enVuEw/_old 2013-08-30 11:48:04.0 +0200 +++ /var/tmp/diff_new_pack.enVuEw/_new 2013-08-30 11:48:04.0 +0200 @@ -69,7 +69,7 @@ # Disable SO_REUSEPORT constant in tests, because it's not supported on older kernels Patch11:python-3.3.2-no-REUSEPORT.patch # CVE-2013-4073 - incorrect handling of NULL bytes in SSL certificate fields -Patch12:CVE-2013-4073_py33.patch +Patch12:CVE-2013-4238_py33.patch ### COMMON-PATCH-END ### ### COMMON-DEF-BEGIN ### ++ python3.spec ++ --- /var/tmp/diff_new_pack.enVuEw/_old 2013-08-30 11:48:04.0 +0200 +++ /var/tmp/diff_new_pack.enVuEw/_new 2013-08-30 11:48:04.0 +0200 @@ -80,7 +80,7 @@ # Disable SO_REUSEPORT constant in tests, because it's not supported on older kernels Patch11:python-3.3.2-no-REUSEPORT.patch # CVE-2013-4073 - incorrect handling of NULL bytes in SSL certificate fields -Patch12:CVE-2013-4073_py33.patch +Patch12:CVE-2013-4238_py33.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ CVE-2013-4073_py33.patch -> CVE-2013-4238_py33.patch ++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-08-21 13:46:11 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: python3-doc.changes: same change --- /work/SRC/openSUSE:Factory/python3/python3.changes 2013-06-15 10:50:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2013-08-21 13:46:12.0 +0200 @@ -1,0 +2,6 @@ +Fri Aug 16 11:35:15 UTC 2013 - jmate...@suse.com + +- handle NULL bytes in certain fields of SSL certificates + (CVE-2013-4073, bnc#834601) + +--- New: CVE-2013-4073_py33.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.Dc6l2v/_old 2013-08-21 13:46:18.0 +0200 +++ /var/tmp/diff_new_pack.Dc6l2v/_new 2013-08-21 13:46:18.0 +0200 @@ -81,6 +81,8 @@ Patch10:ctypes-libffi-aarch64.patch # Disable SO_REUSEPORT constant in tests, because it's not supported on older kernels Patch11:python-3.3.2-no-REUSEPORT.patch +# CVE-2013-4073 - incorrect handling of NULL bytes in SSL certificate fields +Patch12:CVE-2013-4073_py33.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -210,6 +212,7 @@ %patch09 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.Dc6l2v/_old 2013-08-21 13:46:18.0 +0200 +++ /var/tmp/diff_new_pack.Dc6l2v/_new 2013-08-21 13:46:18.0 +0200 @@ -68,6 +68,8 @@ Patch10:ctypes-libffi-aarch64.patch # Disable SO_REUSEPORT constant in tests, because it's not supported on older kernels Patch11:python-3.3.2-no-REUSEPORT.patch +# CVE-2013-4073 - incorrect handling of NULL bytes in SSL certificate fields +Patch12:CVE-2013-4073_py33.patch ### COMMON-PATCH-END ### ### COMMON-DEF-BEGIN ### @@ -134,6 +136,7 @@ %patch09 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.Dc6l2v/_old 2013-08-21 13:46:18.0 +0200 +++ /var/tmp/diff_new_pack.Dc6l2v/_new 2013-08-21 13:46:18.0 +0200 @@ -79,6 +79,8 @@ Patch10:ctypes-libffi-aarch64.patch # Disable SO_REUSEPORT constant in tests, because it's not supported on older kernels Patch11:python-3.3.2-no-REUSEPORT.patch +# CVE-2013-4073 - incorrect handling of NULL bytes in SSL certificate fields +Patch12:CVE-2013-4073_py33.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -117,7 +119,7 @@ Provides: python3 = %{python_version} Provides: python3-xml = %{version} -Obsoletes: python3-xml <= %{version} +Obsoletes: python3-xml < %{version} %description Python 3 is modern interpreted, object-oriented programming language, @@ -180,6 +182,7 @@ %patch09 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ CVE-2013-4073_py33.patch ++ diff -r e0f86c3b3685 Lib/test/nullbytecert.pem --- /dev/null Thu Jan 01 00:00:00 1970 + +++ b/Lib/test/nullbytecert.pem Sun Aug 11 18:17:23 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:0
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-08-13 13:08:44 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2013-06-15 10:50:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2013-08-13 13:08:45.0 +0200 @@ -1,0 +2,5 @@ +Thu Aug 8 14:54:49 UTC 2013 - dval...@suse.com + +- Exclue test_faulthandler from tests on powerpc due to bnc#831629 + +--- python3.changes: same change Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.3Mo6yQ/_old 2013-08-13 13:08:46.0 +0200 +++ /var/tmp/diff_new_pack.3Mo6yQ/_new 2013-08-13 13:08:46.0 +0200 @@ -252,7 +252,8 @@ EXCLUDE="$EXCLUDE -x test_ctypes" %endif %ifarch ppc ppc64 -EXCLUDE="$EXCLUDE -x test_io" +# exclue test_faulthandler due to bnc#831629 +EXCLUDE="$EXCLUDE -x test_io -x test_faulthandler" %endif # some tests break in QEMU %if 0%{?qemu_user_space_build} > 0 python3.spec: same change -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-06-15 10:50:20 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2013-05-02 15:30:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2013-06-15 10:50:28.0 +0200 @@ -1,0 +2,10 @@ +Thu Jun 13 15:05:34 UTC 2013 - jmate...@suse.com + +- update to 3.3.2 + * bugfix-only release + * fixes several regressions introduced in 3.3.1 +- switch to xz compression +- move _lzma module to python3-base +- python-3.3.2-no-REUSEPORT.patch to fix build on kernels without SO_REUSEPORT + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2013-04-17 23:16:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2013-06-15 10:50:28.0 +0200 @@ -1,0 +2,10 @@ +Thu Jun 13 15:06:22 UTC 2013 - jmate...@suse.com + +- update to version 3.3.2 +- switch to xz compression of main Python archive +- remove README.txt (bnc#709442) +- disable Source URLs for docs (the doc archives are regenerated + every day and autobuild detects this as "upstream file is different" + error) + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2013-05-02 15:30:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2013-06-15 10:50:28.0 +0200 @@ -1,0 +2,7 @@ +Thu Jun 13 15:06:07 UTC 2013 - jmate...@suse.com + +- update to 3.3.2 +- switch to xz compression +- move _lzma module to python3-base + +--- Old: Python-3.3.1.tar.bz2 python-3.3.1-docs-html.tar.bz2 python-3.3.1-docs-pdf-a4.tar.bz2 python-3.3.1-docs-pdf-letter.tar.bz2 New: Python-3.3.2.tar.xz python-3.3.2-docs-html.tar.bz2 python-3.3.2-docs-pdf-a4.tar.bz2 python-3.3.2-docs-pdf-letter.tar.bz2 python-3.3.2-no-REUSEPORT.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.mgoHna/_old 2013-06-15 10:50:31.0 +0200 +++ /var/tmp/diff_new_pack.mgoHna/_new 2013-06-15 10:50:31.0 +0200 @@ -27,14 +27,16 @@ BuildRequires: automake BuildRequires: fdupes BuildRequires: libbz2-devel +BuildRequires: lzma-devel BuildRequires: pkg-config BuildRequires: timezone +BuildRequires: xz BuildRequires: zlib-devel Url:http://www.python.org/ Summary:Python3 Interpreter License:Python-2.0 Group: Development/Languages/Python -Version:3.3.1 +Version:3.3.2 Release:0 %define tarversion %{version} %define tarnamePython-%{tarversion} @@ -44,7 +46,7 @@ Obsoletes: python3 < 3.2 # no Provides, because python3 is obviously provided by package python3 -Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.bz2 +Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.xz Source1:baselibs.conf Source2:README.SUSE Source3:python3start @@ -77,6 +79,8 @@ Patch09:python-3.3.0b1-test-posix_fadvise.patch # Add missing bits for aarch64 in libffi Patch10:ctypes-libffi-aarch64.patch +# Disable SO_REUSEPORT constant in tests, because it's not supported on older kernels +Patch11:python-3.3.2-no-REUSEPORT.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -205,6 +209,7 @@ %patch07 %patch09 -p1 %patch10 -p1 +%patch11 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac @@ -461,6 +466,7 @@ %{dynlib _heapq} %{dynlib _json} %{dynlib _lsprof} +%{dynlib _lzma} %{dynlib math} %{dynlib mmap} %{dynlib _multibytecodec} ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.mgoHna/_old 2013-06-15 10:50:31.0 +0200 +++ /var/tmp/diff_new_pack.mgoHna/_new 2013-06-15 10:50:31.0 +0200 @@ -19,21 +19,27 @@ Name: python3-doc Url:http://www.python.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: xz Summary:Additional Package Documentation for Python. License:Python-2.0 Group: Development/Languages/Python -Version:3.3.1 +Version:3.3.2 Release:0 BuildArch: noarch %define tarversion %{version} %define tarnamePython-%{tarversion} %define pyname python3 -%define pyver 3.3.1 +%define pyver 3.3.2 Enha
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-05-02 15:30:33 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2013-04-17 23:16:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2013-05-02 15:30:36.0 +0200 @@ -1,0 +2,5 @@ +Mon Apr 29 22:32:43 UTC 2013 - sch...@suse.de + +- Readd missing bits from ctypes-libffi-aarch64.patch + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2013-04-17 23:16:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2013-05-02 15:30:36.0 +0200 @@ -1,0 +2,5 @@ +Mon Apr 29 22:32:43 UTC 2013 - sch...@suse.de + +- Readd missing bits from ctypes-libffi-aarch64.patch + +--- New: ctypes-libffi-aarch64.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.5zwtJb/_old 2013-05-02 15:30:42.0 +0200 +++ /var/tmp/diff_new_pack.5zwtJb/_new 2013-05-02 15:30:42.0 +0200 @@ -75,6 +75,8 @@ Patch07:python-3.3.0b1-curses-panel.patch # POSIX_FADV_WILLNEED throws EINVAL. Use a different constant in test Patch09:python-3.3.0b1-test-posix_fadvise.patch +# Add missing bits for aarch64 in libffi +Patch10:ctypes-libffi-aarch64.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -202,6 +204,7 @@ %patch06 -p1 %patch07 %patch09 -p1 +%patch10 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.5zwtJb/_old 2013-05-02 15:30:42.0 +0200 +++ /var/tmp/diff_new_pack.5zwtJb/_new 2013-05-02 15:30:42.0 +0200 @@ -58,6 +58,8 @@ Patch07:python-3.3.0b1-curses-panel.patch # POSIX_FADV_WILLNEED throws EINVAL. Use a different constant in test Patch09:python-3.3.0b1-test-posix_fadvise.patch +# Add missing bits for aarch64 in libffi +Patch10:ctypes-libffi-aarch64.patch ### COMMON-PATCH-END ### ### COMMON-DEF-BEGIN ### @@ -122,6 +124,7 @@ %patch06 -p1 %patch07 %patch09 -p1 +%patch10 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.5zwtJb/_old 2013-05-02 15:30:42.0 +0200 +++ /var/tmp/diff_new_pack.5zwtJb/_new 2013-05-02 15:30:42.0 +0200 @@ -74,6 +74,8 @@ Patch07:python-3.3.0b1-curses-panel.patch # POSIX_FADV_WILLNEED throws EINVAL. Use a different constant in test Patch09:python-3.3.0b1-test-posix_fadvise.patch +# Add missing bits for aarch64 in libffi +Patch10:ctypes-libffi-aarch64.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -173,6 +175,7 @@ %patch06 -p1 %patch07 %patch09 -p1 +%patch10 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ ctypes-libffi-aarch64.patch ++ Index: Python-3.3.1/Modules/_ctypes/libffi/fficonfig.py.in === --- Python-3.3.1.orig/Modules/_ctypes/libffi/fficonfig.py.in +++ Python-3.3.1/Modules/_ctypes/libffi/fficonfig.py.in @@ -28,6 +28,7 @@ ffi_platforms = { 'PA': ['src/pa/linux.S', 'src/pa/ffi.c'], 'PA_LINUX': ['src/pa/linux.S', 'src/pa/ffi.c'], 'PA_HPUX': ['src/pa/hpux32.S', 'src/pa/ffi.c'], +'AARCH64' : ['src/aarch64/ffi.c', 'src/aarch64/sysv.S'], } ffi_sources += ffi_platforms['@TARGET@'] -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-04-17 23:16:31 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2013-03-30 14:59:33.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2013-04-17 23:16:36.0 +0200 @@ -1,0 +2,25 @@ +Sat Apr 13 07:56:51 UTC 2013 - idon...@suse.com + +- Update to version 3.3.1 + * Fix the –enable-profiling configure switch. + * In IDLE, close the replace dialog after it is used. +- Too many bugfixes to list here, + see See http://hg.python.org/cpython/file/v3.3.0/Misc/NEWS +- Refresh Python-3.3.0b2-multilib.patch +- Refresh python-3.2b2-buildtime-generate.patch +- Drop upstream patches: ctypes-libffi-aarch64.patch, + python-3.2.3rc2-pypirc-secure.patch, python-3.3.0-getdents64.patch + +--- +Fri Apr 5 12:59:20 UTC 2013 - idon...@suse.com + +- Add Source URL, see https://en.opensuse.org/title=SourceUrls + +--- +Wed Apr 3 15:36:04 UTC 2013 - jmate...@suse.com + +- remove spurious modification of python-3.3.0b1-localpath.patch + that would force installation into /usr/local. + this fixes bnc#809831 + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2012-10-06 18:42:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2013-04-17 23:16:36.0 +0200 @@ -1,0 +2,10 @@ +Sat Apr 13 07:57:45 UTC 2013 - idon...@suse.com + +- Update to version 3.3.1 + +--- +Fri Apr 5 13:01:00 UTC 2013 - idon...@suse.com + +- Add Source URL, see https://en.opensuse.org/SourceUrls + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2012-11-06 16:20:14.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2013-04-17 23:16:36.0 +0200 @@ -1,0 +2,24 @@ +Sat Apr 13 07:51:28 UTC 2013 - idon...@suse.com + +- Update to version 3.3.1 + * Fix the –enable-profiling configure switch. + * In IDLE, close the replace dialog after it is used. +- Too many bugfixes to list here, + see See http://hg.python.org/cpython/file/v3.3.0/Misc/NEWS +- Refresh Python-3.3.0b2-multilib.patch +- Refresh python-3.2b2-buildtime-generate.patch +- Drop upstream patches: ctypes-libffi-aarch64.patch, + python-3.2.3rc2-pypirc-secure.patch, python-3.3.0-getdents64.patch + +--- +Mon Apr 8 11:25:30 UTC 2013 - speili...@suse.com + +- Exclude sqlite/test and tk/test directories from the respective + sub-packages. These are owned by the testsuite sub-package already + +--- +Fri Apr 5 12:58:38 UTC 2013 - idon...@suse.com + +- Add Source URL, see https://en.opensuse.org/SourceUrls + +--- Old: Python-3.3.0.tar.bz2 ctypes-libffi-aarch64.patch python-3.2.3rc2-pypirc-secure.patch python-3.3.0-docs-html.tar.bz2 python-3.3.0-docs-pdf-a4.tar.bz2 python-3.3.0-docs-pdf-letter.tar.bz2 python-3.3.0-getdents64.patch New: Python-3.3.1.tar.bz2 python-3.3.1-docs-html.tar.bz2 python-3.3.1-docs-pdf-a4.tar.bz2 python-3.3.1-docs-pdf-letter.tar.bz2 Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.sqVKI3/_old 2013-04-17 23:16:41.0 +0200 +++ /var/tmp/diff_new_pack.sqVKI3/_new 2013-04-17 23:16:41.0 +0200 @@ -34,7 +34,7 @@ Summary:Python3 Interpreter License:Python-2.0 Group: Development/Languages/Python -Version:3.3.0 +Version:3.3.1 Release:0 %define tarversion %{version} %define tarnamePython-%{tarversion} @@ -44,7 +44,7 @@ Obsoletes: python3 < 3.2 # no Provides, because python3 is obviously provided by package python3 -Source0:%{tarname}.tar.bz2 +Source0:http://www.python.org/ftp/python/%{version}/%{tarname}.tar.bz2 Source1:baselibs.conf Source2:README.SUSE Source3:python3start @@ -73,13 +73,8 @@ Patch06:python-3.3.0b1-fix_date_time_compiler.patch # fix wrong include path in curses-panel module Patch07:python-3.3.0b1-curses-panel.patch -# fix .pypirc creation vulnerability -Patch08:python-
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-03-30 14:59:32 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2013-03-07 07:33:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2013-03-30 14:59:33.0 +0100 @@ -1,0 +2,6 @@ +Thu Mar 28 18:38:51 UTC 2013 - jmate...@suse.com + +- replace broken movetogetdents64.diff patch with a correct one + from upstream repo (python-3.3.0-getdents64.patch) + +--- python3.changes: same change Old: movetogetdents64.diff New: python-3.3.0-getdents64.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.8pT2Pj/_old 2013-03-30 14:59:36.0 +0100 +++ /var/tmp/diff_new_pack.8pT2Pj/_new 2013-03-30 14:59:36.0 +0100 @@ -79,7 +79,7 @@ Patch09:python-3.3.0b1-test-posix_fadvise.patch # PATCH-FIX-OPENSUSE Import aarch64 support for libffi in _ctypes module Patch10:ctypes-libffi-aarch64.patch -Patch11:movetogetdents64.diff +Patch11:python-3.3.0-getdents64.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.8pT2Pj/_old 2013-03-30 14:59:36.0 +0100 +++ /var/tmp/diff_new_pack.8pT2Pj/_new 2013-03-30 14:59:36.0 +0100 @@ -62,7 +62,7 @@ Patch09:python-3.3.0b1-test-posix_fadvise.patch # PATCH-FIX-OPENSUSE Import aarch64 support for libffi in _ctypes module Patch10:ctypes-libffi-aarch64.patch -Patch11:movetogetdents64.diff +Patch11:python-3.3.0-getdents64.patch ### COMMON-PATCH-END ### ### COMMON-DEF-BEGIN ### ++ python3.spec ++ --- /var/tmp/diff_new_pack.8pT2Pj/_old 2013-03-30 14:59:36.0 +0100 +++ /var/tmp/diff_new_pack.8pT2Pj/_new 2013-03-30 14:59:36.0 +0100 @@ -78,7 +78,7 @@ Patch09:python-3.3.0b1-test-posix_fadvise.patch # PATCH-FIX-OPENSUSE Import aarch64 support for libffi in _ctypes module Patch10:ctypes-libffi-aarch64.patch -Patch11:movetogetdents64.diff +Patch11:python-3.3.0-getdents64.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ python-3.3.0-getdents64.patch ++ # HG changeset patch # User Gregory P. Smith # Date 1362336807 28800 # Node ID 7ab1c55fcf827af229b031f908837146630b2fc9 # Parent f1d3fbcd837d385cf265b0c27f08f811bb67bf1a# Parent 30e643e36bae6fbf8ede27168f30d509ee2d469a Fixes Issue #16962: Use getdents64 instead of the obsolete getdents syscall in the subprocess module on Linux. diff --git a/Modules/_posixsubprocess.c b/Modules/_posixsubprocess.c --- a/Modules/_posixsubprocess.c +++ b/Modules/_posixsubprocess.c @@ -176,17 +176,11 @@ static void * This structure is very old and stable: It will not change unless the kernel * chooses to break compatibility with all existing binaries. Highly Unlikely. */ -struct linux_dirent { -#if defined(__x86_64__) && defined(__ILP32__) - /* Support the wacky x32 ABI (fake 32-bit userspace speaking to x86_64 -* kernel interfaces) - https://sites.google.com/site/x32abi/ */ +struct linux_dirent64 { unsigned long long d_ino; - unsigned long long d_off; -#else - unsigned long d_ino;/* Inode number */ - unsigned long d_off;/* Offset to next linux_dirent */ -#endif + long long d_off; unsigned short d_reclen; /* Length of this linux_dirent */ + unsigned char d_type; char d_name[256]; /* Filename (null-terminated) */ }; @@ -228,16 +222,16 @@ static void _close_fds_by_brute_force(start_fd, end_fd, py_fds_to_keep); return; } else { -char buffer[sizeof(struct linux_dirent)]; +char buffer[sizeof(struct linux_dirent64)]; int bytes; -while ((bytes = syscall(SYS_getdents, fd_dir_fd, -(struct linux_dirent *)buffer, +while ((bytes = syscall(SYS_getdents64, fd_dir_fd, +(struct linux_dirent64 *)buffer, sizeof(buffer))) > 0) { -struct linux_dirent *entry; +struct linux_dirent64 *entry; int offset; for (offset = 0; offset < bytes; offset += entry->d_reclen) { int fd; -entry = (struct linux_dirent *)(buffer + offset); +entry = (struct linux_dirent64 *)(buffer + offset);
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-03-07 07:33:54 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2013-03-01 08:03:57.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2013-03-07 07:33:56.0 +0100 @@ -1,0 +2,9 @@ +Fri Mar 1 07:42:21 UTC 2013 - dmuel...@suse.com + +- add ctypes-libffi-aarch64.patch: + * import aarch64 support for libffi in _ctypes module +- add aarch64 to the list of lib64 based archs +- add movetogetdents64.diff: + * port to getdents64, as SYS_getdents is not implemented everywhere + +--- python3.changes: same change New: ctypes-libffi-aarch64.patch movetogetdents64.diff Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.2KFFqA/_old 2013-03-07 07:34:00.0 +0100 +++ /var/tmp/diff_new_pack.2KFFqA/_new 2013-03-07 07:34:00.0 +0100 @@ -77,6 +77,9 @@ Patch08:python-3.2.3rc2-pypirc-secure.patch # POSIX_FADV_WILLNEED throws EINVAL. Use a different constant in test Patch09:python-3.3.0b1-test-posix_fadvise.patch +# PATCH-FIX-OPENSUSE Import aarch64 support for libffi in _ctypes module +Patch10:ctypes-libffi-aarch64.patch +Patch11:movetogetdents64.diff ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -205,6 +208,8 @@ %patch07 %patch08 -p1 %patch09 -p1 +%patch10 -p1 +%patch11 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.2KFFqA/_old 2013-03-07 07:34:00.0 +0100 +++ /var/tmp/diff_new_pack.2KFFqA/_new 2013-03-07 07:34:00.0 +0100 @@ -60,6 +60,9 @@ Patch08:python-3.2.3rc2-pypirc-secure.patch # POSIX_FADV_WILLNEED throws EINVAL. Use a different constant in test Patch09:python-3.3.0b1-test-posix_fadvise.patch +# PATCH-FIX-OPENSUSE Import aarch64 support for libffi in _ctypes module +Patch10:ctypes-libffi-aarch64.patch +Patch11:movetogetdents64.diff ### COMMON-PATCH-END ### ### COMMON-DEF-BEGIN ### @@ -125,6 +128,8 @@ %patch07 %patch08 -p1 %patch09 -p1 +%patch10 -p1 +%patch11 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ python3.spec ++ --- /var/tmp/diff_new_pack.2KFFqA/_old 2013-03-07 07:34:00.0 +0100 +++ /var/tmp/diff_new_pack.2KFFqA/_new 2013-03-07 07:34:00.0 +0100 @@ -76,6 +76,9 @@ Patch08:python-3.2.3rc2-pypirc-secure.patch # POSIX_FADV_WILLNEED throws EINVAL. Use a different constant in test Patch09:python-3.3.0b1-test-posix_fadvise.patch +# PATCH-FIX-OPENSUSE Import aarch64 support for libffi in _ctypes module +Patch10:ctypes-libffi-aarch64.patch +Patch11:movetogetdents64.diff ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -176,6 +179,8 @@ %patch07 %patch08 -p1 %patch09 -p1 +%patch10 -p1 +%patch11 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac ++ Python-3.3.0b2-multilib.patch ++ --- /var/tmp/diff_new_pack.2KFFqA/_old 2013-03-07 07:34:00.0 +0100 +++ /var/tmp/diff_new_pack.2KFFqA/_new 2013-03-07 07:34:00.0 +0100 @@ -358,7 +358,7 @@ +esac + +case $ARCH:$python_cv_cc_64bit_output in -+ppc64:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) ++aarch64:yes | ppc64:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) + LIB="lib64" + ;; +*:*) ++ ctypes-libffi-aarch64.patch ++ 2345 lines (skipped) ++ movetogetdents64.diff ++ --- a/Modules/_posixsubprocess.c +++ b/Modules/_posixsubprocess.c @@ -176,16 +176,9 @@ * This structure is very old and stable: It will not change unless the kernel * chooses to break compatibility with all existing binaries. Highly Unlikely. */ -struct linux_dirent { -#if defined(__x86_64__) && defined(__ILP32__) - /* Support the wacky x32 ABI (fake 32-bit userspace speaking to x86_64 -* kernel interfaces) - https://sites.google.com/site/x32abi/ */ +struct linux_dirent64 { unsigned long long d_ino; - unsigned long long d_off; -#else - unsigned long d_ino;/* Inode number */ - unsigned long d_off;/* Offset to next linux_dirent */ -#endif + signed long long d_off; unsigned short d_reclen; /* Length of this linux_dirent */ char d_name[256]; /* Filen
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-03-01 07:49:54 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2013-01-29 07:02:38.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2013-03-01 07:49:56.0 +0100 @@ -1,0 +2,7 @@ +Tue Feb 26 08:57:55 UTC 2013 - sasc...@suse.de + +- /etc/rpm/macros.python3 is no %config, it is not meant to be changed + by users. +- Add rpmlintrc with some obvious filters + +--- python3.changes: same change New: rpmlintrc Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.gxnqSh/_old 2013-03-01 07:49:58.0 +0100 +++ /var/tmp/diff_new_pack.gxnqSh/_new 2013-03-01 07:49:58.0 +0100 @@ -431,7 +431,7 @@ %doc %{_mandir}/man1/python%{python_version}.1* # makefile etc %{sitedir}/config-%{python_abi} -%config /etc/rpm/macros.python3 +/etc/rpm/macros.python3 %{_prefix}/include/python%{python_abi}/pyconfig.h # binary parts %dir %{sitedir}/lib-dynload python3.spec: same change ++ rpmlintrc ++ # RPM macros are not configuration: addFilter("non-conffile-in-etc /etc/rpm/macros.python3") # Obviously, these files are meant to be empty: addFilter("zero-length /usr/lib64/python3.3/test/nullcert.pem") addFilter("zero-length /usr/lib64/python3.3/test/namespace_pkgs/module_and_namespace_package/a_test/empty") -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2013-01-29 07:02:37 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2012-12-10 10:11:23.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2013-01-29 07:02:38.0 +0100 @@ -1,0 +2,5 @@ +Mon Jan 28 18:14:39 UTC 2013 - jmate...@suse.com + +- update baselibs for new version of libpython3 + +--- python3.changes: same change Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.SLxxjT/_old 2013-01-29 07:02:41.0 +0100 +++ /var/tmp/diff_new_pack.SLxxjT/_new 2013-01-29 07:02:41.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-base # -# Copyright (c) 2012 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 python3-doc.spec: same change python3.spec: same change ++ baselibs.conf ++ --- /var/tmp/diff_new_pack.SLxxjT/_old 2013-01-29 07:02:41.0 +0100 +++ /var/tmp/diff_new_pack.SLxxjT/_new 2013-01-29 07:02:41.0 +0100 @@ -1,2 +1,3 @@ python3 -libpython3_2mu1_0 +python3-base +libpython3_3m1_0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2012-12-10 10:11:22 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2012-11-06 16:20:14.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2012-12-10 10:11:23.0 +0100 @@ -1,0 +2,24 @@ +Thu Nov 29 17:02:37 UTC 2012 - jmate...@suse.com + +- fix include path in macros (bnc#787526) +- implement failed import handlers for modules that live in + subpackages - e.g. "import ssl" will now throw a sensible error + message telling you to install "python3" + +--- +Wed Nov 28 17:02:07 UTC 2012 - jmate...@suse.com + +- merge python3-xml into python3 +- merge python3-2to3 library into python3-base + and the 2to3 binary into python3-devel + (python3-devel is now in conflict with python-2to3, which + will be dropped) +- enable --with-system-expat for python3, making the xml modules + (and thus python3) depend on expat +- reconfigure tests to disable network and GUI resources, which + the upstream apparently thought is a good idea to enable by default. + this fixes build failures in Factory +- add lzma-devel to build the _lzma module +- moved %dynlib macro definition to common section + +--- python3.changes: same change New: import_failed.map import_failed.py Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.XzSdun/_old 2012-12-10 10:11:25.0 +0100 +++ /var/tmp/diff_new_pack.XzSdun/_new 2012-12-10 10:11:25.0 +0100 @@ -51,6 +51,8 @@ Source4:python3.sh Source5:python3.csh Source7:macros.python3.py +Source8:import_failed.py +Source9:import_failed.map Source99: PACKAGING-NOTES # this is documentation for packagers, put here to silence Factory source_validator @@ -100,6 +102,7 @@ %define so_version %{python_version_soname}%{abi_kind}1_0 +%define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}.so ### COMMON-DEF-END ### %description @@ -121,7 +124,7 @@ Requires: %{name} = %{version} Summary:Python Utility and Demonstration Scripts Group: Development/Languages/Python -Obsoletes: python3-demo < %{version} +Obsoletes: python3-demo <= %{version} Provides: python3-demo = %{version} %description -n python3-tools @@ -144,6 +147,8 @@ %package -n python3-devel Requires: %{name} = %{version} +Provides: python3-2to3 = %{version} +Obsoletes: python3-2to3 <= %{version} Summary:Include Files and Libraries Mandatory for Building Python Modules Group: Development/Languages/Python @@ -171,24 +176,6 @@ They are a documented part of stdlib, as a module 'test'. -%package -n python3-xml -Requires: %{name} = %{version} -Summary:A Python XML Interface -Group: Development/Libraries/Python - -%description -n python3-xml -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 python3-2to3 -Requires: %{name} = %{version} -Summary:Python 3.0 conversion tool -Group: Development/Languages/Python - -%description -n python3-2to3 -Python3's version of the 2to3 conversion library. - %package -n libpython%{so_version} Summary:Python Interpreter shared library Group: Development/Languages/Python @@ -280,7 +267,7 @@ if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ulimit -v 1000 || : fi -make test TESTOPTS="$EXCLUDE" +make test TESTOPTS="-u -network,-gui $EXCLUDE" # use network, be verbose: #make test TESTOPTS="-l -u network -v" @@ -309,9 +296,10 @@ mkdir -p ${RPM_BUILD_ROOT}/usr/lib/python%{python_version}/site-packages/__pycache__ # cleanup parts that don't belong -for dir in curses dbm sqlite3 tkinter; do +for dir in curses dbm sqlite3 tkinter xml xmlrpc; do find $RPM_BUILD_ROOT%{sitedir}/$dir/* -maxdepth 0 -name "test" -o -exec rm -rf {} ";" done +rm $RPM_BUILD_ROOT%{dynlib pyexpat} # overwrite the copied binary with a link ln -sf python%{python_version} ${RPM_BUILD_ROOT}%{_bindir}/python3 @@ -356,6 +344,27 @@ mkdir -p $RPM_BUILD_ROOT/etc/rpm LD_LIBRARY_PATH=. ./python %{S:7} > $RPM_BUILD_ROOT/etc/rpm/macros.python3 +# import_failed hooks +FAILDIR=$RPM_BUILD_ROOT/%{sitedir}/_import_failed +mkdir $FAILDIR +install -m 644
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2012-11-06 16:20:12 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2012-10-16 21:32:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2012-11-06 16:20:14.0 +0100 @@ -1,0 +2,18 @@ +Mon Nov 5 20:01:46 UTC 2012 - co...@suse.com + +- buildrequire timezone for the test suite + +--- +Mon Oct 29 18:21:45 UTC 2012 - dmuel...@suse.com + +- disable more checks for qemu builds as they use syscalls not + implemented yet + +--- +Thu Oct 25 08:14:36 UTC 2012 - rene.vanpaas...@gmail.com + +- exclude test_math for SLE 11; math library fails on negative + gamma function values close to integers and 0, probably + due to imprecision in -lm on SLE_11_SP2. + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2012-10-06 18:42:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2012-11-06 16:20:14.0 +0100 @@ -1,0 +2,6 @@ +Mon Oct 29 18:21:45 UTC 2012 - dmuel...@suse.com + +- disable more checks for qemu builds as they use syscalls not + implemented yet + +--- Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.dFWcJa/_old 2012-11-06 16:20:16.0 +0100 +++ /var/tmp/diff_new_pack.dFWcJa/_new 2012-11-06 16:20:16.0 +0100 @@ -28,6 +28,7 @@ BuildRequires: fdupes BuildRequires: libbz2-devel BuildRequires: pkg-config +BuildRequires: timezone BuildRequires: zlib-devel Url:http://www.python.org/ Summary:Python3 Interpreter @@ -233,6 +234,10 @@ # prevent make from trying to rebuild asdl stuff, which requires existing python installation touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h +%if 0%{?sles_version} +sed -e 's/-fprofile-correction//' -i Makefile.pre.in +%endif + ./configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ @@ -259,7 +264,16 @@ %endif # some tests break in QEMU %if 0%{?qemu_user_space_build} > 0 -EXCLUDE="$EXCLUDE -x test_multiprocessing test_threading test_threadedtempfile test_io test_ioctl test_mmap test_openpty test_pty" +EXCLUDE="$EXCLUDE -x test_multiprocessing test_threading test_threadedtempfile test_io test_posix test_ioctl test_mmap test_openpty test_pty test_monotonic_settime test_clock_settime test_time test_subprocess test_asyncore test_send_at_certain_offset test_send_whole_file test_os test_faulthandler" +%endif + +# on x86_64, SLE_11_SP2 only, extreme gamma function values (close to negative +# integers) fail. Is probably a bug/imperfection in -lm +# disabling this for all SLE, unless someone knows how to test for SP level? +%ifarch x86_64 +%if 0%{?sles_version} == 11 +EXCLUDE="$EXCLUDE -x test_math" +%endif %endif # Limit virtual memory to avoid spurious failures ++ python3.spec ++ --- /var/tmp/diff_new_pack.dFWcJa/_old 2012-11-06 16:20:16.0 +0100 +++ /var/tmp/diff_new_pack.dFWcJa/_new 2012-11-06 16:20:16.0 +0100 @@ -43,6 +43,7 @@ %define tarnamePython-%{tarversion} Requires: python3-base = %{version} +BuildRequires: python3-base = %{version} Source0:%{tarname}.tar.bz2 Source1:baselibs.conf -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2012-10-16 21:32:58 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2012-10-12 08:15:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2012-10-16 21:32:59.0 +0200 @@ -1,0 +2,5 @@ +Tue Oct 16 12:15:34 UTC 2012 - co...@suse.com + +- buildrequire libbz2-devel explicitly + +--- python3.changes: same change Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.Z1yPuw/_old 2012-10-16 21:33:02.0 +0200 +++ /var/tmp/diff_new_pack.Z1yPuw/_new 2012-10-16 21:33:02.0 +0200 @@ -26,6 +26,7 @@ Name: python3-base BuildRequires: automake BuildRequires: fdupes +BuildRequires: libbz2-devel BuildRequires: pkg-config BuildRequires: zlib-devel Url:http://www.python.org/ ++ python3.spec ++ --- /var/tmp/diff_new_pack.Z1yPuw/_old 2012-10-16 21:33:02.0 +0200 +++ /var/tmp/diff_new_pack.Z1yPuw/_new 2012-10-16 21:33:02.0 +0200 @@ -107,8 +107,8 @@ ### COMMON-DEF-END ### # some compatibility Provides -Provides: python3 = %{python_version} Provides: python = %{python_version} +Provides: python3 = %{python_version} %description Python 3 is modern interpreted, object-oriented programming language, ++ pre_checkin.sh ++ --- /var/tmp/diff_new_pack.Z1yPuw/_old 2012-10-16 21:33:02.0 +0200 +++ /var/tmp/diff_new_pack.Z1yPuw/_new 2012-10-16 21:33:02.0 +0200 @@ -73,3 +73,5 @@ sed -n -e "${prev},\$p" $slave } > $slave.tmp && mv $slave.tmp $slave done + +osc service localrun format_spec_file -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2012-10-12 08:10:10 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2012-10-06 18:42:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2012-10-12 08:15:20.0 +0200 @@ -1,0 +2,8 @@ +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 + +--- python3.changes: same change Old: distutils.cfg Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.dAKFRZ/_old 2012-10-12 08:15:22.0 +0200 +++ /var/tmp/diff_new_pack.dAKFRZ/_new 2012-10-12 08:15:22.0 +0200 @@ -48,7 +48,6 @@ Source3:python3start Source4:python3.sh Source5:python3.csh -Source6:distutils.cfg Source7:macros.python3.py Source99: PACKAGING-NOTES @@ -299,9 +298,6 @@ find $RPM_BUILD_ROOT%{sitedir}/$dir/* -maxdepth 0 -name "test" -o -exec rm -rf {} ";" done -# install site-specific tweaks -install -m 644 %{S:6} ${RPM_BUILD_ROOT}%{sitedir}/distutils - # overwrite the copied binary with a link ln -sf python%{python_version} ${RPM_BUILD_ROOT}%{_bindir}/python3 python3.spec: same change -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2012-10-04 20:02:16 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2012-07-30 20:39:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2012-10-06 18:42:46.0 +0200 @@ -1,0 +2,39 @@ +Mon Oct 1 08:53:03 UTC 2012 - idon...@suse.com + +- Update to final 3.3.0 release + * See http://hg.python.org/cpython/file/v3.3.0/Misc/NEWS + +--- +Thu Sep 27 12:35:01 UTC 2012 - idon...@suse.com + +- Correct dependency for python3-testsuite, + python3-tkinter -> python3-tk + +--- +Thu Aug 23 13:08:11 UTC 2012 - jmate...@suse.com + +- update to 3.3.0 RC1 + +--- +Fri Aug 3 12:09:34 UTC 2012 - jmate...@suse.com + +- update to 3.3.0 beta 1 +* flexible string representation, no longer distinguishing + between wide and narrow Unicode builds +* importlib-based import system +* virtualenv support in core +* namespace packages +* explicit Unicode literals for easier porting +* key-sharing dict implementation reduces memory footprint + of OO code +* hash randomization on by default +* many other new bugfixes and features, check NEWS for details + +- pre_checkin.sh now autofills various version strings in specs +- ship hashlib's fallback modules - those uselessly take up space + when real _hashlib.so from python3 is present, but the space wasted + is only 114kB and it provides python3-base with a working hashlib + module. + (also, this fixes bnc#743787) + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2012-07-14 11:51:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2012-10-06 18:42:46.0 +0200 @@ -1,0 +2,11 @@ +Mon Oct 1 08:53:43 UTC 2012 - idon...@suse.com + +- Update to final 3.3.0 release + * See http://hg.python.org/cpython/file/v3.3.0/Misc/NEWS + +--- +Fri Aug 3 12:13:10 UTC 2012 - jmate...@suse.com + +- update to 3.3.0 beta 1 + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2012-07-30 20:39:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2012-10-06 18:42:46.0 +0200 @@ -1,0 +2,18 @@ +Mon Oct 1 08:52:01 UTC 2012 - idon...@suse.com + +- Update to final 3.3.0 release + * See http://hg.python.org/cpython/file/v3.3.0/Misc/NEWS + +--- +Mon Aug 27 16:36:03 UTC 2012 - jmate...@suse.com + +- update to 3.3.0 RC1 +- added Provides for %{python_version}, we'll see whether that + breaks everything + +--- +Fri Aug 3 12:12:58 UTC 2012 - jmate...@suse.com + +- update to 3.3.0 beta 1 + +--- Old: Python-3.2.1-multilib.patch Python-3.2.3.tar.bz2 python-2.6b3-curses-panel.patch python-3.2-docs-html.tar.bz2 python-3.2-docs-pdf-a4.tar.bz2 python-3.2-docs-pdf-letter.tar.bz2 python-3.2.1-fix_date_time_compiler.patch python-3.2.3rc2-localpath.patch New: Python-3.3.0.tar.bz2 Python-3.3.0b2-multilib.patch python-3.3.0-docs-html.tar.bz2 python-3.3.0-docs-pdf-a4.tar.bz2 python-3.3.0-docs-pdf-letter.tar.bz2 python-3.3.0b1-curses-panel.patch python-3.3.0b1-fix_date_time_compiler.patch python-3.3.0b1-localpath.patch python-3.3.0b1-test-posix_fadvise.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.8MNBDC/_old 2012-10-06 18:42:48.0 +0200 +++ /var/tmp/diff_new_pack.8MNBDC/_new 2012-10-06 18:42:48.0 +0200 @@ -32,7 +32,7 @@ Summary:Python3 Interpreter License:Python-2.0 Group: Development/Languages/Python -Version:3.2.3 +Version:3.3.0 Release:0 %define tarversion %{version} %define tarnamePython-%{tarversion} @@ -59,39 +59,45 @@ # implement "--record-rpm" option for distutils installations Patch01:Python-3.0b1-record-rpm.patch # support lib-vs-lib64 distinction -Patch02:Python-3.2.1-multilib.patch +Patch02:Python-3.3.0b2-multilib.patch # secu
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2012-07-30 20:38:48 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2012-07-14 11:51:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2012-07-30 20:39:33.0 +0200 @@ -1,0 +2,6 @@ +Fri Jul 27 09:02:41 UTC 2012 - dval...@suse.com + +- skip test_io on ppc +- drop test_io ppc patch + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2012-07-14 11:51:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2012-07-30 20:39:33.0 +0200 @@ -1,0 +2,5 @@ +Fri Jul 27 09:04:43 UTC 2012 - dval...@suse.com + +- drop test_io ppc patch... we run only selective tests here + +--- Old: python-3.2.2-disable-tests-in-test_io.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.U3gLAg/_old 2012-07-30 20:40:51.0 +0200 +++ /var/tmp/diff_new_pack.U3gLAg/_new 2012-07-30 20:40:51.0 +0200 @@ -70,10 +70,8 @@ Patch06:python-3.2.1-fix_date_time_compiler.patch # fix wrong include path in curses-panel module Patch07:python-2.6b3-curses-panel.patch -# disable test_io test on ppc -Patch08:python-3.2.2-disable-tests-in-test_io.patch # fix .pypirc creation vulnerability -Patch09:python-3.2.3rc2-pypirc-secure.patch +Patch08:python-3.2.3rc2-pypirc-secure.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -211,11 +209,7 @@ %patch05 -p1 %patch06 -p1 %patch07 -#disable test_io on ppc -%ifarch ppc ppc64 %patch08 -p1 -%endif -%patch09 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.in @@ -252,6 +246,9 @@ %ifarch %arm EXCLUDE="$EXCLUDE -x test_ctypes" %endif +%ifarch ppc ppc64 +EXCLUDE="$EXCLUDE -x test_io" +%endif # some tests break in QEMU %if 0%{?qemu_user_space_build} > 0 EXCLUDE="$EXCLUDE -x test_multiprocessing test_threading test_threadedtempfile test_io test_ioctl test_mmap test_openpty test_pty" ++ python3.spec ++ --- /var/tmp/diff_new_pack.U3gLAg/_old 2012-07-30 20:40:51.0 +0200 +++ /var/tmp/diff_new_pack.U3gLAg/_new 2012-07-30 20:40:51.0 +0200 @@ -70,10 +70,8 @@ Patch06:python-3.2.1-fix_date_time_compiler.patch # fix wrong include path in curses-panel module Patch07:python-2.6b3-curses-panel.patch -# disable test_io test on ppc -Patch08:python-3.2.2-disable-tests-in-test_io.patch # fix .pypirc creation vulnerability -Patch09:python-3.2.3rc2-pypirc-secure.patch +Patch08:python-3.2.3rc2-pypirc-secure.patch ### COMMON-PATCH-END ### BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -160,11 +158,7 @@ %patch05 -p1 %patch06 -p1 %patch07 -#disable test_io on ppc -%ifarch ppc ppc64 %patch08 -p1 -%endif -%patch09 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.in -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2012-07-14 10:22:24 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2012-04-12 09:51:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2012-07-14 11:51:15.0 +0200 @@ -1,0 +2,12 @@ +Thu Jun 28 07:57:58 UTC 2012 - sasc...@suse.de + +- Satisfy source_validator by uncommenting an otherwise unused "Patch" + line + +--- +Fri May 18 11:50:27 UTC 2012 - idon...@suse.com + +- update to 3.2.3 + * No changes since rc2 + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2012-04-12 09:51:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2012-07-14 11:51:15.0 +0200 @@ -1,0 +2,5 @@ +Tue Jun 12 14:43:44 UTC 2012 - jmate...@suse.com + +- update to build against 3.2.3 + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2012-04-12 09:51:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2012-07-14 11:51:15.0 +0200 @@ -1,0 +2,5 @@ +Tue Jun 12 15:39:08 UTC 2012 - adr...@suse.de + +- fix logic of checks exclusion + +--- Old: Python-3.2.3rc2.tar.bz2 New: Python-3.2.3.tar.bz2 Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.TvG3c3/_old 2012-07-14 11:51:18.0 +0200 +++ /var/tmp/diff_new_pack.TvG3c3/_new 2012-07-14 11:51:18.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-base # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -32,10 +32,9 @@ Summary:Python3 Interpreter License:Python-2.0 Group: Development/Languages/Python -Version:3.2.2.99rc2 +Version:3.2.3 Release:0 -#%%define tarversion %{version} -%define tarversion 3.2.3rc2 +%define tarversion %{version} %define tarnamePython-%{tarversion} # python 3.1 didn't have a separate python-base, so it is wrongly @@ -126,7 +125,8 @@ %package -n python3-idle -Requires: %{name} = %{version} python3-tk +Requires: %{name} = %{version} +Requires: python3-tk Summary:An Integrated Development Environment for Python Group: Development/Languages/Python @@ -246,16 +246,16 @@ make %{?_smp_mflags} profile-opt %check +# SUSE's gdb breaks test_gdb by producing spurious output (zypper suggestions) +EXCLUDE="-x test_gdb" # test_ctypes breaks on ARM - even on real machines %ifarch %arm EXCLUDE="$EXCLUDE -x test_ctypes" %endif # some tests break in QEMU %if 0%{?qemu_user_space_build} > 0 -EXCLUDE="$EXCLUDE -x test_threading test_threadedtempfile test_io test_ioctl test_mmap test_openpty test_pty" +EXCLUDE="$EXCLUDE -x test_multiprocessing test_threading test_threadedtempfile test_io test_ioctl test_mmap test_openpty test_pty" %endif -# SUSE's gdb breaks test_gdb by producing spurious output (zypper suggestions) -EXCLUDE="-x test_gdb" # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.TvG3c3/_old 2012-07-14 11:51:18.0 +0200 +++ /var/tmp/diff_new_pack.TvG3c3/_new 2012-07-14 11:51:18.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-doc # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python3-doc Url:http://www.python.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -23,18 +24,19 @@ Group: Development/Languages/Python Version:3.2 Release:0 -%define pyver 3.2.2.99rc2 +%define pyver 3.2.3 BuildArch: noarch -#%%define tarn
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2012-04-12 09:47:01 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2012-01-04 07:30:23.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2012-04-12 09:47:03.0 +0200 @@ -1,0 +2,33 @@ +Thu Mar 29 15:44:33 UTC 2012 - jmate...@suse.com + +- update to 3.2.3rc2 + * fixes several security issues: + * CVE-2012-0845, bnc#747125 + * CVE-2012-1150, bnc#751718 + * CVE-2011-4944, bnc#754447 + * CVE-2011-3389, bnc#754677 +- fix for insecure .pypirc (CVE-2011-4944, bnc#754447) +- disable test_gdb because it is broken by our gdb + +--- +Thu Feb 16 12:33:12 UTC 2012 - dval...@suse.com + +- skip broken test_io test on ppc + +--- +Wed Jan 18 15:49:47 UTC 2012 - jmate...@suse.com + +- update to 3.2.2 + * bugfix-only release + * reports "linux2" as sys.platform regardless of Linux kernel +- added pre_checkin.sh to copy common spec sections to python3.spec +- added PACKAGING-NOTES with some helpful info for packagers + +--- +Sun Dec 25 13:25:01 UTC 2011 - idon...@suse.com + +- Use system ffi, included one is broken see + http://bugs.python.org/issue11729 and + http://bugs.python.org/issue12081 + +--- --- /work/SRC/openSUSE:Factory/python3/python3-doc.changes 2011-09-23 12:43:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-doc.changes 2012-04-12 09:47:03.0 +0200 @@ -1,0 +2,5 @@ +Wed Jan 18 15:52:06 UTC 2012 - jmate...@suse.com + +- update to build against 3.2.2 + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2012-01-04 07:30:23.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2012-04-12 09:47:03.0 +0200 @@ -1,0 +2,7 @@ +Sun Dec 25 13:26:04 UTC 2011 - idon...@suse.com + +- Use system ffi, included one is broken see + http://bugs.python.org/issue11729 and + http://bugs.python.org/issue12081 + +--- Old: Python-3.2.1.tar.bz2 python-3.2-linux3.patch python-3.2rc2-localpath.patch New: PACKAGING-NOTES Python-3.2.3rc2.tar.bz2 pre_checkin.sh python-3.2.2-disable-tests-in-test_io.patch python-3.2.3rc2-localpath.patch python-3.2.3rc2-pypirc-secure.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.CKeTPt/_old 2012-04-12 09:47:07.0 +0200 +++ /var/tmp/diff_new_pack.CKeTPt/_new 2012-04-12 09:47:07.0 +0200 @@ -16,17 +16,26 @@ # +# +# this is the master spec file, but changes should be submitted +# against python3, not python3-base +# +# see PACKAGING-NOTES for details +# Name: python3-base -BuildRequires: zlib-devel fdupes pkg-config automake +BuildRequires: automake +BuildRequires: fdupes +BuildRequires: pkg-config +BuildRequires: zlib-devel Url:http://www.python.org/ +Summary:Python3 Interpreter License:Python-2.0 Group: Development/Languages/Python -AutoReqProv:on -Summary:Python3 Interpreter -Version:3.2.1 -Release:2 -%define tarversion %{version} +Version:3.2.2.99rc2 +Release:0 +#%%define tarversion %{version} +%define tarversion 3.2.3rc2 %define tarnamePython-%{tarversion} # python 3.1 didn't have a separate python-base, so it is wrongly @@ -43,6 +52,11 @@ Source6:distutils.cfg Source7:macros.python3.py +Source99: PACKAGING-NOTES +# this is documentation for packagers, put here to silence Factory source_validator + +### COMMON-PATCH-BEGIN ### + # implement "--record-rpm" option for distutils installations Patch01:Python-3.0b1-record-rpm.patch # support lib-vs-lib64 distinction @@ -50,23 +64,31 @@ # securing usage of readlink/realpath in PySys_SetArgv Patch03:python-2.6b1-canonicalize2.patch # support finding packages in /usr/local, install to /usr/local by default -Patch04:python-3.2rc2-localpath.patch +Patch04:python-3.2.3rc2-localpath.patch # fix usage of "python" executable in "make install" Patch05:python-3.2b2-buildtime-generate.patch # replace DATE, TIME a
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at 2012-01-04 07:30:21 Comparing /work/SRC/openSUSE:Factory/python3 (Old) and /work/SRC/openSUSE:Factory/.python3.new (New) Package is "python3", Maintainer is "jmate...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python3/python3-base.changes 2011-09-23 12:43:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes 2012-01-04 07:30:23.0 +0100 @@ -1,0 +2,15 @@ +Fri Dec 9 17:19:55 UTC 2011 - jmate...@suse.com + +- license.opensuse.org-compatible license headers + +--- +Fri Dec 2 16:46:44 UTC 2011 - co...@suse.com + +- add automake as buildrequire to avoid implicit dependency + +--- +Thu Nov 24 12:42:25 UTC 2011 - ag...@suse.com + +- fix ARM build (exclude some test cases which break for us) + +--- --- /work/SRC/openSUSE:Factory/python3/python3.changes 2011-09-23 12:43:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3.new/python3.changes 2012-01-04 07:30:23.0 +0100 @@ -1,0 +2,10 @@ +Fri Dec 9 17:19:55 UTC 2011 - jmate...@suse.com + +- license.opensuse.org-compatible license headers + +--- +Fri Dec 2 16:46:44 UTC 2011 - co...@suse.com + +- add automake as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.02ASEq/_old 2012-01-04 07:30:25.0 +0100 +++ /var/tmp/diff_new_pack.02ASEq/_new 2012-01-04 07:30:25.0 +0100 @@ -18,9 +18,9 @@ Name: python3-base -BuildRequires: fdupes pkg-config zlib-devel +BuildRequires: zlib-devel fdupes pkg-config automake Url:http://www.python.org/ -License:X11/MIT +License:Python-2.0 Group: Development/Languages/Python AutoReqProv:on Summary:Python3 Interpreter @@ -90,7 +90,7 @@ Guido van Rossum %package -n python3-tools -License:Python Copyright +License:Python-2.0 Requires: %{name} = %{version} Summary:Python Utility and Demonstration Scripts Group: Development/Languages/Python @@ -104,7 +104,7 @@ %package -n python3-idle -License:Python Copyright +License:Python-2.0 Requires: %{name} = %{version} python3-tk Summary:An Integrated Development Environment for Python Group: Development/Languages/Python @@ -118,7 +118,7 @@ %package -n python3-devel -License:Python Copyright +License:Python-2.0 Requires: %{name} = %{version} Summary:Include Files and Libraries Mandatory for Building Python Modules Group: Development/Languages/Python @@ -137,7 +137,7 @@ %package -n python3-xml -License:Python Copyright +License:Python-2.0 Requires: %{name} = %{version} Summary:A Python XML Interface Group: Development/Libraries/Python @@ -149,7 +149,7 @@ %package -n python3-2to3 -License:Python Copyright +License:Python-2.0 Requires: %{name} = %{version} Summary:Python 3.0 conversion tool Group: Development/Languages/Python @@ -160,9 +160,7 @@ purposes it appears to be identical to the one shipped with Python 2.6. %package -n libpython%{so_version} - - -License:MIT License (or similar) +License:Python-2.0 Summary:Python Interpreter shared library Group: Development/Languages/Python AutoReqProv:on @@ -182,7 +180,7 @@ %patch01 -p1 %patch02 -p1 -#%patch03 +#%%patch03 #- canonicalize disabled, needs testing whether the exploit still works %patch04 %patch05 -p1 @@ -220,6 +218,16 @@ # test_file fails in autobuild env - "stdin.seek(-1)" wrongly succeeds. probably an issue with autobuild's stdin # test_nis fails in autobuild env. probably a misconfiguration of mbuild servers #EXCLUDE="-x test_file -x test_nis" + +# test_ctypes breaks on ARM - even on real machines +%ifarch %arm +EXCLUDE="$EXCLUDE -x test_ctypes" +%endif +# some tests break in QEMU +%if 0%{?qemu_user_space_build} > 0 +EXCLUDE="$EXCLUDE -x test_threading test_threadedtempfile test_io test_ioctl test_mmap test_openpty test_pty" +%endif + # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ulimit -v 1000 || : ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.02ASEq/_o
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at Mon Sep 5 17:08:49 CEST 2011. --- python3/python3-base.changes2011-07-18 19:14:11.0 +0200 +++ /mounts/work_src_done/STABLE/python3/python3-base.changes 2011-08-16 19:05:33.0 +0200 @@ -1,0 +2,6 @@ +Tue Aug 16 17:02:22 UTC 2011 - ter...@gmail.com + +- use sysconfig module to get py3_incdir, py3_abiflags, + py3_soflags, python3_sitelib and python3_sitearch + +--- --- python3/python3.changes 2011-07-18 18:24:41.0 +0200 +++ /mounts/work_src_done/STABLE/python3/python3.changes2011-09-02 12:40:28.0 +0200 @@ -1,0 +2,5 @@ +Fri Sep 2 10:40:01 UTC 2011 - co...@suse.com + +- fix baselibs.conf + +--- calling whatdependson for head-i586 Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.qRsRAI/_old 2011-09-05 17:08:19.0 +0200 +++ /var/tmp/diff_new_pack.qRsRAI/_new 2011-09-05 17:08:19.0 +0200 @@ -25,7 +25,7 @@ AutoReqProv:on Summary:Python3 Interpreter Version:3.2.1 -Release:1 +Release:2 %define tarversion %{version} %define tarnamePython-%{tarversion} @@ -161,6 +161,7 @@ %package -n libpython%{so_version} + License:MIT License (or similar) Summary:Python Interpreter shared library Group: Development/Languages/Python @@ -218,7 +219,7 @@ %check # test_file fails in autobuild env - "stdin.seek(-1)" wrongly succeeds. probably an issue with autobuild's stdin # test_nis fails in autobuild env. probably a misconfiguration of mbuild servers -EXCLUDE="-x test_file -x test_nis" +#EXCLUDE="-x test_file -x test_nis" # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 1000; then ulimit -v 1000 || : ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.qRsRAI/_old 2011-09-05 17:08:19.0 +0200 +++ /var/tmp/diff_new_pack.qRsRAI/_new 2011-09-05 17:08:19.0 +0200 @@ -24,7 +24,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:Additional Package Documentation for Python. Version:3.2 -Release:2 +Release:3 %define pyver 3.2.1 BuildArch: noarch %define tarnamePython-%{pyver} ++ python3.spec ++ --- /var/tmp/diff_new_pack.qRsRAI/_old 2011-09-05 17:08:19.0 +0200 +++ /var/tmp/diff_new_pack.qRsRAI/_new 2011-09-05 17:08:19.0 +0200 @@ -25,7 +25,7 @@ AutoReqProv:on Summary:Python3 Interpreter Version:3.2.1 -Release:1 +Release:3 %define tarversion %{version} %define tarnamePython-%{tarversion} ++ baselibs.conf ++ --- /var/tmp/diff_new_pack.qRsRAI/_old 2011-09-05 17:08:19.0 +0200 +++ /var/tmp/diff_new_pack.qRsRAI/_new 2011-09-05 17:08:19.0 +0200 @@ -1 +1,2 @@ python3 +libpython3_2mu1_0 ++ macros.python3.py ++ --- /var/tmp/diff_new_pack.qRsRAI/_old 2011-09-05 17:08:20.0 +0200 +++ /var/tmp/diff_new_pack.qRsRAI/_new 2011-09-05 17:08:20.0 +0200 @@ -3,16 +3,18 @@ """ generate macros.python3 file from known values """ import sys,os -from distutils.sysconfig import get_python_lib +from sysconfig import get_path, get_config_var version = "{}.{}".format(*sys.version_info) macros = { "py3_ver": version, "py3_prefix": sys.prefix, -"py3_incdir": os.path.join(sys.prefix, "include", "python" + version), -"python3_sitelib": get_python_lib(), -"python3_sitearch": get_python_lib(True), +"py3_incdir": get_path("include"), +"py3_abiflags": get_config_var("ABIFLAGS"), +"py3_soflags": get_config_var("SOABI"), +"python3_sitelib": get_path("purelib"), +"python3_sitearch": get_path("platlib"), "py3_compile(O)": """ find %1 -name '*.pyc' -exec rm -f {} ";" python3 -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 Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3 for openSUSE:Factory
Hello community, here is the log from the commit of package python3 for openSUSE:Factory checked in at Mon Aug 15 00:06:07 CEST 2011. --- python3/python3-base.changes2011-06-15 16:42:42.0 +0200 +++ /mounts/work_src_done/STABLE/python3/python3-base.changes 2011-07-18 19:14:11.0 +0200 @@ -1,0 +2,10 @@ +Mon Jul 18 16:22:31 UTC 2011 - jmate...@novell.com + +- update to 3.2.1 +* bugfix-only release, no major changes +- fix build on linux3 platform +- remove upstreamed pybench patch +- install /usr/lib directories in all cases to prevent spurious + "directory not owned" in dependent packages + +--- --- python3/python3-doc.changes 2011-03-23 05:34:39.0 +0100 +++ /mounts/work_src_done/STABLE/python3/python3-doc.changes2011-07-18 18:24:41.0 +0200 @@ -1,0 +2,5 @@ +Mon Jul 18 16:23:31 UTC 2011 - jmate...@novell.com + +- update to build against 3.2.1 + +--- --- python3/python3.changes 2011-05-13 14:44:34.0 +0200 +++ /mounts/work_src_done/STABLE/python3/python3.changes2011-07-18 18:24:41.0 +0200 @@ -1,0 +2,6 @@ +Mon Jul 18 16:23:16 UTC 2011 - jmate...@novell.com + +- update to 3.2.1 +- fix build on linux3 + +--- calling whatdependson for head-i586 Old: Python-3.2.tar.bz2 Python-3.2b2-multilib.patch python-3.2-fix_date_time_compiler.patch python-3.2-pybench.patch New: Python-3.2.1-multilib.patch Python-3.2.1.tar.bz2 python-3.2-linux3.patch python-3.2.1-fix_date_time_compiler.patch Other differences: -- ++ python3-base.spec ++ --- /var/tmp/diff_new_pack.5DcMOt/_old 2011-08-15 00:05:08.0 +0200 +++ /var/tmp/diff_new_pack.5DcMOt/_new 2011-08-15 00:05:08.0 +0200 @@ -24,7 +24,7 @@ Group: Development/Languages/Python AutoReqProv:on Summary:Python3 Interpreter -Version:3.2 +Version:3.2.1 Release:1 %define tarversion %{version} %define tarnamePython-%{tarversion} @@ -46,17 +46,17 @@ # implement "--record-rpm" option for distutils installations Patch01:Python-3.0b1-record-rpm.patch # support lib-vs-lib64 distinction -Patch02:Python-3.2b2-multilib.patch +Patch02:Python-3.2.1-multilib.patch # securing usage of readlink/realpath in PySys_SetArgv Patch03:python-2.6b1-canonicalize2.patch # support finding packages in /usr/local, install to /usr/local by default Patch04:python-3.2rc2-localpath.patch # fix usage of "python" executable in "make install" Patch05:python-3.2b2-buildtime-generate.patch -# fix crash in pybench which was blocking builds -Patch06:python-3.2-pybench.patch # replace DATE, TIME and COMPILER by fixed definitions to aid reproducible builds -Patch07:python-3.2-fix_date_time_compiler.patch +Patch06:python-3.2.1-fix_date_time_compiler.patch +# support for "linux3" platform, for linux 3 kernel +Patch07:python-3.2-linux3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -250,6 +250,8 @@ # install "site-packages" and __pycache__ for third parties install -d -m 755 ${RPM_BUILD_ROOT}%{sitedir}/site-packages install -d -m 755 ${RPM_BUILD_ROOT}%{sitedir}/site-packages/__pycache__ +# and their 32bit counterparts explicitly +mkdir -p ${RPM_BUILD_ROOT}/usr/lib/python%{python_version}/site-packages/__pycache__ # cleanup parts that don't belong for so in _md5 _sha1 _sha256 _sha512; do @@ -425,6 +427,9 @@ %{dynlib unicodedata} %{dynlib zlib} # python parts +%dir /usr/lib/python%{python_version} +%dir /usr/lib/python%{python_version}/site-packages +%dir /usr/lib/python%{python_version}/site-packages/__pycache__ %dir %{sitedir} %dir %{sitedir}/site-packages %dir %{sitedir}/site-packages/__pycache__ ++ python3-doc.spec ++ --- /var/tmp/diff_new_pack.5DcMOt/_old 2011-08-15 00:05:08.0 +0200 +++ /var/tmp/diff_new_pack.5DcMOt/_new 2011-08-15 00:05:08.0 +0200 @@ -24,11 +24,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary:Additional Package Documentation for Python. Version:3.2 -Release:1 -%define pyver 3.2 +Release:2 +%define pyver 3.2.1 BuildArch: noarch -#%define tarnamePython-%{pyver} -%define tarnamePython-3.2 +%define tarnamePython-%{pyver} %define pyname python Enhances: %{pyname}=%{pyver} Source0:%{tarname}.tar.bz2 ++ python3.spec ++ --- /var/tmp/diff_new_pack.5DcMOt/_old 2011-08-15 00:05:08.0 +0200 +++ /var/tmp/diff_new_pack.5DcMOt/_new 2011-08-15 00:05:08.0 +0200 @@ -24,10 +24,9 @@ Group: Development/Languages/Pytho