evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / traitlets / default.nix
blob09a4e2d944ac2cdac741ad661221e2962c9a3dcf
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
7   # build-system
8   hatchling,
10   # tests
11   argcomplete,
12   pytest-mock,
13   pytestCheckHook,
16 buildPythonPackage rec {
17   pname = "traitlets";
18   version = "5.14.3";
19   format = "pyproject";
21   disabled = pythonOlder "3.7";
23   src = fetchPypi {
24     inherit pname version;
25     hash = "sha256-ntBXnTUCyUtLNzKsEgN1zalvkjEUUihH3ks7uYuWtrc=";
26   };
28   nativeBuildInputs = [ hatchling ];
30   nativeCheckInputs = [
31     argcomplete
32     pytest-mock
33     pytestCheckHook
34   ];
36   disabledTests = [
37     # https://github.com/ipython/traitlets/issues/902
38     "test_complete_custom_completers"
39   ];
41   disabledTestPaths = [
42     # requires mypy-testing
43     "tests/test_typing.py"
44   ];
46   meta = {
47     changelog = "https://github.com/ipython/traitlets/blob/v${version}/CHANGELOG.md";
48     description = "Traitlets Python config system";
49     homepage = "https://github.com/ipython/traitlets";
50     license = lib.licenses.bsd3;
51   };