forked from mirrors/nixpkgs
python3Packages.matrix-nio: Fix build by updating aiohttp-socks
This commit is contained in:
parent
ac796bf814
commit
bc6d997f82
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue