Unverified Commit 39900dec authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

python3Packages.pycrdt-store: init at 0.1.3b1;...

python3Packages.pycrdt-store: init at 0.1.3b1; python3Packages.pycrdt-websockets: 0.15.5 -> 0.16.0 (#461008)
parents 90b011f9 db56d713
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -9,13 +9,13 @@

buildPythonPackage rec {
  pname = "jupyter-collaboration-ui";
  version = "2.1.1";
  version = "2.1.2";
  pyproject = true;

  src = fetchPypi {
    pname = "jupyter_collaboration_ui";
    inherit version;
    hash = "sha256-eqPssYhFQMOi3MdPwCoGrYIMK8BN6HafQG2Gq6Ftn60=";
    hash = "sha256-Eajdc0AI47AtxLUW4xwxCZw3G/1aiKCa8Mnh7bYq00s=";
  };

  postPatch = ''
+7 −2
Original line number Diff line number Diff line
@@ -23,14 +23,14 @@

buildPythonPackage rec {
  pname = "jupyter-collaboration";
  version = "4.1.0";
  version = "4.1.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jupyterlab";
    repo = "jupyter-collaboration";
    tag = "v${version}";
    hash = "sha256-PnfUWtOXdXYG5qfzAW5kATSQr2sWKDBNiINA8/G4ZX4=";
    hash = "sha256-/NFx76jqByPhzFKYFIcVctJv9+WQeuoUQaqNt+tUs8o=";
  };

  sourceRoot = "${src.name}/projects/jupyter-collaboration";
@@ -64,6 +64,11 @@ buildPythonPackage rec {
    appendToVar enabledTestPaths "$src/tests"
  '';

  disabledTests = [
    # Failed: Timeout (>300.0s) from pytest-timeout
    "test_document_ttl_from_settings"
  ];

  __darwinAllowLocalNetworking = true;

  meta = {
+2 −2
Original line number Diff line number Diff line
@@ -9,13 +9,13 @@

buildPythonPackage rec {
  pname = "jupyter-docprovider";
  version = "2.1.1";
  version = "2.1.2";
  pyproject = true;

  src = fetchPypi {
    pname = "jupyter_docprovider";
    inherit version;
    hash = "sha256-cwPzUoU0d9ipbj3mEADzCpt97n98AjfVUsrupPRER3k=";
    hash = "sha256-lHnCmOeqpEl/JSrMwet9s5gXjdDty7N+/VWKh7Zh44w=";
  };

  postPatch = ''
+2 −2
Original line number Diff line number Diff line
@@ -15,13 +15,13 @@

buildPythonPackage rec {
  pname = "jupyter-server-ydoc";
  version = "2.1.0";
  version = "2.1.2";
  pyproject = true;

  src = fetchPypi {
    pname = "jupyter_server_ydoc";
    inherit version;
    hash = "sha256-tSa+aEqmIev9lywYpUynxhPGfy0FHPUteiaqCS9zWkY=";
    hash = "sha256-rQOkjRB4HU8KB/M9VifIlPqkChpKPA2KjaJ8sUHIi4c=";
  };

  build-system = [ hatchling ];
+55 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  hatchling,

  # dependencies
  anyio,
  pycrdt,
  sqlite-anyio,

  # tests
  pytestCheckHook,
  trio,
}:

buildPythonPackage rec {
  pname = "pycrdt-store";
  version = "0.1.3b1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "y-crdt";
    repo = "pycrdt-store";
    tag = version;
    hash = "sha256-UMLR30PqtPUlD6z7VTPl7ZkSSw4HkmO5bUa/lSeFFoE=";
  };

  build-system = [
    hatchling
  ];

  dependencies = [
    anyio
    pycrdt
    sqlite-anyio
  ];

  nativeCheckInputs = [
    pytestCheckHook
    trio
  ];

  pythonImportsCheck = [ "pycrdt.store" ];

  meta = {
    description = "Persistent storage for pycrdt";
    homepage = "https://github.com/y-crdt/pycrdt-store";
    changelog = "https://github.com/y-crdt/pycrdt-store/blob/${src.tag}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sarahec ];
  };
}
Loading