python3Packages.pyatmo: 4.1.0 -> 4.2.0

Relax their oauthlib pin to 3.1.0, we have already move on to an unstable
version for the latest PyJWT support.
This commit is contained in:
Martin Weinelt 2020-11-04 12:48:49 +01:00 committed by Jonathan Ringer
parent 842c7c5384
commit 7f623f6f3b

View file

@ -12,17 +12,26 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyatmo"; pname = "pyatmo";
version = "4.1.0"; version = "4.2.0";
disabled = pythonOlder "3.5"; # uses type hints disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jabesq"; owner = "jabesq";
repo = "netatmo-api-python"; repo = "netatmo-api-python";
rev = "v${version}"; rev = "v${version}";
sha256 = "0x3xq6ni9rl5k3vi0ydqafdzvza785ycnlgyikgqbkppbh3j33ig"; sha256 = "0b2k1814zg3994k60xdw5gpsl8k1wy9zndd0b1p4dfb5qkx9f8kp";
}; };
propagatedBuildInputs = [ oauthlib requests requests_oauthlib ]; postPatch = ''
substituteInPlace setup.cfg \
--replace "oauthlib==3.1.0" "oauthlib"
'';
propagatedBuildInputs = [
oauthlib
requests
requests_oauthlib
];
checkInputs = [ checkInputs = [
freezegun freezegun