python312Packages.pytautulli: disable failing test

This commit is contained in:
Martin Weinelt
2024-10-13 11:10:00 +02:00
parent 5bed8e897a
commit 6a7304f2d7
@@ -27,11 +27,11 @@ buildPythonPackage rec {
# Upstream is releasing with the help of a CI to PyPI, GitHub releases
# are not in their focus
substituteInPlace setup.py \
--replace 'version="main",' 'version="${version}",'
--replace-fail 'version="main",' 'version="${version}",'
# yarl 1.9.4 requires ports to be ints
substituteInPlace pytautulli/models/host_configuration.py \
--replace "str(self.port)" "int(self.port)"
--replace-fail "str(self.port)" "int(self.port)"
'';
propagatedBuildInputs = [ aiohttp ];
@@ -43,7 +43,10 @@ buildPythonPackage rec {
pytest-asyncio
];
pytestFlagsArray = [ "--asyncio-mode=auto" ];
disabledTests = [
# api url mismatch (port missing)
"test_api_url"
];
pythonImportsCheck = [ "pytautulli" ];