ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Обновление numpy и matplotlib
Date: Sun, 16 Apr 2017 11:43:28 +0300 (MSK)
Message-ID: <alpine.LFD.2.20.1704161137140.1081@imap.altlinux.org> (raw)
In-Reply-To: <99b393d5-c606-5bd0-d1a3-20736a9f050a@ya.ru>

[-- Attachment #1: Type: text/plain, Size: 4351 bytes --]

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]$

  parent reply	other threads:[~2017-04-16  8:43 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-13 14:00 Антон Мидюков
2017-04-14 10:00 ` Ivan Zakharyaschev
2017-04-16  1:58   ` Антон Мидюков
2017-04-16  7:01     ` Ivan Zakharyaschev
2017-04-16  7:48       ` Антон Мидюков
2017-04-16  8:30         ` Ivan Zakharyaschev
2017-04-16  8:43         ` Ivan Zakharyaschev [this message]
2017-04-16 13:32           ` Vladimir D. Seleznev
2017-04-16 14:49             ` Ivan Zakharyaschev
2017-04-16 15:26           ` Антон Мидюков
2017-04-16 16:42             ` Yuri Sedunov
2017-04-16 16:46             ` Ivan Zakharyaschev
2017-04-16 16:50             ` Dmitry V. Levin
2017-04-17  1:35               ` Антон Мидюков
2017-04-16 16:55           ` Ivan Zakharyaschev
2017-04-17  1:39             ` Антон Мидюков
2017-04-17  8:13               ` Ivan Zakharyaschev
2017-04-17  8:14                 ` Ivan Zakharyaschev
2017-04-17  8:49                   ` Антон Мидюков
2017-04-17  8:58                     ` Ivan Zakharyaschev
2017-04-17  9:00                     ` Антон Мидюков
2017-04-17  9:12                       ` Ivan Zakharyaschev
2017-04-28 12:31                         ` Антон Мидюков
2017-04-14 15:13 ` Michael Shigorin
2017-04-14 16:32   ` Ivan Zakharyaschev
2017-04-14 17:03     ` Michael Shigorin
2017-04-14 17:23       ` Ivan Zakharyaschev
2017-04-14 20:31         ` Ivan Zakharyaschev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.20.1704161137140.1081@imap.altlinux.org \
    --to=imz@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git