Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR REVIEW] Solaar: update to 1.1.7.
Date: Thu, 17 Nov 2022 12:33:43 +0100	[thread overview]
Message-ID: <20221117113343.u6DiulUU4_l_0z2GLp3wTmUny4WcOR8mNqXCVkL7Cpc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40318@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1658 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/40318#discussion_r1025075323

Comment:
It only fails because it checks for dependencies:
```
=> Solaar-1.1.7_1: running do_check ...
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
/usr/lib/python3.11/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
  warnings.warn(
WARNING: The wheel package is not available.
/usr/bin/python3: No module named pip
error: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpkph0cl5h', '--quiet', 'typing_extensions>=4.0.0']' returned non-zero exit status 1.
=> ERROR: Solaar-1.1.7_1: do_check: '${make_check_pre} python3 setup.py ${make_check_target} ${make_check_args}' exited with 1
=> ERROR:   in do_check() at common/build-style/python3-module.sh:28
```
So removing `make_check=no`, adding `checkdepends="$depends"` and patching out the typing_extensions dependency (import this patch https://github.com/pwr-Solaar/Solaar/commit/e15b58fdaa9137556e98e618489dffac12de13b8.patch) will make it pass. This is not the same as not running tests because it checks dependencies which is useful. Adding typing_extensions to checkdepends would also fix it, but we will probably forget to remove it next time the package is updated and a patch will stop applying, so that's better.

  parent reply	other threads:[~2022-11-17 11:33 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-03 20:04 [PR PATCH] " icp1994
2022-11-04 18:59 ` paper42
2022-11-05  0:31 ` paper42
2022-11-05  5:22 ` [PR PATCH] [Updated] " icp1994
2022-11-05 18:45 ` icp1994
2022-11-05 19:02 ` icp1994
2022-11-08 19:35 ` icp1994
2022-11-08 20:06 ` [PR REVIEW] " paper42
2022-11-08 20:09 ` [PR PATCH] [Updated] " icp1994
2022-11-08 20:10 ` [PR REVIEW] " icp1994
2022-11-10 19:39 ` paper42
2022-11-10 19:39 ` paper42
2022-11-10 20:03 ` icp1994
2022-11-10 20:07 ` paper42
2022-11-10 20:08 ` paper42
2022-11-10 20:19 ` icp1994
2022-11-10 20:19 ` icp1994
2022-11-17 11:33 ` paper42 [this message]
2022-12-18 13:20 ` [PR PATCH] [Updated] " icp1994
2022-12-18 13:37 ` [PR PATCH] [Merged]: Solaar: update to 1.1.8 paper42

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=20221117113343.u6DiulUU4_l_0z2GLp3wTmUny4WcOR8mNqXCVkL7Cpc@z \
    --to=paper42@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).