From: Michael D. <md...@st...> - 2013-07-19 16:26:30
|
At long last, I have a 1.3.0rc5 tagged. I really hope to the software deities that this is the last rc before final. If you wouldn't mind creating and posting the binaries, I'll make an announcment on matplotlib-users, give this a week and then put final out. Cheers, Mike |
From: Russell E. O. <ro...@uw...> - 2013-07-22 21:59:26
|
In article <51E...@st...>, Michael Droettboom <md...@st...> wrote: > At long last, I have a 1.3.0rc5 tagged. I really hope to the software > deities that this is the last rc before final. > > If you wouldn't mind creating and posting the binaries, I'll make an > announcment on matplotlib-users, give this a week and then put final out. I have uploaded a binary for MacOS X 10.6 and later. There were a few oddities this time around: - matplotlib now requires pyparsing. I don't remember that being a requirement before -- even for previous 1.3 candidates. - I had a lot of trouble with matplotlib complaining that dateutil was not present, even though it was in my site-packages. So I tried to reinstall it using pip install -U dateutil. Unfortunately pip has never heard of "dateutil". After some searching I realized the package name is actually "python-dateutil" (and not dateutils, which is a different package, alas). Even then, I had to install/upgrade it twice -- for some reason matplotlib couldn't find it at first. Very puzzling. I have no idea what was going on, but also didn't want to spend a lot of time trying to debug it. - I get a few unit tests failures, including a slew of DeprecationWarnings about Operator '<<' that I don't remember seeing before. I have appended the test log. - I first tried building on 10.8 and running on 10.6 (since that's much simpler for me). Unfortunately it doesn't work; on 10.6 it acts as if the unit tests themselves aren't part of the package. I have no idea why. I appended a log snippet showing the basic message, but I haven't looked into it further. This sounds worth spending some time tracking down. -- Russell Log of unit tests, with a few \n inserted for readability. This is for a package built on 10.6 and running on 10.8. python -c "import matplotlib as m ; m.test(verbosity=1)" ......................................................... /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/mathtext.py:2182: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead float_literal << Regex(r"[-+]?([0-9]+\.?[0-9]*|\.[0-9]+)") /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/mathtext.py:2183: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead int_literal << Regex("[-+]?[0-9]+") /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/mathtext.py:2185: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead lbrace << Literal('{').suppress() ...(and 40-odd more examples of the same that I omitted)... /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/mathtext.py:2319: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead main << (non_math + ZeroOrMore(math_string + non_math)) + StringEnd() ......................................................................... ......................................................................... ...................... /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/font_manager.py:1236: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to Helvetica (prop.get_family(), self.defaultFamily[fontext])) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not match :family=Helvetica:style=normal:variant=normal:weight=normal:stretch=norma l:size=medium. Returning /Applications/TUI.app/Contents/Resources/mpl-data/fonts/afm/putri8a.afm UserWarning) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not match :family=Helvetica:style=normal:variant=normal:weight=normal:stretch=norma l:size=24.0. Returning /Applications/TUI.app/Contents/Resources/mpl-data/fonts/afm/putri8a.afm UserWarning) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not match :family=Helvetica:style=normal:variant=normal:weight=normal:stretch=norma l:size=large. Returning /Applications/TUI.app/Contents/Resources/mpl-data/fonts/afm/putri8a.afm UserWarning) F...kpathsea: Invalid fontname `Bitstream Vera Serif', contains ' ' Ekpathsea: Invalid fontname `Bitstream Vera Serif', contains ' ' EK.....K................................................................. ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ..................................... /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/numpy/ma/core.py:777: RuntimeWarning: invalid value encountered in absolute return umath.absolute(a) * self.tolerance >= umath.absolute(b) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/numpy/ma/core.py:3791: UserWarning: Warning: converting a masked element to nan. warnings.warn("Warning: converting a masked element to nan.") ............... /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/font_manager.py:1236: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to Bitstream Vera Sans (prop.get_family(), self.defaultFamily[fontext])) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=14.0. Returning /Applications/TUI.app/Contents/Resources/mpl-data/fonts/ttf/Vera.ttf UserWarning) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=bold:stretch=500:size=14.0. Returning /Applications/TUI.app/Contents/Resources/mpl-data/fonts/ttf/Vera.ttf UserWarning) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/font_manager.py:1236: UserWarning: findfont: Font family ['sans serif'] not found. Falling back to Bitstream Vera Sans (prop.get_family(), self.defaultFamily[fontext])) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=italic:variant=normal:weight=750:stretch=500:size=14.0. Returning /Applications/TUI.app/Contents/Resources/mpl-data/fonts/ttf/Vera.ttf UserWarning) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=200:stretch=500:size=14.0. Returning /Applications/TUI.app/Contents/Resources/mpl-data/fonts/ttf/Vera.ttf UserWarning) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=500:stretch=100:size=14.0. Returning /Applications/TUI.app/Contents/Resources/mpl-data/fonts/ttf/Vera.ttf UserWarning) FF........................... /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/gridspec.py:298: UserWarning: This figure includes Axes that are not compatible with tight_layout, so its results might be incorrect. warnings.warn("This figure includes Axes that are not " ............................................ /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/numpy/testing/utils.py:807: RuntimeWarning: invalid value encountered in absolute z = abs(x-y) ........ ====================================================================== ERROR: matplotlib.tests.test_backend_pgf.test_pathclip ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/tests/test_backend_pgf.py", line 45, in backend_switcher result = func(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/tests/test_backend_pgf.py", line 146, in test_pathclip plt.savefig(os.path.join(result_dir, "pgf_pathclip.pdf")) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/pyplot.py", line 561, in savefig return fig.savefig(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/figure.py", line 1421, in savefig self.canvas.print_figure(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backend_bases.py", line 2220, in print_figure **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 865, in print_pdf self._print_pdf_to_fh(fh, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 823, in _print_pdf_to_fh self.print_pgf(fname_pgf, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 805, in print_pgf self._print_pgf_to_fh(fh, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 785, in _print_pgf_to_fh RendererPgf(self.figure, fh), File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 409, in __init__ self.latexManager = LatexManagerFactory.get_latex_manager() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 223, in get_latex_manager new_inst = LatexManager() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 309, in __init__ raise LatexError("LaTeX returned an error, probably missing font or error in preamble:\n%s" % stdout) LatexError: LaTeX returned an error, probably missing font or error in preamble: This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012) restricted \write18 enabled. **entering extended mode LaTeX2e <2011/06/27> Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, ibycus, arabi c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis h, french, friulan, galician, german, ngerman, swissgerman, monogreek, greek, h ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, ma rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portuguese, romanian, romansh, russian, sanskrit, serbian, serbianc, s lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded. *(/usr/local/texlive/2012/texmf-dist/tex/latex/base/minimal.cls Document Class: minimal 2001/05/25 Standard LaTeX minimal class ) (Please type a command or say `\end') * *(/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/expl3.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3names.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty)) (/usr/local/texlive/2012/texmf-dist/tex/latex/etex-pkg/etex.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/color.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg) (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xetex-def/xetex.def)) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/graphics.cfg)) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3basics.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3expan.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3tl.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3seq.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3int.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3quark.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prg.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3clist.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3token.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prop.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3msg.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3file.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3skip.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3keys.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3fp.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3box.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3coffins.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3color.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3luatex.sty)) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3packages/xparse/xparse.st y) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-patches.s ty (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fixltx2e.sty) ************************************************* * LaTeX warning: "xparse/redefine-command" * * Redefining document command \oldstylenums with arg. spec. 'm' on line 107. ************************************************* ) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1enc.def) (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmr.fd)) (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xunicode/xunicode.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/tipa/t3enc.def (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmss.fd)) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty))) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.cfg))) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" ! ! The font "Bitstream Vera Serif" cannot be found. ! ! See the fontspec documentation for further information. ! ! For immediate help type H <return>. !............................................... <*> \setmainfont{Bitstream Vera Serif} No pages of output. Transcript written on texput.log. ====================================================================== ERROR: matplotlib.tests.test_backend_pgf.test_mixedmode ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/tests/test_backend_pgf.py", line 45, in backend_switcher result = func(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/tests/test_backend_pgf.py", line 158, in test_mixedmode compare_figure('pgf_mixedmode.pdf') File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/tests/test_backend_pgf.py", line 56, in compare_figure plt.savefig(actual) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/pyplot.py", line 561, in savefig return fig.savefig(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/figure.py", line 1421, in savefig self.canvas.print_figure(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backend_bases.py", line 2220, in print_figure **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 865, in print_pdf self._print_pdf_to_fh(fh, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 823, in _print_pdf_to_fh self.print_pgf(fname_pgf, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 805, in print_pgf self._print_pgf_to_fh(fh, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 785, in _print_pgf_to_fh RendererPgf(self.figure, fh), File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 409, in __init__ self.latexManager = LatexManagerFactory.get_latex_manager() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 223, in get_latex_manager new_inst = LatexManager() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 309, in __init__ raise LatexError("LaTeX returned an error, probably missing font or error in preamble:\n%s" % stdout) LatexError: LaTeX returned an error, probably missing font or error in preamble: This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012) restricted \write18 enabled. **entering extended mode LaTeX2e <2011/06/27> Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, ibycus, arabi c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis h, french, friulan, galician, german, ngerman, swissgerman, monogreek, greek, h ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, ma rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portuguese, romanian, romansh, russian, sanskrit, serbian, serbianc, s lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded. *(/usr/local/texlive/2012/texmf-dist/tex/latex/base/minimal.cls Document Class: minimal 2001/05/25 Standard LaTeX minimal class ) (Please type a command or say `\end') * *(/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/expl3.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3names.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty)) (/usr/local/texlive/2012/texmf-dist/tex/latex/etex-pkg/etex.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/color.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg) (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xetex-def/xetex.def)) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/graphics.cfg)) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3basics.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3expan.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3tl.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3seq.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3int.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3quark.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prg.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3clist.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3token.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prop.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3msg.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3file.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3skip.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3keys.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3fp.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3box.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3coffins.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3color.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3luatex.sty)) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3packages/xparse/xparse.st y) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-patches.s ty (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fixltx2e.sty) ************************************************* * LaTeX warning: "xparse/redefine-command" * * Redefining document command \oldstylenums with arg. spec. 'm' on line 107. ************************************************* ) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1enc.def) (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmr.fd)) (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xunicode/xunicode.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/tipa/t3enc.def (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmss.fd)) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty))) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.cfg))) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" ! ! The font "Bitstream Vera Serif" cannot be found. ! ! See the fontspec documentation for further information. ! ! For immediate help type H <return>. !............................................... <*> \setmainfont{Bitstream Vera Serif} No pages of output. Transcript written on texput.log. ====================================================================== FAIL: matplotlib.tests.test_backend_pdf.test_use14corefonts.test ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/testing/decorators.py", line 40, in failer result = f(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/testing/decorators.py", line 159, in do_test '(RMS %(rms).3f)'%err) ImageComparisonFailure: images not close: /Users/rowen/result_images/test_backend_pdf/pdf_use14corefonts_pdf.png vs. /Users/rowen/result_images/test_backend_pdf/pdf_use14corefonts-expected_p df.png (RMS 49.430) ====================================================================== FAIL: matplotlib.tests.test_text.test_font_styles.test ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/testing/decorators.py", line 40, in failer result = f(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/testing/decorators.py", line 159, in do_test '(RMS %(rms).3f)'%err) ImageComparisonFailure: images not close: /Users/rowen/result_images/test_text/font_styles.png vs. /Users/rowen/result_images/test_text/font_styles-expected.png (RMS 13.676) ====================================================================== FAIL: matplotlib.tests.test_text.test_font_styles.test ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/testing/decorators.py", line 40, in failer result = f(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/testing/decorators.py", line 159, in do_test '(RMS %(rms).3f)'%err) ImageComparisonFailure: images not close: /Users/rowen/result_images/test_text/font_styles_pdf.png vs. /Users/rowen/result_images/test_text/font_styles-expected_pdf.png (RMS 14.120) ---------------------------------------------------------------------- Ran 1458 tests in 715.550s FAILED (KNOWNFAIL=2, errors=2, failures=3) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/__init__.py:1141: UserWarning: This call to matplotlib.use() has no effect because the the backend has already been chosen; matplotlib.use() must be called *before* pylab, matplotlib.pyplot, or matplotlib.backends is imported for the first time. warnings.warn(_use_error_msg) localhost$ ------------ example of failure when building on 10.8 and running on 10.6: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/nose/loader.py", line 402, in loadTestsFromName module = resolve_name(addr.module) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/nose/util.py", line 321, in resolve_name obj = getattr(obj, part) AttributeError: 'module' object has no attribute 'test_agg' |
From: Michael D. <md...@st...> - 2013-07-22 22:55:11
|
On 07/22/2013 05:59 PM, Russell E. Owen wrote: > In article <51E...@st...>, > Michael Droettboom <md...@st...> > wrote: > >> At long last, I have a 1.3.0rc5 tagged. I really hope to the software >> deities that this is the last rc before final. >> >> If you wouldn't mind creating and posting the binaries, I'll make an >> announcment on matplotlib-users, give this a week and then put final out. > I have uploaded a binary for MacOS X 10.6 and later. > > > There were a few oddities this time around: > - matplotlib now requires pyparsing. I don't remember that being a > requirement before -- even for previous 1.3 candidates. It's been a requirement for time immemorial, but only in 1.3.0 (all of the release candidates) has it become an external dependency. What error occurred that suggests something changed? > > - I had a lot of trouble with matplotlib complaining that dateutil was > not present, even though it was in my site-packages. So I tried to > reinstall it using pip install -U dateutil. Unfortunately pip has never > heard of "dateutil". After some searching I realized the package name is > actually "python-dateutil" (and not dateutils, which is a different > package, alas). Even then, I had to install/upgrade it twice -- for some > reason matplotlib couldn't find it at first. Very puzzling. I have no > idea what was going on, but also didn't want to spend a lot of time > trying to debug it. Does `python setup.py install` (of matplotlib) not install it automatically? We are bearing all the pain of setuptools in order for that to happen, so if it's not, that's a real problem. > > - I get a few unit tests failures, including a slew of > DeprecationWarnings about Operator '<<' that I don't remember seeing > before. I have appended the test log. That's probably related to pyparsing 2.0.1 (released just this week). I'd like to fix those warnings, but then we'd have to *require* pyparsing 2.0.1 (no earlier Python 2.x release of pyparsing includes an alternative syntax). I think pyparsing moved too quickly on this one, but I'm not sure what we can do about it. It does make me long for the days when we included our dependencies so we have some control over this stuff. > > - I first tried building on 10.8 and running on 10.6 (since that's much > simpler for me). Unfortunately it doesn't work; on 10.6 it acts as if > the unit tests themselves aren't part of the package. I have no idea > why. I appended a log snippet showing the basic message, but I haven't > looked into it further. This sounds worth spending some time tracking > down. That's a puzzler. I've seen that crop up on Travis erratically as well, but not consistently. It's not clear what's going on here -- will have to think on it. Thanks for all of your work on this! Mike > > -- Russell > > > Log of unit tests, with a few \n inserted for readability. > This is for a package built on 10.6 and running on 10.8. > > python -c "import matplotlib as m ; m.test(verbosity=1)" > ......................................................... > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/mathtext.py:2182: DeprecationWarning: Operator '<<' is > deprecated, use '<<=' instead > float_literal << Regex(r"[-+]?([0-9]+\.?[0-9]*|\.[0-9]+)") > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/mathtext.py:2183: DeprecationWarning: Operator '<<' is > deprecated, use '<<=' instead > int_literal << Regex("[-+]?[0-9]+") > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/mathtext.py:2185: DeprecationWarning: Operator '<<' is > deprecated, use '<<=' instead > lbrace << Literal('{').suppress() > ...(and 40-odd more examples of the same that I omitted)... > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/mathtext.py:2319: DeprecationWarning: Operator '<<' is > deprecated, use '<<=' instead > main << (non_math + ZeroOrMore(math_string + non_math)) + > StringEnd() > ......................................................................... > ......................................................................... > ...................... > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/font_manager.py:1236: UserWarning: findfont: Font family > ['sans-serif'] not found. Falling back to Helvetica > (prop.get_family(), self.defaultFamily[fontext])) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not > match > :family=Helvetica:style=normal:variant=normal:weight=normal:stretch=norma > l:size=medium. Returning > /Applications/TUI.app/Contents/Resources/mpl-data/fonts/afm/putri8a.afm > UserWarning) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not > match > :family=Helvetica:style=normal:variant=normal:weight=normal:stretch=norma > l:size=24.0. Returning > /Applications/TUI.app/Contents/Resources/mpl-data/fonts/afm/putri8a.afm > UserWarning) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not > match > :family=Helvetica:style=normal:variant=normal:weight=normal:stretch=norma > l:size=large. Returning > /Applications/TUI.app/Contents/Resources/mpl-data/fonts/afm/putri8a.afm > UserWarning) > F...kpathsea: Invalid fontname `Bitstream Vera Serif', contains ' ' > Ekpathsea: Invalid fontname `Bitstream Vera Serif', contains ' ' > EK.....K................................................................. > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ..................................... > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/numpy/ma/core.py:777: RuntimeWarning: invalid value encountered in > absolute > return umath.absolute(a) * self.tolerance >= umath.absolute(b) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/numpy/ma/core.py:3791: UserWarning: Warning: converting a masked > element to nan. > warnings.warn("Warning: converting a masked element to nan.") > ............... > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/font_manager.py:1236: UserWarning: findfont: Font family > ['sans-serif'] not found. Falling back to Bitstream Vera Sans > (prop.get_family(), self.defaultFamily[fontext])) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not > match :family=Bitstream Vera > Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=14.0. > Returning > /Applications/TUI.app/Contents/Resources/mpl-data/fonts/ttf/Vera.ttf > UserWarning) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not > match :family=Bitstream Vera > Sans:style=normal:variant=normal:weight=bold:stretch=500:size=14.0. > Returning > /Applications/TUI.app/Contents/Resources/mpl-data/fonts/ttf/Vera.ttf > UserWarning) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/font_manager.py:1236: UserWarning: findfont: Font family > ['sans serif'] not found. Falling back to Bitstream Vera Sans > (prop.get_family(), self.defaultFamily[fontext])) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not > match :family=Bitstream Vera > Sans:style=italic:variant=normal:weight=750:stretch=500:size=14.0. > Returning > /Applications/TUI.app/Contents/Resources/mpl-data/fonts/ttf/Vera.ttf > UserWarning) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not > match :family=Bitstream Vera > Sans:style=normal:variant=normal:weight=200:stretch=500:size=14.0. > Returning > /Applications/TUI.app/Contents/Resources/mpl-data/fonts/ttf/Vera.ttf > UserWarning) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/font_manager.py:1246: UserWarning: findfont: Could not > match :family=Bitstream Vera > Sans:style=normal:variant=normal:weight=500:stretch=100:size=14.0. > Returning > /Applications/TUI.app/Contents/Resources/mpl-data/fonts/ttf/Vera.ttf > UserWarning) > FF........................... > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/gridspec.py:298: UserWarning: This figure includes Axes > that are not compatible with tight_layout, so its results might be > incorrect. > warnings.warn("This figure includes Axes that are not " > ............................................ > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/numpy/testing/utils.py:807: RuntimeWarning: invalid value > encountered in absolute > z = abs(x-y) > ........ > ====================================================================== > ERROR: matplotlib.tests.test_backend_pgf.test_pathclip > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/tests/test_backend_pgf.py", line 45, in backend_switcher > result = func(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/tests/test_backend_pgf.py", line 146, in test_pathclip > plt.savefig(os.path.join(result_dir, "pgf_pathclip.pdf")) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/pyplot.py", line 561, in savefig > return fig.savefig(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/figure.py", line 1421, in savefig > self.canvas.print_figure(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backend_bases.py", line 2220, in print_figure > **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 865, in print_pdf > self._print_pdf_to_fh(fh, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 823, in _print_pdf_to_fh > self.print_pgf(fname_pgf, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 805, in print_pgf > self._print_pgf_to_fh(fh, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 785, in _print_pgf_to_fh > RendererPgf(self.figure, fh), > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 409, in __init__ > self.latexManager = LatexManagerFactory.get_latex_manager() > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 223, in get_latex_manager > new_inst = LatexManager() > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 309, in __init__ > raise LatexError("LaTeX returned an error, probably missing font or > error in preamble:\n%s" % stdout) > LatexError: LaTeX returned an error, probably missing font or error in > preamble: > This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012) > restricted \write18 enabled. > **entering extended mode > LaTeX2e <2011/06/27> > Babel <v3.8m> and hyphenation patterns for english, dumylang, > nohyphenation, ge > rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, > ibycus, arabi > c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, > czech, danis > h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, > finnis > h, french, friulan, galician, german, ngerman, swissgerman, monogreek, > greek, h > ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, > malayalam, ma > rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, > italian, > kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, > nynorsk, > polish, portuguese, romanian, romansh, russian, sanskrit, serbian, > serbianc, s > lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, > uppersorbian, > welsh, loaded. > > *(/usr/local/texlive/2012/texmf-dist/tex/latex/base/minimal.cls > Document Class: minimal 2001/05/25 Standard LaTeX minimal class > ) > (Please type a command or say `\end') > * > *(/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/expl3.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3names.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/etex-pkg/etex.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/color.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg) > (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xetex-def/xetex.def)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/graphics.cfg)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3basics.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3expan.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3tl.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3seq.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3int.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3quark.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prg.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3clist.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3token.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prop.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3msg.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3file.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3skip.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3keys.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3fp.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3box.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3coffins.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3color.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3luatex.sty)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3packages/xparse/xparse.st > y) > (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-patches.s > ty > (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fixltx2e.sty) > ************************************************* > * LaTeX warning: "xparse/redefine-command" > * > * Redefining document command \oldstylenums with arg. spec. 'm' on line > 107. > ************************************************* > ) > (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1enc.def) > (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmr.fd)) > (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xunicode/xunicode.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/tipa/t3enc.def > (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmss.fd)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty))) > (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.cfg))) > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > ! > ! fontspec error: "font-not-found" > ! > ! The font "Bitstream Vera Serif" cannot be found. > ! > ! See the fontspec documentation for further information. > ! > ! For immediate help type H <return>. > !............................................... > > <*> \setmainfont{Bitstream Vera Serif} > > No pages of output. > Transcript written on texput.log. > > > ====================================================================== > ERROR: matplotlib.tests.test_backend_pgf.test_mixedmode > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/tests/test_backend_pgf.py", line 45, in backend_switcher > result = func(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/tests/test_backend_pgf.py", line 158, in test_mixedmode > compare_figure('pgf_mixedmode.pdf') > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/tests/test_backend_pgf.py", line 56, in compare_figure > plt.savefig(actual) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/pyplot.py", line 561, in savefig > return fig.savefig(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/figure.py", line 1421, in savefig > self.canvas.print_figure(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backend_bases.py", line 2220, in print_figure > **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 865, in print_pdf > self._print_pdf_to_fh(fh, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 823, in _print_pdf_to_fh > self.print_pgf(fname_pgf, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 805, in print_pgf > self._print_pgf_to_fh(fh, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 785, in _print_pgf_to_fh > RendererPgf(self.figure, fh), > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 409, in __init__ > self.latexManager = LatexManagerFactory.get_latex_manager() > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 223, in get_latex_manager > new_inst = LatexManager() > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 309, in __init__ > raise LatexError("LaTeX returned an error, probably missing font or > error in preamble:\n%s" % stdout) > LatexError: LaTeX returned an error, probably missing font or error in > preamble: > This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012) > restricted \write18 enabled. > **entering extended mode > LaTeX2e <2011/06/27> > Babel <v3.8m> and hyphenation patterns for english, dumylang, > nohyphenation, ge > rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, > ibycus, arabi > c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, > czech, danis > h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, > finnis > h, french, friulan, galician, german, ngerman, swissgerman, monogreek, > greek, h > ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, > malayalam, ma > rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, > italian, > kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, > nynorsk, > polish, portuguese, romanian, romansh, russian, sanskrit, serbian, > serbianc, s > lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, > uppersorbian, > welsh, loaded. > > *(/usr/local/texlive/2012/texmf-dist/tex/latex/base/minimal.cls > Document Class: minimal 2001/05/25 Standard LaTeX minimal class > ) > (Please type a command or say `\end') > * > *(/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/expl3.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3names.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/etex-pkg/etex.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/color.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg) > (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xetex-def/xetex.def)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/graphics.cfg)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3basics.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3expan.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3tl.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3seq.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3int.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3quark.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prg.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3clist.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3token.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prop.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3msg.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3file.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3skip.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3keys.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3fp.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3box.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3coffins.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3color.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3luatex.sty)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3packages/xparse/xparse.st > y) > (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-patches.s > ty > (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fixltx2e.sty) > ************************************************* > * LaTeX warning: "xparse/redefine-command" > * > * Redefining document command \oldstylenums with arg. spec. 'm' on line > 107. > ************************************************* > ) > (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1enc.def) > (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmr.fd)) > (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xunicode/xunicode.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/tipa/t3enc.def > (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmss.fd)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty))) > (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.cfg))) > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > ! > ! fontspec error: "font-not-found" > ! > ! The font "Bitstream Vera Serif" cannot be found. > ! > ! See the fontspec documentation for further information. > ! > ! For immediate help type H <return>. > !............................................... > > <*> \setmainfont{Bitstream Vera Serif} > > No pages of output. > Transcript written on texput.log. > > > ====================================================================== > FAIL: matplotlib.tests.test_backend_pdf.test_use14corefonts.test > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/testing/decorators.py", line 40, in failer > result = f(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/testing/decorators.py", line 159, in do_test > '(RMS %(rms).3f)'%err) > ImageComparisonFailure: images not close: > /Users/rowen/result_images/test_backend_pdf/pdf_use14corefonts_pdf.png > vs. > /Users/rowen/result_images/test_backend_pdf/pdf_use14corefonts-expected_p > df.png (RMS 49.430) > > ====================================================================== > FAIL: matplotlib.tests.test_text.test_font_styles.test > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/testing/decorators.py", line 40, in failer > result = f(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/testing/decorators.py", line 159, in do_test > '(RMS %(rms).3f)'%err) > ImageComparisonFailure: images not close: > /Users/rowen/result_images/test_text/font_styles.png vs. > /Users/rowen/result_images/test_text/font_styles-expected.png (RMS > 13.676) > > ====================================================================== > FAIL: matplotlib.tests.test_text.test_font_styles.test > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/testing/decorators.py", line 40, in failer > result = f(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/testing/decorators.py", line 159, in do_test > '(RMS %(rms).3f)'%err) > ImageComparisonFailure: images not close: > /Users/rowen/result_images/test_text/font_styles_pdf.png vs. > /Users/rowen/result_images/test_text/font_styles-expected_pdf.png (RMS > 14.120) > > ---------------------------------------------------------------------- > Ran 1458 tests in 715.550s > > FAILED (KNOWNFAIL=2, errors=2, failures=3) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/__init__.py:1141: UserWarning: This call to > matplotlib.use() has no effect > because the the backend has already been chosen; > matplotlib.use() must be called *before* pylab, matplotlib.pyplot, > or matplotlib.backends is imported for the first time. > > warnings.warn(_use_error_msg) > localhost$ > > > > > ------------ > > example of failure when building on 10.8 and running on 10.6: > Traceback (most recent call last): > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/nose/loader.py", line 402, in loadTestsFromName > module = resolve_name(addr.module) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/nose/util.py", line 321, in resolve_name > obj = getattr(obj, part) > AttributeError: 'module' object has no attribute 'test_agg' > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel |
From: Benjamin R. <ben...@ou...> - 2013-07-23 19:33:49
|
Just checked out rc5 from git and did an install, and ran into a pyparsing version check issue. Turns out I completely forgot to do a "git clean -fxd". Doing that fixed the problem. When we officially announce this, perhaps it would be best to mention that command? In addition, it would probably be a good idea to include this tidbit into the INSTALL? Cheers! Ben Root |
From: Michiel de H. <mjl...@ya...> - 2013-07-24 03:16:28
|
I noticed that this release candidate will always skip the Mac OS X backend, as the .check() method of BackendMacOSX in setupext.py returns None. Adding return "darwin" or some other string solves the issue. Also, if I am not mistaken, the files under lib/matplotlib/backends/Matplotlib.nib (as returned by the get_package_data() method of BackendMacOSX in setupext.py) are needed by the cocoaagg backend, not by the MacOSX backend. Best, -Michiel. _______________________________________________ Matplotlib-devel mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-devel |
From: Michael D. <md...@st...> - 2013-07-24 13:52:11
|
Would you mind testing https://github.com/matplotlib/matplotlib/pull/2250 On 07/23/2013 11:16 PM, Michiel de Hoon wrote: > I noticed that this release candidate will always skip the Mac OS X > backend, > as the .check() method of BackendMacOSX in setupext.py returns None. > Adding > return "darwin" > or some other string solves the issue. > Also, if I am not mistaken, the files under > lib/matplotlib/backends/Matplotlib.nib (as returned by the > get_package_data() method of BackendMacOSX in setupext.py) are needed > by the cocoaagg backend, not by the MacOSX backend. |
From: Michael D. <md...@st...> - 2013-07-24 13:43:31
|
Thanks. I will address these issues before final. None of this is new -- we've gone through 5 release candidates over many weeks. Why is this just coming to light now? Mike On 07/23/2013 11:16 PM, Michiel de Hoon wrote: > I noticed that this release candidate will always skip the Mac OS X > backend, > as the .check() method of BackendMacOSX in setupext.py returns None. > Adding > return "darwin" > or some other string solves the issue. > Also, if I am not mistaken, the files under > lib/matplotlib/backends/Matplotlib.nib (as returned by the > get_package_data() method of BackendMacOSX in setupext.py) are needed > by the cocoaagg backend, not by the MacOSX backend. > > Best, > -Michiel. > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > <mailto:Mat...@li...> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > |
From: Michael D. <md...@st...> - 2013-07-24 13:43:45
|
On 07/23/2013 03:33 PM, Benjamin Root wrote: > Just checked out rc5 from git and did an install, and ran into a > pyparsing version check issue. What was the issue? Is it that you had 2.0.1 which rc5 still considers to be incompatible with Python 2? I'd like to know specifically what happened in case there's a deeper issue. > Turns out I completely forgot to do a "git clean -fxd". Doing that > fixed the problem. Interesting. I guess this would depend on what version you were on before the switch to rc5. If 1.2.x, I'm not surprised (since pyparsing was included in the source tree then). If master, I'm not sure what the cause would be. > When we officially announce this, perhaps it would be best to > mention that command? In addition, it would probably be a good idea > to include this tidbit into the INSTALL? But that only applies to users of git (in which case this is very often an issue), and not users who download the tarball or package. I think it makes sense to add it to the developer docs, not the INSTALL docs. Mike |
From: Benjamin R. <ben...@ou...> - 2013-07-24 14:45:57
|
On Wed, Jul 24, 2013 at 9:39 AM, Michael Droettboom <md...@st...> wrote: > On 07/23/2013 03:33 PM, Benjamin Root wrote: > > Just checked out rc5 from git and did an install, and ran into a > pyparsing version check issue. > > > What was the issue? Is it that you had 2.0.1 which rc5 still considers to > be incompatible with Python 2? I'd like to know specifically what happened > in case there's a deeper issue. > > > It claimed I didn't meet the minimum pyparsing version needed when I tried importing matplotlib after installing from source. However, importing pyparsing on its own yielded a version slightly above the minimum (I forget the actual numbers). I had also just came from an build of an older version of matplotlib. Ben |
From: Chris B. <bea...@ha...> - 2013-07-24 14:57:45
|
Same with me. I had a stale pyparsing.pyc file in the MPL source directory (presumably from an old MPL version) whose version # was too old. When mpl tried to 'import pyparsing', it found that version, and raised an error. Of course, if I tried "import pyparsing; print pyparsing.__version__" from my home directory, python found a more recent pyparsing. So the error message was a little confusing. I only think this is going to effect people building from the Git source, who have the old pyparsing.pyc file. On Wed, Jul 24, 2013 at 10:45 AM, Benjamin Root <ben...@ou...> wrote: > > > > On Wed, Jul 24, 2013 at 9:39 AM, Michael Droettboom <md...@st...>wrote: > >> On 07/23/2013 03:33 PM, Benjamin Root wrote: >> >> Just checked out rc5 from git and did an install, and ran into a >> pyparsing version check issue. >> >> >> What was the issue? Is it that you had 2.0.1 which rc5 still considers >> to be incompatible with Python 2? I'd like to know specifically what >> happened in case there's a deeper issue. >> >> >> > It claimed I didn't meet the minimum pyparsing version needed when I tried > importing matplotlib after installing from source. However, importing > pyparsing on its own yielded a version slightly above the minimum (I forget > the actual numbers). I had also just came from an build of an older > version of matplotlib. > > Ben > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > -- ************************************ Chris Beaumont Graduate Student Institute for Astronomy University of Hawaii at Manoa 2680 Woodlawn Drive Honolulu, HI 96822 www.ifa.hawaii.edu/~beaumont ************************************ |
From: Nelle V. <nel...@gm...> - 2013-07-24 15:21:37
|
We could update the makefile so that make clean really cleans up the installation "junk" before installing a new version. I personnally would find it very useful, but the makefile needs a bit of love. Typically "make" would run make clean and make install. I can work on that if people agree that having a nice makefile would be useful. Cheers, N On 24 July 2013 16:57, Chris Beaumont <bea...@ha...> wrote: > Same with me. I had a stale pyparsing.pyc file in the MPL source directory > (presumably from an old MPL version) whose version # was too old. When mpl > tried to 'import pyparsing', it found that version, and raised an error. Of > course, if I tried "import pyparsing; print pyparsing.__version__" from my > home directory, python found a more recent pyparsing. So the error message > was a little confusing. > > I only think this is going to effect people building from the Git source, > who have the old pyparsing.pyc file. > > > On Wed, Jul 24, 2013 at 10:45 AM, Benjamin Root <ben...@ou...> wrote: > >> >> >> >> On Wed, Jul 24, 2013 at 9:39 AM, Michael Droettboom <md...@st...>wrote: >> >>> On 07/23/2013 03:33 PM, Benjamin Root wrote: >>> >>> Just checked out rc5 from git and did an install, and ran into a >>> pyparsing version check issue. >>> >>> >>> What was the issue? Is it that you had 2.0.1 which rc5 still considers >>> to be incompatible with Python 2? I'd like to know specifically what >>> happened in case there's a deeper issue. >>> >>> >>> >> It claimed I didn't meet the minimum pyparsing version needed when I >> tried importing matplotlib after installing from source. However, importing >> pyparsing on its own yielded a version slightly above the minimum (I forget >> the actual numbers). I had also just came from an build of an older >> version of matplotlib. >> >> Ben >> >> >> ------------------------------------------------------------------------------ >> See everything from the browser to the database with AppDynamics >> Get end-to-end visibility with application monitoring from AppDynamics >> Isolate bottlenecks and diagnose root cause in seconds. >> Start your free trial of AppDynamics Pro today! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >> _______________________________________________ >> Matplotlib-devel mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >> >> > > > -- > ************************************ > Chris Beaumont > Graduate Student > Institute for Astronomy > University of Hawaii at Manoa > 2680 Woodlawn Drive > Honolulu, HI 96822 > www.ifa.hawaii.edu/~beaumont > ************************************ > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > |
From: Michiel de H. <mjl...@ya...> - 2013-07-24 15:36:42
|
Hi Michael, > Thanks. I will address these issues before final. Thanks. > None of this is new -- we've gone through 5 release candidates over many weeks. Why is this just coming to light now? The output of running "python setup.py build" passes by quickly, and people (including myself) did not notice that the MacOSX backend was not being compiled. And then if an older version of matplotlib is already installed, everything seems to be working fine. I noticed this problem today only because I was installing matplotlib on a new Macbook. Best, -Michiel. ________________________________ From: Michael Droettboom <md...@st...> To: Michiel de Hoon <mjl...@ya...> Cc: Benjamin Root <ben...@ou...>; "mat...@li..." <mat...@li...> Sent: Wednesday, July 24, 2013 10:36 PM Subject: Re: [matplotlib-devel] 1.3.0rc5 tagged Thanks. I will address these issues before final. None of this is new -- we've gone through 5 release candidates over many weeks. Why is this just coming to light now? Mike On 07/23/2013 11:16 PM, Michiel de Hoon wrote: I noticed that this release candidate will always skip the Mac OS X backend, >as the .check() method of BackendMacOSX in setupext.py returns None. Adding > return "darwin" >or some other string solves the issue. >Also, if I am not mistaken, the files under lib/matplotlib/backends/Matplotlib.nib (as returned by the get_package_data() method of BackendMacOSX in setupext.py) are needed by the cocoaagg backend, not by the MacOSX backend. > >Best, >-Michiel. >_______________________________________________ > >Matplotlib-devel mailing list >Mat...@li... >https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > > |
From: Michael D. <md...@st...> - 2013-07-24 15:51:23
|
On 07/24/2013 11:36 AM, Michiel de Hoon wrote: > Hi Michael, > > > Thanks. I will address these issues before final. > > Thanks. > > >None of this is new -- we've gone through 5 release candidates over > many weeks. Why is this just coming to light now? > > The output of running "python setup.py build" passes by quickly, and > people (including myself) did not notice that the MacOSX backend was > not being compiled. > And then if an older version of matplotlib is already installed, > everything seems to be working fine. > I noticed this problem today only because I was installing matplotlib > on a new Macbook. Ah, that makes sense. Hopefully as part of doing some automated Mac builds we can be testing clean installs etc. and catch this kind of thing sooner in the future. Mike > > Best, > -Michiel. > > ------------------------------------------------------------------------ > *From:* Michael Droettboom <md...@st...> > *To:* Michiel de Hoon <mjl...@ya...> > *Cc:* Benjamin Root <ben...@ou...>; > "mat...@li..." > <mat...@li...> > *Sent:* Wednesday, July 24, 2013 10:36 PM > *Subject:* Re: [matplotlib-devel] 1.3.0rc5 tagged > > Thanks. I will address these issues before final. > > None of this is new -- we've gone through 5 release candidates over > many weeks. Why is this just coming to light now? > > Mike > > On 07/23/2013 11:16 PM, Michiel de Hoon wrote: >> I noticed that this release candidate will always skip the Mac OS X >> backend, >> as the .check() method of BackendMacOSX in setupext.py returns None. >> Adding >> return "darwin" >> or some other string solves the issue. >> Also, if I am not mistaken, the files under >> lib/matplotlib/backends/Matplotlib.nib (as returned by the >> get_package_data() method of BackendMacOSX in setupext.py) are needed >> by the cocoaagg backend, not by the MacOSX backend. >> >> Best, >> -Michiel. >> _______________________________________________ >> Matplotlib-devel mailing list >> Mat...@li... >> <mailto:Mat...@li...> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >> >> > > > |
From: Russell E. O. <ro...@uw...> - 2013-07-24 19:17:54
|
In article <51E...@st...>, Michael Droettboom <md...@st...> wrote: > On 07/22/2013 05:59 PM, Russell E. Owen wrote: > > In article <51E...@st...>, > > Michael Droettboom <md...@st...> > > wrote: > > > >> At long last, I have a 1.3.0rc5 tagged. I really hope to the software > >> deities that this is the last rc before final. > >> > >> If you wouldn't mind creating and posting the binaries, I'll make an > >> announcment on matplotlib-users, give this a week and then put final out. > > I have uploaded a binary for MacOS X 10.6 and later. > > > > > > There were a few oddities this time around: > > - matplotlib now requires pyparsing. I don't remember that being a > > requirement before -- even for previous 1.3 candidates. > > It's been a requirement for time immemorial, but only in 1.3.0 (all of > the release candidates) has it become an external dependency. What error > occurred that suggests something changed? I suspect what changed is you don't include it anymore (but I would have expected that change in earlier 1.3.0 prereleases). >> - I had a lot of trouble with matplotlib complaining that dateutil was > > not present, even though it was in my site-packages. So I tried to > > reinstall it using pip install -U dateutil. Unfortunately pip has never > > heard of "dateutil". After some searching I realized the package name is > > actually "python-dateutil" (and not dateutils, which is a different > > package, alas). Even then, I had to install/upgrade it twice -- for some > > reason matplotlib couldn't find it at first. Very puzzling. I have no > > idea what was going on, but also didn't want to spend a lot of time > > trying to debug it. > > Does `python setup.py install` (of matplotlib) not install it > automatically? We are bearing all the pain of setuptools in order for > that to happen, so if it's not, that's a real problem. I am building a binary installer, so I don't use "python setup.py install". I use bdist_mpkg, which presumably does something similar to "python setup.py build" and packages the results (without installing them). In any case, I need to know which packages matplotlib needs so I can warn users to install them in the binary installer's ReadMe file. The list is rather long. I miss having this stuff included in matplotlib. At this point I know of the following (aside from numpy): - python-dateutil (unfortunately matplotlib complains about missing "dateutil" if it's absent; it would help to give the name of the package as known by pip, rather than what is imported) - pytz - six - pyparsing > > - I get a few unit tests failures, including a slew of > > DeprecationWarnings about Operator '<<' that I don't remember seeing > > before. I have appended the test log. > > That's probably related to pyparsing 2.0.1 (released just this week). > I'd like to fix those warnings, but then we'd have to *require* > pyparsing 2.0.1 (no earlier Python 2.x release of pyparsing includes an > alternative syntax). I think pyparsing moved too quickly on this one, > but I'm not sure what we can do about it. It does make me long for the > days when we included our dependencies so we have some control over this > stuff. Great. This sounds innocuous. > > - I first tried building on 10.8 and running on 10.6 (since that's much > > simpler for me). Unfortunately it doesn't work; on 10.6 it acts as if > > the unit tests themselves aren't part of the package. I have no idea > > why. I appended a log snippet showing the basic message, but I haven't > > looked into it further. This sounds worth spending some time tracking > > down. > > That's a puzzler. I've seen that crop up on Travis erratically as well, > but not consistently. It's not clear what's going on here -- will have > to think on it. I'm not sure how to diagnose this, but if you have any ideas, let me know. (Though I should probably read the rest of the messages on this thread before saying that.) -- Russell |