mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Merge pull request #171369 from fabaff/bpython-fix
python310Packages.bpython: disable failing test
This commit is contained in:
commit
cd78b18a50
1 changed files with 16 additions and 2 deletions
|
@ -3,10 +3,12 @@
|
|||
, fetchPypi
|
||||
, curtsies
|
||||
, cwcwidth
|
||||
, dataclasses
|
||||
, greenlet
|
||||
, jedi
|
||||
, pygments
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyperclip
|
||||
, pyxdg
|
||||
, requests
|
||||
|
@ -19,10 +21,13 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "bpython";
|
||||
version = "0.22.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1fb1e0a52332579fc4e3dcf75e21796af67aae2be460179ecfcce9530a49a200";
|
||||
hash = "sha256-H7HgpSMyV5/E49z3XiF5avZ6rivkYBeez8zpUwpJogA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -37,6 +42,8 @@ buildPythonPackage rec {
|
|||
typing-extensions
|
||||
urwid
|
||||
watchdog
|
||||
] ++ lib.optionals (pythonOlder "3.7") [
|
||||
dataclasses
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
@ -48,7 +55,14 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "bpython" ];
|
||||
pythonImportsCheck = [
|
||||
"bpython"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Check for syntax error ends with an AssertionError
|
||||
"test_syntaxerror"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A fancy curses interface to the Python interactive interpreter";
|
||||
|
|
Loading…
Reference in a new issue