python3Packages.deepdiff: 5.6.0 -> 5.7.0
Relaxes the ordered-set constraint.
This commit is contained in:
parent
5377b75a52
commit
98d4760be8
@ -12,18 +12,21 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "deepdiff";
|
pname = "deepdiff";
|
||||||
version = "5.6.0";
|
version = "5.7.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
# pypi source does not contain all fixtures required for tests
|
# pypi source does not contain all fixtures required for tests
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "seperman";
|
owner = "seperman";
|
||||||
repo = "deepdiff";
|
repo = "deepdiff";
|
||||||
rev = version;
|
# 5.7.0 release not tagged https://github.com/seperman/deepdiff/issues/300
|
||||||
sha256 = "sha256-ysaIeVefsTX7ZubOXaEzeS1kMyBp4/w3SHNFxsGVhzY=";
|
rev = "f2ffdb83b2993f4f0bb7e854620f0acd0bf6339e";
|
||||||
|
hash = "sha256-0UBx7sH2iMrLVl5FtHNTwoecLHi8GbInn75G3FSg4gk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
substituteInPlace requirements.txt \
|
||||||
|
--replace "ordered-set==4.0.2" "ordered-set"
|
||||||
substituteInPlace tests/test_command.py \
|
substituteInPlace tests/test_command.py \
|
||||||
--replace '/tmp/' "$TMPDIR/"
|
--replace '/tmp/' "$TMPDIR/"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user