ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] ERROR: No matching distribution found for httpsig>=1.1.2
  @ 2022-07-08 11:06 ` Andrey Cherepanov
  0 siblings, 0 replies; only message in thread
From: Andrey Cherepanov @ 2022-07-08 11:06 UTC (permalink / raw)
  To: devel

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верка?



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-08 11:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-08 11:06 ` [devel] ERROR: No matching distribution found for httpsig>=1.1.2 Andrey Cherepanov

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