python3Packages.rokuecp: 0.15.0 -> 0.16.0

This commit is contained in:
Fabian Affolter 2022-03-29 08:51:57 +02:00
parent a785ec661f
commit 92a37b613c

View file

@ -6,7 +6,7 @@
, buildPythonPackage , buildPythonPackage
, cachetools , cachetools
, fetchFromGitHub , fetchFromGitHub
, poetry , poetry-core
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "rokuecp"; pname = "rokuecp";
version = "0.15.0"; version = "0.16.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -25,12 +25,11 @@ buildPythonPackage rec {
owner = "ctalkington"; owner = "ctalkington";
repo = "python-rokuecp"; repo = "python-rokuecp";
rev = version; rev = version;
hash = "sha256-yNmnCoHIBlpQCLd+YcsKCKd1wWh8WZNpILWmChZGWH4="; hash = "sha256-MeugjIZorwO8d0Yb7bthI6f4NNo6GX9JrRbxrVSdWv0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
# Requires poetry not poetry-core poetry-core
poetry
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -50,12 +49,14 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace 'version = "0.0.0"' 'version = "${version}"' \
--replace " --cov" "" --replace " --cov" ""
''; '';
disabledTests = [ disabledTests = [
# https://github.com/ctalkington/python-rokuecp/issues/249 # Network related tests are having troube in the sandbox
"test_resolve_hostname" "test_resolve_hostname"
"test_get_dns_state"
# Assertion issue # Assertion issue
"test_guess_stream_format" "test_guess_stream_format"
]; ];