[devel] Обновление numpy и matplotlib

Ivan Zakharyaschev imz на altlinux.org
Вс Апр 16 11:43:28 MSK 2017


On Sun, 16 Apr 2017, Антон Мидюков wrote:

> Я не нашёл, какие пакеты зависят от этих провайдесов, потому собрал без них 
> сегодня. И эти модули к тому же не импортируются никак, по крайней мере в

В новой сборке благодаря Вашим улучшениям список Provides, не проходящих 
проверку, значительно сократился!

$ apt-repo --hsh-apt-config=/home/imz/.hasher/sisyphus/apt.conf test 181544 rpm-build-python3 python3-module-matplotlib
$ hsh-shell --mount=/proc,/dev/pts

[builder на localhost .in]$ /usr/lib/rpm/check-python3-provs-importable.sh python3-module-matplotlib; echo $?
matplotlib.backends.backend_cairo
matplotlib.pylab
matplotlib.pyplot
pylab
123
[builder на localhost python3 -c 'import matplotlib.pylab'
Traceback (most recent call last):
   File 
"/usr/lib64/python3/site-packages/matplotlib/backends/backend_gtk3.py", 
line 15, in <module>
     gi.require_version("Gtk", "3.0")
   File "/usr/lib64/python3/site-packages/gi/__init__.py", line 122, in 
require_version
     (namespace, version))
ValueError: Namespace Gtk not available for version 3.0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/usr/lib64/python3/site-packages/matplotlib/pylab.py", line 257, 
in <module>
     from matplotlib import cbook, mlab, pyplot as plt
   File "/usr/lib64/python3/site-packages/matplotlib/pyplot.py", line 115, 
in <module>
     _backend_mod, new_figure_manager, draw_if_interactive, _show = 
pylab_setup()
   File "/usr/lib64/python3/site-packages/matplotlib/backends/__init__.py", 
line 32, in pylab_setup
     globals(),locals(),[backend_name],0)
   File 
"/usr/lib64/python3/site-packages/matplotlib/backends/backend_gtk3cairo.py", 
line 6, in <module>
     from . import backend_gtk3
   File 
"/usr/lib64/python3/site-packages/matplotlib/backends/backend_gtk3.py", 
line 21, in <module>
     "Gtk3 backend requires the GObject introspection bindings for Gtk 3 "
ImportError: Gtk3 backend requires the GObject introspection bindings for 
Gtk 3 to be installed.
[builder на localhost .in]$ python3 -c 'import matplotlib.pyplot'
Traceback (most recent call last):
   File 
"/usr/lib64/python3/site-packages/matplotlib/backends/backend_gtk3.py", 
line 15, in <module>
     gi.require_version("Gtk", "3.0")
   File "/usr/lib64/python3/site-packages/gi/__init__.py", line 122, in 
require_version
     (namespace, version))
ValueError: Namespace Gtk not available for version 3.0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/usr/lib64/python3/site-packages/matplotlib/pyplot.py", line 115, 
in <module>
     _backend_mod, new_figure_manager, draw_if_interactive, _show = 
pylab_setup()
   File "/usr/lib64/python3/site-packages/matplotlib/backends/__init__.py", 
line 32, in pylab_setup
     globals(),locals(),[backend_name],0)
   File 
"/usr/lib64/python3/site-packages/matplotlib/backends/backend_gtk3cairo.py", 
line 6, in <module>
     from . import backend_gtk3
   File 
"/usr/lib64/python3/site-packages/matplotlib/backends/backend_gtk3.py", 
line 21, in <module>
     "Gtk3 backend requires the GObject introspection bindings for Gtk 3 "
ImportError: Gtk3 backend requires the GObject introspection bindings for 
Gtk 3 to be installed.
[builder на localhost .in]$ python3 -c 'import 
matplotlib.backends.backend_cairo'
Traceback (most recent call last):
   File 
"/usr/lib64/python3/site-packages/matplotlib/backends/backend_cairo.py", 
line 33, in <module>
     import cairocffi as cairo
ImportError: No module named 'cairocffi'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File 
"/usr/lib64/python3/site-packages/matplotlib/backends/backend_cairo.py", 
line 36, in <module>
     import cairo
ImportError: No module named 'cairo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File 
"/usr/lib64/python3/site-packages/matplotlib/backends/backend_cairo.py", 
line 38, in <module>
     raise ImportError("Cairo backend requires that cairocffi or pycairo is 
installed.")
ImportError: Cairo backend requires that cairocffi or pycairo is 
installed.
[builder на localhost .in]$


Подробная информация о списке рассылки Devel