[devel] ERROR: No matching distribution found for httpsig>=1.1.2
Andrey Cherepanov
cas на altlinux.org
Пт Июл 8 14:06:30 MSK 2022
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('<pip._vendor.urllib3.connection.HTTPSConnection
object at 0x7ff83eefc250>: 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('<pip._vendor.urllib3.connection.HTTPSConnection
object at 0x7ff83eefc400>: 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('<pip._vendor.urllib3.connection.HTTPSConnection
object at 0x7ff83eefc7f0>: 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('<pip._vendor.urllib3.connection.HTTPSConnection
object at 0x7ff83eefc9a0>: 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('<pip._vendor.urllib3.connection.HTTPSConnection
object at 0x7ff83eefcb50>: 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верка?
Подробная информация о списке рассылки Devel