python3Packages.{y-py,ypy-websocket}: drop (#482346)
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
pytestCheckHook,
|
||||
|
||||
# tests
|
||||
pycrdt-websocket,
|
||||
websockets,
|
||||
ypy-websocket,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -39,8 +39,8 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pycrdt-websocket
|
||||
websockets
|
||||
ypy-websocket
|
||||
];
|
||||
|
||||
# requires a Node.js environment
|
||||
@@ -48,7 +48,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/jupyter-server/jupyter_ydoc/blob/${src.tag}/CHANGELOG.md";
|
||||
description = "Document structures for collaborative editing using Ypy";
|
||||
description = "Document structures for collaborative editing using Yjs/pycrdt";
|
||||
homepage = "https://github.com/jupyter-server/jupyter_ydoc";
|
||||
license = lib.licenses.bsd3;
|
||||
teams = [ lib.teams.jupyter ];
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
pydantic,
|
||||
pytestCheckHook,
|
||||
trio,
|
||||
y-py,
|
||||
|
||||
nix-update-script,
|
||||
}:
|
||||
@@ -50,7 +49,6 @@ buildPythonPackage rec {
|
||||
pydantic
|
||||
pytestCheckHook
|
||||
trio
|
||||
y-py
|
||||
];
|
||||
|
||||
pytestFlags = [
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
rustPlatform,
|
||||
cargo,
|
||||
rustc,
|
||||
libiconv,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "y-py";
|
||||
version = "0.6.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "y_py";
|
||||
inherit version;
|
||||
hash = "sha256-R1eoKlBAags6MzqgEiAZozG9bxbkn+1n3KQj+Siz/U0=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit pname version src;
|
||||
hash = "sha256-Wh25tLOVhAYFLqjOrKSu4klB1hGSOMconC1xZG31Dbw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.maturinBuildHook
|
||||
cargo
|
||||
rustc
|
||||
];
|
||||
|
||||
buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
|
||||
|
||||
pythonImportsCheck = [ "y_py" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for Y-CRDT";
|
||||
homepage = "https://github.com/y-crdt/ypy";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
aiosqlite,
|
||||
anyio,
|
||||
y-py,
|
||||
|
||||
# testing
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
uvicorn,
|
||||
websockets,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ypy-websocket";
|
||||
version = "0.12.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "y-crdt";
|
||||
repo = "ypy-websocket";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-48x+MUhev9dErC003XOP3oGKd5uOghlBFgcR8Nm/0xs=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
pythonRelaxDeps = [ "aiofiles" ];
|
||||
|
||||
dependencies = [
|
||||
aiosqlite
|
||||
anyio
|
||||
y-py
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "ypy_websocket" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
uvicorn
|
||||
websockets
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# requires installing yjs Node.js module
|
||||
"tests/test_ypy_yjs.py"
|
||||
# Depends on no longer maintained ypy
|
||||
"tests/test_asgi.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/y-crdt/ypy-websocket/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "WebSocket Connector for Ypy";
|
||||
homepage = "https://github.com/y-crdt/ypy-websocket";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -537,7 +537,9 @@ mapAliases {
|
||||
xapp = throw "'xapp' has been renamed to/replaced by 'python-xapp'"; # Converted to throw 2025-10-29
|
||||
xbox-webapi = throw "xbox-webapi was removed because Home Assistant switched to python-xbox"; # added 2025-12-03
|
||||
XlsxWriter = throw "'XlsxWriter' has been renamed to/replaced by 'xlsxwriter'"; # Converted to throw 2025-10-29
|
||||
y-py = throw "'y-py' has been removed as it was archived upstream; consider using 'pycrdt' instead"; # Added 2026-01-21
|
||||
Yapsy = throw "'Yapsy' has been renamed to/replaced by 'yapsy'"; # Converted to throw 2025-10-29
|
||||
ypy-websocket = throw "'ypy-websocket' has been removed as it was archived upstream; consider using 'pycrdt-websocket' instead"; # Added 2026-01-21
|
||||
z3 = throw "'z3' has been renamed to/replaced by 'z3-solver'"; # Converted to throw 2025-10-29
|
||||
zc-buildout221 = throw "'zc-buildout221' has been renamed to/replaced by 'zc-buildout'"; # Converted to throw 2025-10-29
|
||||
zc_lockfile = throw "'zc_lockfile' has been renamed to/replaced by 'zc-lockfile'"; # Converted to throw 2025-10-29
|
||||
|
||||
@@ -20952,8 +20952,6 @@ self: super: with self; {
|
||||
|
||||
xyzservices = callPackage ../development/python-modules/xyzservices { };
|
||||
|
||||
y-py = callPackage ../development/python-modules/y-py { };
|
||||
|
||||
yabadaba = callPackage ../development/python-modules/yabadaba { };
|
||||
|
||||
yacs = callPackage ../development/python-modules/yacs { };
|
||||
@@ -21052,8 +21050,6 @@ self: super: with self; {
|
||||
|
||||
yoyo-migrations = callPackage ../development/python-modules/yoyo-migrations { };
|
||||
|
||||
ypy-websocket = callPackage ../development/python-modules/ypy-websocket { };
|
||||
|
||||
yq = callPackage ../development/python-modules/yq { inherit (pkgs) jq; };
|
||||
|
||||
yt-dlp = toPythonModule (pkgs.yt-dlp.override { python3Packages = self; });
|
||||
|
||||
Reference in New Issue
Block a user