git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.versionfinder: disable failing tests
commit70595c9e1e528852906c8509752d3c97bc7a4971 authorFabian Affolter <mail@fabian-affolter.ch> dateMon 10 Jan 2022, 22:02 (5 years ago) parentd36d401
1 file changed+21−3
pkgs/development/python-modules/versionfinder/default.nix+21−3
pkgs/development/python-modules/versionfinder/default.nix+21−3
@@ -1,8 +1,19 @@
1−{ lib, buildPythonPackage, fetchFromGitHub, GitPython, pytestCheckHook, backoff, requests }:
1+{ lib
2+, backoff
3+, buildPythonPackage
4+, fetchFromGitHub
5+, GitPython
6+, pytestCheckHook
7+, pythonOlder
8+, requests
9+}:
210
311buildPythonPackage rec {
412 pname = "versionfinder";
513 version = "1.1.1";
14+ format = "setuptools";
15+
16+ disabled = pythonOlder "3.7";
617
718 src = fetchFromGitHub {
819 owner = "jantman";
@@ -22,11 +33,18 @@ buildPythonPackage rec {
2233 ];
2334
2435 disabledTestPaths = [
25− # acceptance tests use the network
36+ # Acceptance tests use the network
2637 "versionfinder/tests/test_acceptance.py"
2738 ];
2839
29− pythonImportsCheck = [ "versionfinder" ];
40+ disabledTests = [
41+ # Tests are out-dated
42+ "TestFindPipInfo"
43+ ];
44+
45+ pythonImportsCheck = [
46+ "versionfinder"
47+ ];
3048
3149 meta = with lib; {
3250 description = "Find the version of another package, whether installed via pip, setuptools or git";