Merge pull request #169445 from fabaff/httpx-ntlm-fix

python3Packages.httpx-ntlm: relax dependency constraints
This commit is contained in:
Martin Weinelt 2022-04-20 20:55:24 +02:00 committed by GitHub
commit 23de02e0d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "httpx_ntlm";
inherit version;
sha256 = "sha256-pv/OxgcO0JWk2nCZp+bKlOdX7NqV6V5xZRDy5dd13qQ=";
hash = "sha256-pv/OxgcO0JWk2nCZp+bKlOdX7NqV6V5xZRDy5dd13qQ=";
};
propagatedBuildInputs = [
@ -26,6 +26,12 @@ buildPythonPackage rec {
pyspnego
];
postPatch = ''
substituteInPlace setup.py \
--replace "pyspnego==0.3.*" "pyspnego>=0.3.*" \
--replace "cryptography==36.0.*" "cryptography>=36.0.*"
'';
# https://github.com/ulodciv/httpx-ntlm/issues/5
doCheck = false;