From: "Peter V. Saveliev" <peet@altlinux.ru>
To: devel@lists.altlinux.org
Subject: [devel] python deps
Date: Tue, 2 Oct 2007 18:15:58 +0400
Message-ID: <200710021815.59087.peet@altlinux.ru> (raw)
...
Я собираю пакет, который несёт в себе кучу питонических модулей в виде глубоко
вложенной иерархии.
После сборки пакета, выставляется Provides: вида "configure.network.routing" и
т.п. и т.д. Пока всё логично и нормально.
Однако, в одном месте иерархии один модуль импортирует другой модуль из этой
же иерархии. Будучи на директорию выше, он делает всего лишь
from interfaces import template
За что на пакет вешается Requires: python2.4(interfaces). Но этот пакет
Provides не python2.4(interfaces), a python2.4(configure.network.interfaces).
В итоге -- unmet.
Логику происходящего я понимаю, но это вовсе не тот результат, которого я
ожидал. Импорт модуля в пределах одного пакета в случае глубокой иерархии --
дело обычное, и я не вижу в нём никакого криминала.
Пока что я завернул этот import в try: except:, но, по моему убеждению, это
жестокий хак.
Вопрос: что делать? Куда копать?
--
Peter V. Saveliev
next reply other threads:[~2007-10-02 14:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-02 14:15 Peter V. Saveliev [this message]
2007-10-02 14:30 ` Damir Shayhutdinov
2007-10-02 16:48 ` Alexey Tourbin
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=200710021815.59087.peet@altlinux.ru \
--to=peet@altlinux.ru \
--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