python3Packages.async_generator: fix build on python3.5
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, pytest, pytest-asyncio }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy35, pytest, pytest-asyncio }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "async_generator";
|
||||
@@ -17,6 +17,9 @@ buildPythonPackage rec {
|
||||
pytest -W error -ra -v --pyargs async_generator
|
||||
'';
|
||||
|
||||
# disable tests on python3.5 to avoid circular dependency with pytest-asyncio
|
||||
doCheck = !isPy35;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Async generators and context managers for Python 3.5+";
|
||||
homepage = https://github.com/python-trio/async_generator;
|
||||
|
||||
Reference in New Issue
Block a user