From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] /usr/bin/python и несколько питонов
Date: Fri, 23 Mar 2007 17:59:24 +0300
Message-ID: <20070323145924.GD6007@solemn.turbinal> (raw)
In-Reply-To: <20070323144311.GE19981@newmaster.mivlgu.local>
[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]
On Fri, Mar 23, 2007 at 05:43:11PM +0300, Sergey Vlasov wrote:
> А должен требовать конкретную версию питона (и никаких извращений вида
> #!/usr/bin/env python - всё должно быть с явным указанием версии).
Увы, такую конструкция не искоренить.
> Либо полный и окончательный запрет одновременного наличия нескольких
> питонов в репозитории.
У меня созрело промежуточное решение "только один /usr/bin/python в
репозитарии", а /usr/bin/pythonX.Y может быть сколько угодно.
> > Т.е. надо требовать не просто /usr/bin/python, а одно из
> > /usr/bin/python = X.Y
> > /usr/bin/pythonX.Y
> > python-base = X.Y
> > pythonX.Y-base
>
> Так раньше туда и вешалось python = 2.4; сломали?
Это зависимость не гарантирует, что /usr/bin/python будет смотреть
на /usr/bin/python2.4. Сейчас этот /usr/bin/python вообще может висеть
на альтернативах. А питоновские зависимости на альтернативы повесить
нельзя. Соответственно при запуске можем получить screw you gesture.
Я сейчас говорю ТОЛЬКО про /usr/bin/python. Он может смотреть в другое
место, совсем не в то, в которое подразумевают остальные питоновские
зависимости у пакета.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-03-23 14:59 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-23 13:36 Alexey Tourbin
2007-03-23 14:03 ` Alexey Tourbin
2007-03-23 14:43 ` Sergey Vlasov
2007-03-23 14:59 ` Alexey Tourbin [this message]
2007-03-23 15:20 ` Ivan Fedorov
2007-03-23 15:34 ` Alexey Tourbin
2007-03-23 15:45 ` Ivan Fedorov
2007-03-23 15:55 ` Alexey Tourbin
2007-03-23 15:59 ` Ivan Fedorov
2007-03-23 16:07 ` Michael Shigorin
2007-03-23 16:14 ` Alexey Tourbin
2007-03-23 16:21 ` Ivan Fedorov
2007-03-23 16:31 ` Alexey Tourbin
2007-03-23 16:38 ` Ivan Fedorov
2007-03-23 16:58 ` Alexey I. Froloff
2007-03-24 0:10 ` Alexey Tourbin
2007-03-24 18:41 ` [devel] git-svnimport -s 30464 Alexey Tourbin
2007-03-27 10:50 ` [devel] /usr/bin/python и несколько питонов Ivan Fedorov
2007-03-23 16:03 ` Alexey I. Froloff
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=20070323145924.GD6007@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