lol

python312Packages.ypy-websocket: disable failing test (#403461)

authored by

Peder Bergebakken Sundt and committed by
GitHub
7c854787 9a47a18d

+14 -9
+14 -9
pkgs/development/python-modules/ypy-websocket/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - pythonOlder, 5 4 fetchFromGitHub, 5 + 6 + # build-system 6 7 hatchling, 8 + 9 + # dependencies 7 10 aiosqlite, 8 11 anyio, 9 12 y-py, 13 + 14 + # testing 10 15 pytest-asyncio, 11 16 pytestCheckHook, 12 17 uvicorn, ··· 16 21 buildPythonPackage rec { 17 22 pname = "ypy-websocket"; 18 23 version = "0.12.4"; 19 - format = "pyproject"; 20 - 21 - disabled = pythonOlder "3.7"; 24 + pyproject = true; 22 25 23 26 src = fetchFromGitHub { 24 27 owner = "y-crdt"; ··· 27 30 hash = "sha256-48x+MUhev9dErC003XOP3oGKd5uOghlBFgcR8Nm/0xs="; 28 31 }; 29 32 30 - pythonRelaxDeps = [ "aiofiles" ]; 33 + build-system = [ hatchling ]; 31 34 32 - nativeBuildInputs = [ 33 - hatchling 34 - ]; 35 + pythonRelaxDeps = [ "aiofiles" ]; 35 36 36 - propagatedBuildInputs = [ 37 + dependencies = [ 37 38 aiosqlite 38 39 anyio 39 40 y-py 40 41 ]; 41 42 42 43 pythonImportsCheck = [ "ypy_websocket" ]; 44 + 45 + __darwinAllowLocalNetworking = true; 43 46 44 47 nativeCheckInputs = [ 45 48 pytest-asyncio ··· 51 54 disabledTestPaths = [ 52 55 # requires installing yjs Node.js module 53 56 "tests/test_ypy_yjs.py" 57 + # Depends on no longer maintained ypy 58 + "tests/test_asgi.py" 54 59 ]; 55 60 56 61 meta = {