0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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