python3Packages.python-gitlab: 2.6.0 -> 2.7.1
Fixes the build, disable tests, as they rely on a local GitLab instance running on docker. Adds pythonImportsCheck.
This commit is contained in:
parent
7fe184a14a
commit
f812b261e2
@ -1,19 +1,36 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, requests, mock, httmock, pythonOlder, pytest, responses }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
, fetchPypi
|
||||||
|
, argcomplete
|
||||||
|
, requests
|
||||||
|
, requests-toolbelt
|
||||||
|
, pyyaml
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-gitlab";
|
pname = "python-gitlab";
|
||||||
version = "2.6.0";
|
version = "2.7.1";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "a862c6874524ab585b725a17b2cd2950fc09d6d74205f40a11be2a4e8f2dcaa1";
|
sha256 = "0z4amj5xhx5zc3h2m0zrkardm3z5ba9qpjx5n6dczyz77r527yg1";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [
|
||||||
|
argcomplete
|
||||||
|
pyyaml
|
||||||
|
requests
|
||||||
|
requests-toolbelt
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ mock httmock pytest responses ];
|
# tests rely on a gitlab instance on a local docker setup
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
pythonImportsCheck = [
|
||||||
|
"gitlab"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Interact with GitLab API";
|
description = "Interact with GitLab API";
|
||||||
|
Loading…
Reference in New Issue
Block a user