git.iko.soy/typeable/nixpkgs
on master help sign in
python310Packages.sybil: disable failing tests
commited89030b17286382363919367704ff1b29052de4 authorFabian Affolter <mail@fabian-affolter.ch> dateWed 12 Jan 2022, 01:12 (5 years ago) parent49a7847
1 file changed+18−6
pkgs/development/python-modules/sybil/default.nix+18−6
pkgs/development/python-modules/sybil/default.nix+18−6
@@ -1,28 +1,40 @@
11{ lib
22, buildPythonApplication
33, fetchPypi
4−, pytest
5−, nose
4+, pytestCheckHook
5+, pythonOlder
66}:
77
88buildPythonApplication rec {
99 pname = "sybil";
1010 version = "2.0.1";
11+ format = "setuptools";
12+
13+ disabled = pythonOlder "3.6";
1114
1215 src = fetchPypi {
1316 inherit pname version;
1417 sha256 = "597d71e246690b9223c132f0ed7dcac470dcbe9ad022004a801e108a00dc3524";
1518 };
1619
17− checkInputs = [ pytest nose ];
20+ checkInputs = [
21+ pytestCheckHook
22+ ];
23+
24+ disabledTests = [
25+ # Will be fixed with 3.0.0, https://github.com/simplistix/sybil/pull/27
26+ "test_future_imports"
27+ "test_pytest"
28+ ];
1829
19− checkPhase = ''
20− py.test tests
21− '';
30+ pythonImportsCheck = [
31+ "sybil"
32+ ];
2233
2334 meta = with lib; {
2435 description = "Automated testing for the examples in your documentation";
2536 homepage = "https://github.com/cjw296/sybil";
2637 license = licenses.mit;
38+ maintainers = with maintainers; [ ];
2739 };
2840}