From: "Sergey Y. Afonin" <asy@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Python 2 EOL
Date: Sun, 20 Oct 2019 14:41:31 +0400
Message-ID: <201910201441.31406.asy@altlinux.org> (raw)
In-Reply-To: <20190706152005.GA2445@portlab>
On Saturday 06 July 2019, Vladimir D. Seleznev wrote:
> > 1. Намечен ли дедлайн, когда все эти пакеты нужно перевести на
> > Python3, или это пока больше пожелание? Например, scons я не могу
> > обновить прямо сейчас, сломается сборка mongo, нужно дождатся нового
> > релиза.
>
> Нет, дедлайна не намечено. Это скорее письмо с обозначением проблемы и,
> да, пожелание перевести всё, что можно перевести, на третий Python.
Я тут в тексте про gpsd нашёл:
| Python.org says that if you have an installed Python, there should be a program
| in your path called 'python'. This is specified in PEP 394. This rule is not
| always followed. You can work around this by linking python3 to python like this
|
| ln -s /usr/bin/python3 /usr/bin/python
Перекликается со свежей темой "Новая версия GnuPG в Сизифе" и переименование
бинарника в аналогичном, но несовместимом пакете. Но то, что /usr/bin/python
сейчас python 2, вынуждает фиксить сборку (gpsd) прямо как-то вот так:
sed -i 's|/usr/bin/python|%__python3|' contrib/gpsData.py
find -type f -name "*.py" -exec sed -i 's|/usr/bin/env python|%__python3|' {} \;
for FILE in gegps gpscat gpsfake gpsprof ubxtool xgps xgpsspeed zerk ; do
sed -i 's|/usr/bin/env python|%__python3|' $FILE
done
А что будет, если уже сейчас "python" станет указывать на "python3"? Может
быть уже многие скрипты в современных пакетах к этому готовы?
--
С уважением, Сергей Афонин
next prev parent reply other threads:[~2019-10-20 10:41 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-04 19:06 Vladimir D. Seleznev
2019-07-04 19:23 ` Michael Shigorin
2019-07-05 7:05 ` Sergey V Turchin
2019-07-05 18:38 ` Vladimir D. Seleznev
2019-07-05 14:16 ` Vladimir Didenko
2019-07-06 0:38 ` Ivan Zakharyaschev
2019-07-10 13:46 ` Vladimir Didenko
2019-07-10 17:47 ` Ivan Zakharyaschev
2019-07-06 15:20 ` Vladimir D. Seleznev
2019-07-08 7:33 ` Sergey V Turchin
2019-10-20 10:41 ` Sergey Y. Afonin [this message]
2019-10-20 14:43 ` Vladimir D. Seleznev
2019-10-20 15:13 ` Ivan Zakharyaschev
2019-10-20 17:52 ` Vladimir D. Seleznev
2019-10-20 18:15 ` Ivan Zakharyaschev
2019-10-20 22:10 ` Vladimir D. Seleznev
2019-10-21 4:55 ` Anton Farygin
2019-10-21 9:51 ` Dmitry V. Levin
2019-10-20 15:26 ` Sergey Y. Afonin
2019-10-20 15:44 ` Антон Мидюков
2019-10-20 17:50 ` Vladimir D. Seleznev
2019-07-05 18:39 ` Vladimir D. Seleznev
2019-07-05 23:58 ` Alexey V. Vissarionov
2019-07-08 7:30 ` Ivan A. Melnikov
2019-07-08 13:35 ` Павел Цильке
2019-07-13 17:42 ` Michael Shigorin
2019-07-14 6:21 ` Alexey V. Vissarionov
2019-07-14 7:32 ` Dmitry V. Levin
2019-07-14 8:00 ` Alexey V. Vissarionov
2019-07-14 8:14 ` Антон Мидюков
2019-07-14 10:16 ` Alexey V. Vissarionov
2019-07-14 18:04 ` Vladimir D. Seleznev
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=201910201441.31406.asy@altlinux.org \
--to=asy@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