Unverified Commit 2dfa9e36 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

python3Packages.chalice: cleanup, skip failing test (#475421)

parents c7c707a5 83e69397
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
{
  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";
+18 −13
Original line number Diff line number Diff line
{
  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" ];