python3Packages.mongoengine: relax pymongo deps

This commit is contained in:
Jonathan Ringer 2022-03-02 16:05:57 -08:00 committed by Martin Weinelt
parent 6df25afd5d
commit 3dcd2cd375

View file

@ -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/";