Merge pull request #162183 from fabaff/bump-weconnect

python3Packages.weconnect: 0.37.0 -> 0.37.1, python3Packages.weconnect-mqtt: 0.30.0 -> 0.30.1
This commit is contained in:
Fabian Affolter
2022-03-04 10:22:37 +01:00
committed by GitHub
3 changed files with 20 additions and 18 deletions
@@ -1,28 +1,26 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# propagates
, blinker
, buildPythonPackage
, cryptography
, pyjwt
# test
, fetchFromGitHub
, mock
, pyjwt
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "oauthlib";
version = "3.1.1";
version = "3.2.0";
format = "setuptools";
# master supports pyjwt==1.7.1
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256:1bgxpzh11i0x7h9py3a29cz5z714b3p498b62znnn5ciy0cr80sv";
hash = "sha256-41JFURG8G8BjlAlNu2+lbj84XR/trAk1U5OPYxPq+5M=";
};
propagatedBuildInputs = [
@@ -36,10 +34,14 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"oauthlib"
];
meta = with lib; {
description = "Generic, spec-compliant, thorough implementation of the OAuth request-signing logic";
homepage = "https://github.com/idan/oauthlib";
description = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic";
maintainers = with maintainers; [ prikhi ];
license = licenses.bsd3;
maintainers = with maintainers; [ prikhi ];
};
}
@@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "weconnect-mqtt";
version = "0.30.0";
version = "0.30.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "tillsteinbach";
repo = "WeConnect-mqtt";
rev = "v${version}";
sha256 = "sha256-/mlN9gEEy8DJSFef0Pp2PLjHhwStKwANKSzw4nT19eM=";
sha256 = "sha256-J4Sh33onwYWE5k0c7KFlJpoh6X7c/43ZPQtfoD1BIhA=";
};
propagatedBuildInputs = [
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "weconnect";
version = "0.37.0";
version = "0.37.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "tillsteinbach";
repo = "WeConnect-python";
rev = "v${version}";
sha256 = "sha256-h6jKtQt9vCh5bnhIqWLniUIJ41GxCs0uSi4vBVNs8tE=";
sha256 = "sha256-wug1wodbbVzuH0mPwWVU2BE166EqnD5hUXlTwAxNK+o=";
};
propagatedBuildInputs = [
@@ -42,8 +42,8 @@ buildPythonPackage rec {
substituteInPlace setup.py \
--replace "setup_requires=SETUP_REQUIRED," "setup_requires=[]," \
--replace "tests_require=TEST_REQUIRED," "tests_require=[],"
substituteInPlace requirements.txt \
--replace "pillow~=9.0.0" "pillow"
substituteInPlace image_extra_requirements.txt \
--replace "pillow~=9.0.1" "pillow"
substituteInPlace pytest.ini \
--replace "--cov=weconnect --cov-config=.coveragerc --cov-report html" "" \
--replace "pytest-cov" ""