python3Packages.mongoengine: relax pymongo deps
This commit is contained in:
parent
6df25afd5d
commit
3dcd2cd375
1 changed files with 4 additions and 1 deletions
|
@ -36,12 +36,15 @@ buildPythonPackage rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "coverage==4.2" "coverage"
|
||||
--replace "coverage==4.2" "coverage" \
|
||||
--replace "pymongo>=3.4,<=4.0" "pymongo"
|
||||
'';
|
||||
|
||||
# tests require mongodb running in background
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "mongoengine" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "MongoEngine is a Python Object-Document Mapper for working with MongoDB";
|
||||
homepage = "http://mongoengine.org/";
|
||||
|
|
Loading…
Reference in a new issue