[Python-modules-team] uploaded patched matplotlib to 2-days delayed
Yaroslav Halchenko
debian at onerussian.com
Fri Jul 11 03:37:06 UTC 2014
Dear Julian, Sandro and the rest of the team.
Only with a slight tune up to the current state of the matplotlib in team's SVN
repository I have just uploaded to 2-days delayed, and then dcommitted to
svn including the tag.
Sandro, please let me know if I could reupload straight without any
delay.
Here is the debdiff for the .changes to give a sense on the effects, diff on
sources could be asserted in SVN. I have verified basic functionality.
Unfortunately we would need to fix it up to ship also tests/baseline_images to
actual make matplotlib.tests useful, and eventually address outstanding
collection of lintian warnings and errors [1] but I didn't want to delay
upload any longer.
[1] http://lintian.debian.org/full/python-modules-team@lists.alioth.debian.org.html#matplotlib_1.3.1-1
$ debdiff ../1.3.1-1/matplotlib_1.3.1-1_amd64.changes matplotlib_1.3.1-2_amd64.changes
[The following lists of changes regard files as different if they have
different names, permissions or owners.]
Files in second .changes but not in first
-----------------------------------------
-rw-r--r-- root/root /usr/lib/debug/usr/lib/pymodules/python2.7/matplotlib/backends/_tkagg.so
-rw-r--r-- root/root /usr/lib/debug/usr/lib/pymodules/python2.7/matplotlib/backends/_tkagg_d.so
-rw-r--r-- root/root /usr/lib/debug/usr/lib/python3/dist-packages/matplotlib/backends/_tkagg.cpython-34dm-x86_64-linux-gnu.so
-rw-r--r-- root/root /usr/lib/debug/usr/lib/python3/dist-packages/matplotlib/backends/_tkagg.cpython-34m-x86_64-linux-gnu.so
-rw-r--r-- root/root /usr/lib/pyshared/python2.7/matplotlib/backends/_tkagg.so
-rw-r--r-- root/root /usr/lib/pyshared/python2.7/matplotlib/backends/_tkagg_d.so
-rw-r--r-- root/root /usr/lib/python3/dist-packages/matplotlib/backends/_tkagg.cpython-34dm-x86_64-linux-gnu.so
-rw-r--r-- root/root /usr/lib/python3/dist-packages/matplotlib/backends/_tkagg.cpython-34m-x86_64-linux-gnu.so
-rw-r--r-- root/root /usr/share/doc/python-matplotlib-doc/examples/pylab_examples/finance.cache/4e29776e1f12f03a1817776661af3e4d
lrwxrwxrwx root/root /usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/css/themes/base/jquery-ui.min.css -> ../../../../../../../../../../share/javascript/jquery-ui/css/smoothness/jquery-ui.min.css
lrwxrwxrwx root/root /usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-1.7.1.min.js -> ../../../../../../../../share/javascript/jquery/jquery.min.js
lrwxrwxrwx root/root /usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-ui.min.js -> ../../../../../../../../share/javascript/jquery-ui/jquery-ui.min.js
lrwxrwxrwx root/root /usr/share/pyshared/matplotlib/backends/web_backend/jquery/css/themes/base/jquery-ui.min.css -> ../../../../../../../../javascript/jquery-ui/css/smoothness/jquery-ui.min.css
lrwxrwxrwx root/root /usr/share/pyshared/matplotlib/backends/web_backend/jquery/js/jquery-1.7.1.min.js -> ../../../../../../javascript/jquery/jquery.min.js
lrwxrwxrwx root/root /usr/share/pyshared/matplotlib/backends/web_backend/jquery/js/jquery-ui.min.js -> ../../../../../../javascript/jquery-ui/jquery-ui.min.js
Files in first .changes but not in second
-----------------------------------------
-rw-r--r-- root/root /usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/css/themes/base/jquery-ui.min.css
-rw-r--r-- root/root /usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-1.7.1.min.js
-rw-r--r-- root/root /usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-ui.min.js
-rw-r--r-- root/root /usr/share/pyshared/matplotlib/backends/web_backend/jquery/css/themes/base/jquery-ui.min.css
-rw-r--r-- root/root /usr/share/pyshared/matplotlib/backends/web_backend/jquery/js/jquery-1.7.1.min.js
-rw-r--r-- root/root /usr/share/pyshared/matplotlib/backends/web_backend/jquery/js/jquery-ui.min.js
-rwxr-xr-x root/root DEBIAN/preinst
Control files of package python-matplotlib: lines which differ (wdiff format)
-----------------------------------------------------------------------------
Depends: python-dateutil, python-matplotlib-data (>= [-1.3.1-1),-] {+1.3.1-2),+} python-pyparsing, python-tz, {+libjs-jquery, libjs-jquery-ui,+} python (<< 2.8), python (>= 2.7), python-numpy (>= 1:1.8.0), python-numpy-abi9, python-support (>= 0.90.0), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.14), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.11), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.1.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.8.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpangoft2-1.0-0 (>= 1.14.0), libpng12-0 (>= 1.2.13-4), libstdc++6 (>= [-4.6)-] {+4.6), libtcl8.6 (>= 8.6.0), libtk8.6 (>= 8.6.0)+}
Installed-Size: [-7957-] {+7796+}
Version: [-1.3.1-1-] {+1.3.1-2+}
Control files of package python-matplotlib-data: lines which differ (wdiff format)
----------------------------------------------------------------------------------
Installed-Size: [-5417-] {+5418+}
Version: [-1.3.1-1-] {+1.3.1-2+}
Control files of package python-matplotlib-dbg: lines which differ (wdiff format)
---------------------------------------------------------------------------------
Depends: python-all-dbg, python-matplotlib (= [-1.3.1-1),-] {+1.3.1-2),+} libc6 (>= 2.14), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.1.1), libpng12-0 (>= 1.2.13-4), libstdc++6 (>= [-4.6)-] {+4.6), libtcl8.6 (>= 8.6.0), libtk8.6 (>= 8.6.0)+}
Installed-Size: [-46092-] {+49848+}
Version: [-1.3.1-1-] {+1.3.1-2+}
Control files of package python-matplotlib-doc: lines which differ (wdiff format)
---------------------------------------------------------------------------------
Installed-Size: [-90339-] {+90460+}
Version: [-1.3.1-1-] {+1.3.1-2+}
Control files of package python3-matplotlib: lines which differ (wdiff format)
------------------------------------------------------------------------------
Depends: python3-dateutil, python-matplotlib-data (>= [-1.3.1-1),-] {+1.3.1-2),+} python3-pyparsing, python3-six, python3-tz, {+libjs-jquery, libjs-jquery-ui,+} python3-numpy (>= 1:1.8.0), python3-numpy-abi9, python3 (>= 3.4~), python3-nose, python3 (<< 3.5), python3-tornado, libc6 (>= 2.14), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.1.1), libpng12-0 (>= 1.2.13-4), libstdc++6 (>= [-4.6)-] {+4.6), libtcl8.6 (>= 8.6.0), libtk8.6 (>= 8.6.0)+}
Installed-Size: [-7031-] {+6866+}
Recommends: [-python3-imaging,-] {+python3-pil,+} python3-tk
Suggests: dvipng, gir1.2-gtk-3.0, ghostscript, inkscape, ipython3, librsvg2-common, python-matplotlib-doc, python3-cairo, python3-gi, {+python3-gi-cairo,+} python3-gobject, python3-pyqt4, python3-scipy, python3-sip, texlive-extra-utils, texlive-latex-extra, ttf-staypuft
Version: [-1.3.1-1-] {+1.3.1-2+}
Control files of package python3-matplotlib-dbg: lines which differ (wdiff format)
----------------------------------------------------------------------------------
Depends: python3-all-dbg, python3-matplotlib (= [-1.3.1-1),-] {+1.3.1-2),+} libc6 (>= 2.14), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.1.1), libpng12-0 (>= 1.2.13-4), libstdc++6 (>= [-4.6)-] {+4.6), libtcl8.6 (>= 8.6.0), libtk8.6 (>= 8.6.0)+}
Installed-Size: [-3369-] {+3589+}
Version: [-1.3.1-1-] {+1.3.1-2+}
On Tue, 08 Jul 2014, Julian Taylor wrote:
> hi Sandro,
> I think I have fixed matplotlib in svn by applying the ubuntu patches.
> It solves the ~9 rc bugs and a few other ones.
> Unfortunately it can currently not be tested as python-tk is broken but
> that should be fixed soon.
> The package adds adt-tests which verify basic functionality, note the
> wxagg-dbg test seems broken, regular wxagg test success so I we can live
> with that for now.
> Can you please upload the fix soon?
> I did have some problems with deadlocks when building in a chroot but
> not on the host.
> I suspect it may be related to run/shm and the use of multiprocessing.
> If you have the same issues please also apply attached patch.
> Thanks
> Julian
> --- a/setupext.py
> +++ b/setupext.py
> @@ -1587,24 +1587,9 @@ class BackendGtk3Agg(OptionalBackendPack
> # This check needs to be performed out-of-process, because
> # importing gi and then importing regular old pygtk afterward
> # segfaults the interpreter.
> - try:
> - p = multiprocessing.Pool()
> - except:
> - return "unknown (can not use multiprocessing to determine)"
> - try:
> - success, msg = p.map(backend_gtk3agg_internal_check, [0])[0]
> - except:
> - success = False
> - msg = "Could not determine"
> - finally:
> - p.close()
> - p.join()
> - if success:
> - BackendAgg.force = True
> + BackendAgg.force = True
> - return msg
> - else:
> - raise CheckFailed(msg)
> + return "ok"
> def get_package_data(self):
> return {'matplotlib': ['mpl-data/*.glade']}
> _______________________________________________
> Python-modules-team mailing list
> Python-modules-team at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
--
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
More information about the Python-modules-team
mailing list