ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: devel@lists.altlinux.org
Subject: [devel] I: python 3 copycat robot
Date: Thu, 23 May 2013 10:58:51 +0300
Message-ID: <20130523075851.GA10361@dad.imath.kiev.ua> (raw)

Господа,

у нас с модулями для 3-го питона ситуация плохая -
собрано около 10% модулей по сравнению с 2-м питоном,

да и порядок сборки важен - сходу собрать модуль 
для 3-го питона получится менее чем в 50% случаев - 
часто не дают unmets на еще не собранные пакеты.

Меня подтолкнул bug #28956 - 
"собрать python3-module-enchant".

Я тогда подумал, что это глубоко не правильно -
ручная сборка модулей для 3-го питона растянется
на год, а то и больше. Для такой задачи просится робот.

И вот вчера закончил первый прототип робота 
для сборки модулей для 3-го питона.
Робот называется "Python 3 copycat".

Робот берет пакет модуля для 2-го питона,
проверяет, нет ли уже в нем (отключенного)
модуля для 3-го питона, как это например есть в 
python-module-PyQt4, и если нет,
то трансформирует этот пакет в новый пакет, 
который уже соберет модуль для 3-го питона.

При обновлении модуля для 2-го питона
Python 3 copycat пересоберет из него новый модуль
для 3-го питона.

Не все модули имеет смысл пересобирать с Python 3,
для отпугивания Python 3 copycat'а
предусмотрена конструкция
%define python3_copycat_disable 1
которую нужно будет указать в спеке для 2-го питона.

Для пробы пера я вчера отправил в Сизиф выборку из 10 пакетов,
в Сизиф прошли
python3-module-amqp
python3-module-amqplib
python3-module-anyjson
python3-module-crank
остальные не прошли из-за unmets на еще не собранные python3 модули.
пройдут на какой-то из итераций, когда их зависимости будут собраны.

Всего для python3 не хватает пары тысяч модулей;
C помощью Python 3 copycat'а эту проблему можно
решить в реальные сроки.

Нет возражений для развертывания робота
Python 3 copycat в Сизиф?

-- 

Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



             reply	other threads:[~2013-05-23  7:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-23  7:58 Igor Vlasenko [this message]
2013-05-23  9:20 ` Vitaly Kuznetsov
2013-05-23  9:27   ` Igor Vlasenko
2013-05-23  9:33 ` Dmitry V. Levin
2013-05-23  9:32   ` Igor Vlasenko
2013-05-23  9:55 ` George V. Kouryachy
2013-05-23 10:04   ` Igor Vlasenko
2013-05-23 10:13   ` Igor Vlasenko
2013-05-23 10:56     ` Dmitry V. Levin
2013-05-23 13:20       ` George V. Kouryachy
2013-05-23 12:51     ` George V. Kouryachy
2013-05-23 19:28       ` Igor Vlasenko
2013-05-23 20:43         ` Michael Shigorin
2013-05-23 13:49     ` Aleksey Avdeev
2013-05-23 19:33       ` Igor Vlasenko

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=20130523075851.GA10361@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --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