python312Packages.ypy-websocket: disable failing test (#403461)
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
aiosqlite,
|
||||
anyio,
|
||||
y-py,
|
||||
|
||||
# testing
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
uvicorn,
|
||||
@@ -16,9 +21,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "ypy-websocket";
|
||||
version = "0.12.4";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "y-crdt";
|
||||
@@ -27,13 +30,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-48x+MUhev9dErC003XOP3oGKd5uOghlBFgcR8Nm/0xs=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
pythonRelaxDeps = [ "aiofiles" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiosqlite
|
||||
anyio
|
||||
y-py
|
||||
@@ -41,6 +42,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "ypy_websocket" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
@@ -51,6 +54,8 @@ buildPythonPackage rec {
|
||||
disabledTestPaths = [
|
||||
# requires installing yjs Node.js module
|
||||
"tests/test_ypy_yjs.py"
|
||||
# Depends on no longer maintained ypy
|
||||
"tests/test_asgi.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user