python311Packages.trio-asyncio: fix build, disable tests
This commit is contained in:
parent
0d565f1e9d
commit
3f38892105
1 changed files with 6 additions and 2 deletions
|
@ -2,13 +2,13 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, greenlet
|
||||
, trio
|
||||
, outcome
|
||||
, sniffio
|
||||
, exceptiongroup
|
||||
, pytest-trio
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
|
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'pytest-runner'" ""
|
||||
--replace '"pytest-runner"' ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -35,6 +35,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
greenlet
|
||||
trio
|
||||
outcome
|
||||
sniffio
|
||||
|
@ -42,6 +43,9 @@ buildPythonPackage rec {
|
|||
exceptiongroup
|
||||
];
|
||||
|
||||
# RuntimeWarning: Can't run the Python asyncio tests because they're not installed. On a Debian/Ubuntu system, you might need to install the libpython3.11-testsuite package.
|
||||
doCheck = false;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-trio
|
||||
pytestCheckHook
|
||||
|
|
Loading…
Reference in a new issue