From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: [devel] python-devel (Sisyphus-20070319 i586 beehive_status)
Date: Mon, 19 Mar 2007 20:02:49 +0300
Message-ID: <20070319170249.GI5965@solemn.turbinal> (raw)
In-Reply-To: <20070319160911.GA20252@basalt.office.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 3029 bytes --]
On Mon, Mar 19, 2007 at 07:09:11PM +0300, QA Team Robot wrote:
> Zope-2.7.7-alt1
> system-provided Python installation, you may want to look for a 'python-xml'
> or 'python-pyexpat' package (or something like it) and install it to make the
> pyexpat module available to Zope. If you've compiled your Python interpreter
> from source, you may need to recompile and reinstall it after installing James
> Clark's expat libraries and development packages (look for libexpat.so and
> expat.h). Typically, these come as part of your operating system's libexpat
> and libexpat-dev packages, respectively.
> Run the configure script with the --ignore-expat option to prevent this
> warning with the understanding that some Zope features may not work properly
> until you've installed the pyexpat module.
> python-ClientForm-0.1.16-alt1
> import sys, re, urlparse, copy, time, urllib, logging
> ImportError: No module named logging
>
> python-module-ClientForm-0.1.17-alt1
> import sys, re, urlparse, copy, time, urllib, logging
> ImportError: No module named logging
И т.п.
Здесь случилось вот что. Раньше пакет python-dev требовал пакет
python-base. А пакет python-base в свою очередь требовал пакет python,
который вытягивал python-stirct, который вытягивал "стандартную поставку
питона".
То есть, короче, получалось
python-dev -> python-base -> python -> python-strict -> python-modules*
Я разорвал круговую зависимость python-base <-> python. Теперь
оказалось, что python-devel больше не вытягивает стандартную поставку
питона.
Теперь внимание, посмотрим, что говорит policy:
2-Python_RPM.txt:
37 python-devel -- то, что необходимо для разработки на python;
3-Python_MODULE.txt:
11 3. Модуль должен содержать явно указанную зависимость на версию питона,
12 использованного при его сборке, такая зависимость вводится указанием
13 кляуз вида :
14
15 python = %__python_version
16
17 python-devel = %__python_version
5-Python_FAQ.txt:
321 1. Сборка любого питон-пакета должна проводится в средде,
322 содержащей python-devel;
Других относящихся к делу упоминаний python-dev или python-devel нету.
Иными словами, из полиси не ясно, должен ли пакет python-devel тянуть за
собой "стандартную поставку питона" или нет.
Поэтому возможны два варианта развития событий:
1) дешевый и не слишком грамотный, к которому в данном случае я однако
же склоняюсь: добить в python-devel зависимости на "полную поставку
питона".
2) правильный но сложный: пакет python-devel должен гарантировать
только distutils и при этом не требовать ничего кроме python-base.
Такая схема реализована в перле (perl-devel дает только сборочные
модули и зависит только от perl-base). В этом случае сборщикам
питоновых модулей, как и всем смертным, придется чаще орудовать
buildreq'ом.
Какие мнения будут по этому поводу?
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next parent reply other threads:[~2007-03-19 17:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-19 17:02 ` Alexey Tourbin [this message]
2007-03-19 17:20 ` Dmitry V. Levin
2007-03-19 21:31 ` [devel] q: post-4.0 "after"? Michael Shigorin
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=20070319170249.GI5965@solemn.turbinal \
--to=at@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