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:
commit
9bd4c38b85
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue