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 10000000; then ulimit -v 10000000 || : @@ -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 test_minidom test_pulldom test_pyexpat \ - test_xml_etree test_xml_etree_c test_xmlrpc test_xmlrpc_net" -# XML-dependent tests -TESTS="$TESTS test_plistlib test_venv \ - test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_spawn" - make -j1 test TESTOPTS="-u curses $TESTS" %install @@ -288,9 +278,10 @@ for module in \ asyncio ctypes collections concurrent distutils email encodings \ - html http \ + ensurepip html http \ importlib json logging multiprocessing pydoc_data unittest \ - urllib venv wsgiref lib2to3 test idlelib turtledemo + urllib venv wsgiref lib2to3 test idlelib turtledemo \ + xml xmlrpc do rm -r %{buildroot}%{sitedir}/$module done @@ -302,6 +293,7 @@ parser _pickle _posixsubprocess _random resource select _ssl _socket spwd \ _struct syslog termios _testbuffer _testimportmultiple _testmultiphase \ unicodedata zlib _ctypes_test _testcapi xxlimited \ + _elementtree pyexpat \ _md5 _sha1 _sha256 _sha512 _blake2 _sha3 do eval rm "%{buildroot}%{sitedir}/lib-dynload/$library.*" @@ -331,13 +323,8 @@ %defattr(644, root, root, 755) %dir %{sitedir} %dir %{sitedir}/lib-dynload -%{sitedir}/ensurepip %{sitedir}/sqlite3 %exclude %{sitedir}/sqlite3/test -%{sitedir}/xml -%{sitedir}/xmlrpc -%{dynlib _elementtree} -%{dynlib pyexpat} %{dynlib readline} %{dynlib _sqlite3} ++++++ import_failed.map ++++++ --- /var/tmp/diff_new_pack.E2Cmyw/_old 2018-01-26 13:58:56.582818793 +0100 +++ /var/tmp/diff_new_pack.E2Cmyw/_new 2018-01-26 13:58:56.582818793 +0100 @@ -4,4 +4,4 @@ python3-tk: tkinter _tkinter python3-curses: curses _curses _curses_panel python3-dbm: dbm _dbm _gdbm -python3: ensurepip sqlite3 xml xmlrpc _elementtree pyexpat readline _sqlite3 +python3: sqlite3 readline _sqlite3