python312Packages.pysnow: patch tests, unbreak
This commit is contained in:
@@ -58,6 +58,10 @@ buildPythonPackage rec {
|
||||
--replace 'ijson = "^2.5.1"' 'ijson = "*"' \
|
||||
--replace 'pytz = "^2019.3"' 'pytz = "*"' \
|
||||
--replace 'oauthlib = "^3.1.0"' 'oauthlib = "*"'
|
||||
|
||||
# https://github.com/rbw/pysnow/pull/201 doesn't apply via fetchpatch, so we recreate it
|
||||
substituteInPlace tests/test_client.py tests/test_oauth_client.py tests/test_params_builder.py tests/test_resource.py \
|
||||
--replace-fail "self.assertEquals" "self.assertEqual"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pysnow" ];
|
||||
|
||||
Reference in New Issue
Block a user