From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <513cb6e3-1e27-6366-05d9-7af9318837f1@altlinux.org> Date: Fri, 8 Jul 2022 14:06:30 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-Language: ru To: devel@lists.altlinux.org References: <86141656984065@mail.yandex.ru> From: Andrey Cherepanov In-Reply-To: <86141656984065@mail.yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [devel] ERROR: No matching distribution found for httpsig>=1.1.2 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: Fri, 08 Jul 2022 11:06:37 -0000 Archived-At: List-Archive: List-Post: 05.07.2022 20:18, Андрей Бергман пишет: > Други! > > Собираю пакет  python3-module-dptrp1, который зависит от мною же > собранного > python3-module-httpsig. И получаю ошибку > Processing ./.tox/.tmp/package/1/dpt-rp1-py-0.1.16.zip >   Preparing metadata (setup.py): started >   Preparing metadata (setup.py): finished with status 'done' > ERROR: Could not find a version that satisfies the requirement > httpsig>=1.1.2 (from dpt-rp1-py) (from versions: none) > ERROR: No matching distribution found for httpsig>=1.1.2 > Вроде бы я установил httpsig, да и версия 1.3.0. Подскажите > пожалуйста, где же именно > я накосячил? > > Адреса репозиториев: > git.alt:/people/vkni/packages/python3-module-dptrp1.git > git.alt:/people/vkni/packages/python3-module-httpsig.git > На Sisyphus останавливается на /usr/src/tmp/rpm-tmp.75192: line 131: tox.py3: command not found Очевидно, нужно BuildRequires: python3-module-tox После этого tox.py3 в %check не отрабатывает при проверке. А так ли нужна эта проверка при сборке. Она использует pip, который надо доустановить в Hasher и который пытается утянуть из сети: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/tqdm/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/tqdm/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/tqdm/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/tqdm/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/tqdm/ ERROR: Could not find a version that satisfies the requirement tqdm (from versions: none) ERROR: No matching distribution found for tqdm error: Command '['/usr/src/RPM/BUILD/python3-module-dptrp1-0.1.16/.tox/py310/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/usr/src/tmp/tmpnoj7zoio', '--quiet', 'tqdm']' returned non-zero exit status 1. ERROR: InvocationError for command /usr/src/RPM/BUILD/python3-module-dptrp1-0.1.16/.tox/py310/bin/python setup.py test (exited with code 1) __________________________________________________________________________________________ summary ___________________________________________________________________________________________ ERROR:   py310: commands failed error: Bad exit status from /usr/src/tmp/rpm-tmp.77303 (%check) Вам надо или отказаться от %check или установить все зависимости: BuildRequires: python3-module-tqdm BuildRequires: python3-module-zeroconf и так далее. В hsh-shell выполняйте rpmbuild -bt --short-circuit ~/RPM/SPECS/python3-module-dptrp1.spec и добавляйте в сборочницу нужные для проверки пакеты. -- Andrey Cherepanov cas@altlinux.orgверка?