ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: python mismatch repocop tests
Date: Thu, 14 Jul 2016 20:35:36 +0300 (MSK)
Message-ID: <alpine.LFD.2.20.1607142029560.1381@imap.altlinux.org> (raw)
In-Reply-To: <20160714152135.GA17996@dad.imath.kiev.ua>

[-- 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

  reply	other threads:[~2016-07-14 17:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-14 15:21 Igor Vlasenko
2016-07-14 17:35 ` Ivan Zakharyaschev [this message]
2016-07-14 20:24   ` Igor Vlasenko
2016-07-14 18:07 ` Yuri Sedunov
2016-07-14 20:20   ` 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=alpine.LFD.2.20.1607142029560.1381@imap.altlinux.org \
    --to=imz@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