mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python312Packages.httpie: 3.2.2 -> 3.2.3 (#339455)
This commit is contained in:
commit
06abf37700
@ -2,45 +2,51 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
|
||||||
installShellFiles,
|
|
||||||
pandoc,
|
|
||||||
# BuildInputs
|
|
||||||
charset-normalizer,
|
charset-normalizer,
|
||||||
defusedxml,
|
defusedxml,
|
||||||
|
fetchFromGitHub,
|
||||||
|
installShellFiles,
|
||||||
multidict,
|
multidict,
|
||||||
pygments,
|
pandoc,
|
||||||
requests,
|
|
||||||
requests-toolbelt,
|
|
||||||
setuptools,
|
|
||||||
rich,
|
|
||||||
pip,
|
pip,
|
||||||
|
pygments,
|
||||||
pytest-httpbin,
|
pytest-httpbin,
|
||||||
pytest-lazy-fixture,
|
pytest-lazy-fixture,
|
||||||
pytest-mock,
|
pytest-mock,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
|
requests-toolbelt,
|
||||||
|
requests,
|
||||||
responses,
|
responses,
|
||||||
|
rich,
|
||||||
|
setuptools,
|
||||||
werkzeug,
|
werkzeug,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "httpie";
|
pname = "httpie";
|
||||||
version = "3.2.2";
|
version = "3.2.3";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "httpie";
|
owner = "httpie";
|
||||||
repo = "httpie";
|
repo = "httpie";
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-hPsjEpvT6tnPm68AUB2Tv3Gon4DfSzO2VYCGqP8ozSI=";
|
hash = "sha256-ogUqhMVY1fm+hKCMFYqfYsqHX+Gj6y8CMOUsxA3q29g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"defusedxml"
|
||||||
|
"requests"
|
||||||
|
];
|
||||||
|
|
||||||
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
installShellFiles
|
installShellFiles
|
||||||
pandoc
|
pandoc
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
charset-normalizer
|
charset-normalizer
|
||||||
defusedxml
|
defusedxml
|
||||||
multidict
|
multidict
|
||||||
@ -81,28 +87,15 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "httpie" ];
|
pythonImportsCheck = [ "httpie" ];
|
||||||
|
|
||||||
disabledTestPaths = lib.optionals stdenv.isDarwin [
|
disabledTestPaths = [
|
||||||
# flaky
|
# Tests are flaky
|
||||||
"tests/test_plugins_cli.py"
|
"tests/test_plugins_cli.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests =
|
disabledTests =
|
||||||
[
|
[
|
||||||
# flaky
|
# Test is flaky
|
||||||
"test_stdin_read_warning"
|
"test_stdin_read_warning"
|
||||||
# Re-evaluate those tests with the next release
|
|
||||||
"test_duplicate_keys_support_from_response"
|
|
||||||
"test_invalid_xml"
|
|
||||||
"test_json_formatter_with_body_preceded_by_non_json_data"
|
|
||||||
"test_pretty_options_with_and_without_stream_with_converter"
|
|
||||||
"test_response_mime_overwrite"
|
|
||||||
"test_terminal_output_response_charset_detection"
|
|
||||||
"test_terminal_output_response_charset_override"
|
|
||||||
"test_terminal_output_response_content_type_charset_with_stream"
|
|
||||||
"test_terminal_output_response_content_type_charset"
|
|
||||||
"test_valid_xml"
|
|
||||||
"test_xml_format_options"
|
|
||||||
"test_xml_xhtm"
|
|
||||||
# httpbin compatibility issues
|
# httpbin compatibility issues
|
||||||
"test_compress_form"
|
"test_compress_form"
|
||||||
"test_binary_suppresses_when_terminal"
|
"test_binary_suppresses_when_terminal"
|
||||||
@ -110,7 +103,7 @@ buildPythonPackage rec {
|
|||||||
"test_binary_included_and_correct_when_suitable"
|
"test_binary_included_and_correct_when_suitable"
|
||||||
]
|
]
|
||||||
++ lib.optionals stdenv.isDarwin [
|
++ lib.optionals stdenv.isDarwin [
|
||||||
# flaky
|
# Test is flaky
|
||||||
"test_daemon_runner"
|
"test_daemon_runner"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user