From 7fb5b2dc8caf5d23cbfa8953c4265c3231d49fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 26 Aug 2025 21:44:04 -0700 Subject: [PATCH] python3Packages.realtime: 2.5.2 -> 2.7.0 Diff: https://github.com/supabase/realtime-py/compare/v2.5.2...v2.7.0 Changelog: https://github.com/supabase/realtime-py/blob/v2.7.0/CHANGELOG.md --- .../python-modules/realtime/default.nix | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/realtime/default.nix b/pkgs/development/python-modules/realtime/default.nix index cf41f0df81f8..66ee2e1fb5c2 100644 --- a/pkgs/development/python-modules/realtime/default.nix +++ b/pkgs/development/python-modules/realtime/default.nix @@ -3,41 +3,40 @@ buildPythonPackage, fetchFromGitHub, poetry-core, - python-dateutil, + pydantic, typing-extensions, websockets, aiohttp, + pytest-asyncio, pytestCheckHook, python-dotenv, }: buildPythonPackage rec { pname = "realtime-py"; - version = "2.5.2"; + version = "2.7.0"; pyproject = true; src = fetchFromGitHub { owner = "supabase"; repo = "realtime-py"; - rev = "v${version}"; - hash = "sha256-NFxWcnt/zpgDehacqK7QlXhmjrh6JoA6xh+sFjD/tt0="; + tag = "v${version}"; + hash = "sha256-cWWgVs+ZNRvBje3kuDQS5L5utkY3z7MluGFNmjf9LFc="; }; dependencies = [ - python-dateutil + pydantic typing-extensions websockets - aiohttp ]; pythonRelaxDeps = [ "websockets" - "aiohttp" - "typing-extensions" ]; - # Can't run all the tests due to infinite loop in pytest-asyncio - nativeBuildInputs = [ + nativeCheckInputs = [ + aiohttp + pytest-asyncio pytestCheckHook python-dotenv ]; @@ -46,9 +45,11 @@ buildPythonPackage rec { build-system = [ poetry-core ]; + # requires running Supabase doCheck = false; meta = { + changelog = "https://github.com/supabase/realtime-py/blob/${src.tag}/CHANGELOG.md"; homepage = "https://github.com/supabase/realtime-py"; license = lib.licenses.mit; description = "Python Realtime Client for Supabase";