From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 14 Jul 2016 20:35:36 +0300 (MSK) From: Ivan Zakharyaschev To: ALT Linux Team development discussions In-Reply-To: <20160714152135.GA17996@dad.imath.kiev.ua> Message-ID: References: <20160714152135.GA17996@dad.imath.kiev.ua> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="1807885841-2096138347-1468517736=:1381" Subject: Re: [devel] I: python mismatch repocop tests X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2016 17:35:37 -0000 Archived-At: List-Archive: List-Post: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1807885841-2096138347-1468517736=:1381 Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 8BIT 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 --1807885841-2096138347-1468517736=:1381--