Merge pull request #80895 from rnhmjoj/pysaml2

pythonPackages.pysaml2: fix tests on 32bit systems
This commit is contained in:
Michele Guerini Rocco 2020-02-24 12:39:22 +01:00 committed by GitHub
commit 1ded2578b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,6 +36,11 @@ buildPythonPackage rec {
})
];
postPatch = ''
# fix failing tests on systems with 32bit time_t
sed -i 's/2999\(-.*T\)/2029\1/g' tests/*.xml
'';
propagatedBuildInputs = [ cryptography defusedxml future pyopenssl dateutil pytz requests six ];
checkInputs = [ mock pyasn1 pymongo pytest responses ];