* [devel] I: python mismatch repocop tests @ 2016-07-14 15:21 Igor Vlasenko 2016-07-14 17:35 ` Ivan Zakharyaschev 2016-07-14 18:07 ` Yuri Sedunov 0 siblings, 2 replies; 5+ messages in thread From: Igor Vlasenko @ 2016-07-14 15:21 UTC (permalink / raw) To: devel Господа, написал новый тест repocop, выявляющий python3 пакеты у которых Requires на что-то с python2. найдено: python3-module-waf-1.7.10-alt2.noarch requires python-modules явно баг. python3-module-pygobject3-devel-3.20.1-alt1.noarch requires python-module-pygobject3-common-devel здесь надо разобраться python3-tools-3.5.1-alt7.x86_64 requires python-base похоже на баг. -- I V ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] I: python mismatch repocop tests 2016-07-14 15:21 [devel] I: python mismatch repocop tests Igor Vlasenko @ 2016-07-14 17:35 ` Ivan Zakharyaschev 2016-07-14 20:24 ` Igor Vlasenko 2016-07-14 18:07 ` Yuri Sedunov 1 sibling, 1 reply; 5+ messages in thread From: Ivan Zakharyaschev @ 2016-07-14 17:35 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1451 bytes --] On Thu, 14 Jul 2016, Igor Vlasenko wrote: > написал новый тест repocop, выявляющий > python3 пакеты у которых Requires на что-то с python2. Даже в sisyphus_check есть аналогичная проверка, но, навреное, не такая тщательная, как Ваша, иначе как бы эти пакеты пропустили. Интересно понять, в чём разница, какая лучше, и можно было бы sisyphus_check пропатчить. Вот она в действии -- http://git.altlinux.org/beehive/logs/Sisyphus-x86_64/latest/error/python-module-memory_profiler-0.41-alt1 : Provides: python2.7(memory_profiler) Requires: /usr/bin/python3, /usr/lib/python2.7/site-packages, python-modules, python2.7(inspect), python2.7(logging), python3(copy) < 0, python3(glob) < 0, python3(math) < 0, python3(memory_profiler) < 0, python3(optparse) < 0, python3(os) < 0, python3(re) < 0 ... /.out/python-module-memory_profiler-0.41-alt1.noarch.rpm: python2 modules should not have python3 requirements sisyphus_check: check-python ERROR: python modules packaging violation hsh-rebuild: python-module-memory_profiler-0.41-alt1.src.rpm: sisyphus_check failed. Интересно посмотреть, но я пока на эти случаи не посмотрел: > найдено: > python3-module-waf-1.7.10-alt2.noarch requires python-modules > явно баг. > > python3-module-pygobject3-devel-3.20.1-alt1.noarch requires python-module-pygobject3-common-devel > здесь надо разобраться > > python3-tools-3.5.1-alt7.x86_64 requires python-base > похоже на баг. -- Best regards, Ivan ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] I: python mismatch repocop tests 2016-07-14 17:35 ` Ivan Zakharyaschev @ 2016-07-14 20:24 ` Igor Vlasenko 0 siblings, 0 replies; 5+ messages in thread From: Igor Vlasenko @ 2016-07-14 20:24 UTC (permalink / raw) To: ALT Linux Team development discussions On Thu, Jul 14, 2016 at 08:35:36PM +0300, Ivan Zakharyaschev wrote: > Даже в sisyphus_check есть аналогичная проверка, но, навреное, не такая > тщательная, как Ваша, иначе как бы эти пакеты пропустили. Интересно понять, > в чём разница, какая лучше, и можно было бы sisyphus_check пропатчить. дополняющие друг друга проверки - в sisyphus_check проверяется на зависимости pythonXX(YYY) а у меня на зависимости python3?-*, при чем это правило не строгое, в отличие от sisyphus_check. пример тот же > python3-module-pygobject3-devel-3.20.1-alt1.noarch requires python- > module-pygobject3-common-devel -- I V ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] I: python mismatch repocop tests 2016-07-14 15:21 [devel] I: python mismatch repocop tests Igor Vlasenko 2016-07-14 17:35 ` Ivan Zakharyaschev @ 2016-07-14 18:07 ` Yuri Sedunov 2016-07-14 20:20 ` Igor Vlasenko 1 sibling, 1 reply; 5+ messages in thread From: Yuri Sedunov @ 2016-07-14 18:07 UTC (permalink / raw) To: devel В Чт, 14/07/2016 в 18:21 +0300, Igor Vlasenko пишет: > Господа, > написал новый тест repocop, выявляющий > python3 пакеты у которых Requires на что-то с python2. > > ... > python3-module-pygobject3-devel-3.20.1-alt1.noarch requires python- > module-pygobject3-common-devel > здесь надо разобраться Не надо. $ rpmqD python-module-pygobject3-common-devel Common development files for pygobject used for both python2 and python3. -- Yuri N. Sedunov 07/14/16 21:01:22 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] I: python mismatch repocop tests 2016-07-14 18:07 ` Yuri Sedunov @ 2016-07-14 20:20 ` Igor Vlasenko 0 siblings, 0 replies; 5+ messages in thread From: Igor Vlasenko @ 2016-07-14 20:20 UTC (permalink / raw) To: ALT Linux Team development discussions On Thu, Jul 14, 2016 at 09:07:35PM +0300, Yuri Sedunov wrote: > В Чт, 14/07/2016 в 18:21 +0300, Igor Vlasenko пишет: > > Господа, > > написал новый тест repocop, выявляющий > > python3 пакеты у которых Requires на что-то с python2. > > > > ... > > python3-module-pygobject3-devel-3.20.1-alt1.noarch requires python- > > module-pygobject3-common-devel > > здесь надо разобраться > > Не надо. > $ rpmqD python-module-pygobject3-common-devel > Common development files for pygobject used for both python2 and > python3. Спасибо, добавил исключение. -- I V ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-07-14 20:24 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-07-14 15:21 [devel] I: python mismatch repocop tests Igor Vlasenko 2016-07-14 17:35 ` Ivan Zakharyaschev 2016-07-14 20:24 ` Igor Vlasenko 2016-07-14 18:07 ` Yuri Sedunov 2016-07-14 20:20 ` Igor Vlasenko
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