Merge pull request #267205 from fabaff/weconnect-bump

python311Packages.weconnect: 0.59.1 -> 0.59.4, python311Packages.weconnect-mqtt: 0.47.0 -> 0.48.2
This commit is contained in:
Nick Cao
2023-11-13 08:30:59 -05:00
committed by GitHub
2 changed files with 5 additions and 7 deletions
@@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "weconnect-mqtt";
version = "0.47.0";
version = "0.48.2";
format = "setuptools";
disabled = pythonOlder "3.8";
@@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "tillsteinbach";
repo = "WeConnect-mqtt";
rev = "refs/tags/v${version}";
hash = "sha256-pJtqKA04zooFDfxWGbTFZewS8N0Z2eB9iLFLYueu8oo=";
hash = "sha256-8JJBWF53VOmTD/uetCURFaTkfSTax/YeafKsZtA1xAA=";
};
postPatch = ''
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "weconnect";
version = "0.59.1";
version = "0.59.4";
format = "setuptools";
disabled = pythonOlder "3.8";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "tillsteinbach";
repo = "WeConnect-python";
rev = "refs/tags/v${version}";
hash = "sha256-h2rMfpLsc2IPZN0Qp7vomoFMJxLXctkuiov3sntd5c0=";
hash = "sha256-Z9tiK6oDyyMcXhgUUxSDL9URYDp6Uz8rFPART3qxd+s=";
};
propagatedBuildInputs = [
@@ -47,14 +47,12 @@ buildPythonPackage rec {
substituteInPlace setup.py \
--replace "setup_requires=SETUP_REQUIRED," "setup_requires=[]," \
--replace "tests_require=TEST_REQUIRED," "tests_require=[],"
substituteInPlace requirements.txt \
--replace "requests~=2.29.0" "requests"
substituteInPlace image_extra_requirements.txt \
--replace "pillow~=" "pillow>=" \
--replace "ascii_magic~=" "ascii_magic>="
substituteInPlace pytest.ini \
--replace "--cov=weconnect --cov-config=.coveragerc --cov-report html" "" \
--replace "pytest-cov" ""
--replace "required_plugins = pytest-httpserver pytest-cov" ""
'';
pythonImportsCheck = [