python3Packages.jira: fix build (#380909)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
pillow,
|
||||
pyjwt,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
pythonOlder,
|
||||
requests,
|
||||
requests-futures,
|
||||
@@ -30,17 +31,17 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pycontribs";
|
||||
repo = pname;
|
||||
repo = "jira";
|
||||
tag = version;
|
||||
hash = "sha256-P3dbrBKpHvLNIA+JBeSXEQl4QVZ0FdKkNIU8oPHWw6k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
defusedxml
|
||||
packaging
|
||||
requests
|
||||
@@ -67,14 +68,10 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
flaky
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
requests-mock
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov-report=xml --cov jira" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "jira" ];
|
||||
|
||||
# impure tests because of connectivity attempts to jira servers
|
||||
|
||||
Reference in New Issue
Block a user