python3Packages.nest-asyncio: clean up, fix on 3.14

This packages is EOL upstream since 2024-03-06, but still used in too
many places.
This commit is contained in:
Martin Weinelt
2025-11-25 12:35:47 -08:00
committed by Robert Schütz
parent 5acb4b5342
commit a3da737365
@@ -3,7 +3,7 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
pythonAtLeast,
setuptools,
setuptools-scm,
}:
@@ -13,8 +13,6 @@ buildPythonPackage rec {
version = "1.6.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "erdewit";
repo = "nest_asyncio";
@@ -22,13 +20,17 @@ buildPythonPackage rec {
hash = "sha256-5I5WItOl1QpyI4OXZgZf8GiQ7Jlo+SJbDicIbernaU4=";
};
nativeBuildInputs = [
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = lib.optionals (pythonAtLeast "3.14") [
"tests/nest_test.py::NestTest::test_timeout"
];
pythonImportsCheck = [ "nest_asyncio" ];
meta = with lib; {