python3Packages.matrix-nio: Fix build by updating aiohttp-socks

This commit is contained in:
Austin Butler 2021-12-28 14:46:52 -08:00 committed by Jonathan Ringer
parent ac796bf814
commit bc6d997f82

View File

@ -41,12 +41,14 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'aiofiles = "^0.6.0"' 'aiofiles = "*"'
# Remove after https://github.com/poljar/matrix-nio/pull/288
substituteInPlace pyproject.toml \
--replace 'aiohttp-socks = "^0.6.0"' 'aiohttp-socks = "^0.7.0"'
'';
nativeBuildInputs = [
git
poetry-core
pytestCheckHook
];
propagatedBuildInputs = [
@ -73,8 +75,11 @@ buildPythonPackage rec {
hypothesis
pytest-aiohttp
pytest-benchmark
pytestCheckHook
];
pytestFlagsArray = [ "--benchmark-disable" ];
disabledTests = [
# touches network
"test_connect_wrapper"