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
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptools
|
, setuptools
|
||||||
|
, greenlet
|
||||||
, trio
|
, trio
|
||||||
, outcome
|
, outcome
|
||||||
, sniffio
|
, sniffio
|
||||||
, exceptiongroup
|
, exceptiongroup
|
||||||
, pytest-trio
|
, pytest-trio
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonAtLeast
|
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "'pytest-runner'" ""
|
--replace '"pytest-runner"' ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -35,6 +35,7 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
greenlet
|
||||||
trio
|
trio
|
||||||
outcome
|
outcome
|
||||||
sniffio
|
sniffio
|
||||||
|
@ -42,6 +43,9 @@ buildPythonPackage rec {
|
||||||
exceptiongroup
|
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 = [
|
nativeCheckInputs = [
|
||||||
pytest-trio
|
pytest-trio
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
|
Loading…
Reference in a new issue