Merge pull request #238203 from kirillrdy/howdoi
python3Packages.howdoi: 2.0.19 -> 2.0.20 enable more tests, unmark broken on aarch64-linux
This commit is contained in:
commit
539221f5fd
@ -3,6 +3,7 @@
|
||||
, appdirs
|
||||
, buildPythonPackage
|
||||
, cachelib
|
||||
, colorama
|
||||
, cssselect
|
||||
, fetchFromGitHub
|
||||
, keep
|
||||
@ -10,13 +11,14 @@
|
||||
, pygments
|
||||
, pyquery
|
||||
, requests
|
||||
, rich
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "howdoi";
|
||||
version = "2.0.19";
|
||||
version = "2.0.20";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -25,18 +27,20 @@ buildPythonPackage rec {
|
||||
owner = "gleitz";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-uLAc6E8+8uPpo070vsG6Od/855N3gTQMf5pSUvtlh0I=";
|
||||
hash = "sha256-u0k+h7Sp2t/JUnfPqRzDpEA+vNXB7CpyZ/SRvk+B9t0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
cachelib
|
||||
colorama
|
||||
cssselect
|
||||
keep
|
||||
lxml
|
||||
pygments
|
||||
pyquery
|
||||
requests
|
||||
rich
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
@ -48,20 +52,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError: "The...
|
||||
"test_get_text_with_one_link"
|
||||
"test_get_text_without_links"
|
||||
# Those tests are failing in the sandbox
|
||||
# OSError: [Errno 24] Too many open files
|
||||
"test_answers"
|
||||
"test_answers_bing"
|
||||
"test_colorize"
|
||||
"test_json_output"
|
||||
"test_missing_pre_or_code_query"
|
||||
"test_multiple_answers"
|
||||
"test_position"
|
||||
"test_unicode_answer"
|
||||
"test_answer_links_using_l_option"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
@ -69,7 +60,8 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
||||
broken = stdenv.isDarwin;
|
||||
changelog = "https://github.com/gleitz/howdoi/blob/v${version}/CHANGES.txt";
|
||||
description = "Instant coding answers via the command line";
|
||||
homepage = "https://github.com/gleitz/howdoi";
|
||||
license = licenses.mit;
|
||||
|
Loading…
Reference in New Issue
Block a user