Merge pull request #303038 from fabaff/bleak-retry-connector-bump

python312Packages.bleak-retry-connector: 3.4.0 -> 3.5.0
This commit is contained in:
Fabian Affolter 2024-04-10 11:59:45 +02:00 committed by GitHub
commit 029aa58786
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,40 +1,39 @@
{ lib
, async-timeout
, bleak
, bluetooth-adapters
, dbus-fast
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, pythonOlder
, pytest-asyncio
{
lib,
async-timeout,
bleak,
bluetooth-adapters,
dbus-fast,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pythonOlder,
pytest-asyncio,
}:
buildPythonPackage rec {
pname = "bleak-retry-connector";
version = "3.4.0";
format = "pyproject";
version = "3.5.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = pname;
repo = "bleak-retry-connector";
rev = "refs/tags/v${version}";
hash = "sha256-hhoYPpNJ8myW2KMe7o7gvbjnmpY4OYudaDA/vV8BkN8=";
hash = "sha256-oqc997siTg43Ulrc539G3utfQvHjcBZJgQ8/CfcSduc=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=bleak_retry_connector --cov-report=term-missing:skip-covered" ""
--replace-fail " --cov=bleak_retry_connector --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [
poetry-core
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
async-timeout
bleak
bluetooth-adapters
@ -53,9 +52,7 @@ buildPythonPackage rec {
"test_establish_connection_without_dangerous_use_cached_services"
];
pythonImportsCheck = [
"bleak_retry_connector"
];
pythonImportsCheck = [ "bleak_retry_connector" ];
meta = with lib; {
description = "Connector for Bleak Clients that handles transient connection failures";