Merge pull request #237753 from moduon/py38-httplib2

python38Packages.httplib2: resurrect
This commit is contained in:
Weijia Wang 2023-06-14 17:01:25 +03:00 committed by GitHub
commit 9bd4c38b85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@
, pytest-randomly
, pytest-timeout
, pytestCheckHook
, pythonAtLeast
, six
}:
@ -39,8 +40,8 @@ buildPythonPackage rec {
pytestCheckHook
];
# Don't run tests for Python 2.7
doCheck = !isPy27;
# Don't run tests for older Pythons
doCheck = pythonAtLeast "3.9";
postPatch = ''
sed -i "/--cov/d" setup.cfg