ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Andrey Cherepanov <cas@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] ERROR: No matching distribution found for httpsig>=1.1.2
Date: Fri, 8 Jul 2022 14:06:30 +0300
Message-ID: <513cb6e3-1e27-6366-05d9-7af9318837f1@altlinux.org> (raw)
In-Reply-To: <86141656984065@mail.yandex.ru>

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



           reply	other threads:[~2022-07-08 11:06 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <86141656984065@mail.yandex.ru>]

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=513cb6e3-1e27-6366-05d9-7af9318837f1@altlinux.org \
    --to=cas@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