Merge pull request #170660 from fabaff/exceptiongroup

python3Packages.exceptiongroup: init at 1.0.0rc2

authored by Fabian Affolter and committed by GitHub 7a10d6f2 102aa57b

+41
+39
pkgs/development/python-modules/exceptiongroup/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , flit-core 5 + , pytestCheckHook 6 + , pythonOlder 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "exceptiongroup"; 11 + version = "1.0.0rc2"; 12 + format = "flit"; 13 + 14 + disabled = pythonOlder "3.7"; 15 + 16 + src = fetchPypi { 17 + inherit pname version; 18 + hash = "sha256-TSVLBSMb7R1DB5vc/g8dZsCrR4Pmd3oyk1X5t43jrYM="; 19 + }; 20 + 21 + nativeBuildInputs = [ 22 + flit-core 23 + ]; 24 + 25 + # Tests are only in the source available but tagged releases 26 + # are incomplete as files are generated during the release process 27 + doCheck = false; 28 + 29 + pythonImportsCheck = [ 30 + "exceptiongroup" 31 + ]; 32 + 33 + meta = with lib; { 34 + description = "Backport of PEP 654 (exception groups)"; 35 + homepage = "https://github.com/agronholm/exceptiongroup"; 36 + license = with licenses; [ mit ]; 37 + maintainers = with maintainers; [ fab ]; 38 + }; 39 + }
+2
pkgs/top-level/python-packages.nix
··· 2751 2751 2752 2752 exdown = callPackage ../development/python-modules/exdown { }; 2753 2753 2754 + exceptiongroup = callPackage ../development/python-modules/exceptiongroup { }; 2755 + 2754 2756 exchangelib = callPackage ../development/python-modules/exchangelib { }; 2755 2757 2756 2758 execnet = callPackage ../development/python-modules/execnet { };