python3Packages.chalice: cleanup, skip failing test (#475421)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
flit-core,
|
||||
@@ -41,6 +42,11 @@ buildPythonPackage {
|
||||
rm tox.ini
|
||||
'';
|
||||
|
||||
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Fail with several AssertionError
|
||||
"tests/test_sixel.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/jquast/blessed";
|
||||
description = "Thin, practical wrapper around terminal capabilities in Python";
|
||||
|
||||
@@ -1,24 +1,26 @@
|
||||
{
|
||||
lib,
|
||||
attrs,
|
||||
botocore,
|
||||
buildPythonPackage,
|
||||
click,
|
||||
fetchFromGitHub,
|
||||
hypothesis,
|
||||
pythonAtLeast,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
botocore,
|
||||
click,
|
||||
inquirer,
|
||||
jmespath,
|
||||
mypy-extensions,
|
||||
pip,
|
||||
pytestCheckHook,
|
||||
pyyaml,
|
||||
requests,
|
||||
setuptools,
|
||||
six,
|
||||
typing-extensions,
|
||||
watchdog,
|
||||
|
||||
# tests
|
||||
hypothesis,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
websocket-client,
|
||||
wheel,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -26,6 +28,8 @@ buildPythonPackage rec {
|
||||
version = "1.32.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonAtLeast "3.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "chalice";
|
||||
@@ -42,9 +46,8 @@ buildPythonPackage rec {
|
||||
jmespath
|
||||
pip
|
||||
pyyaml
|
||||
setuptools
|
||||
# setuptools
|
||||
six
|
||||
wheel
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
@@ -79,6 +82,8 @@ buildPythonPackage rec {
|
||||
"test_setup_tar_gz_hyphens_in_name"
|
||||
"test_both_tar_gz"
|
||||
"test_both_tar_bz2"
|
||||
# AssertionError
|
||||
"test_no_error_message_printed_on_empty_reqs_file"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "chalice" ];
|
||||
|
||||
Reference in New Issue
Block a user