python3Packages.supabase: 2.27.2 -> 2.28.0

This commit is contained in:
macbucheron1
2026-02-27 13:54:57 +01:00
parent 9e740a0a4f
commit 89f6b2876c
2 changed files with 26 additions and 14 deletions
@@ -2,50 +2,60 @@
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
gotrue,
postgrest,
uv-build,
realtime,
storage3,
supafunc,
supabase-functions,
supabase-auth,
postgrest,
httpx,
yarl,
storage3,
pytestCheckHook,
python-dotenv,
pytest-asyncio,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "supabase";
version = "2.27.2";
version = "2.28.0";
pyproject = true;
src = fetchFromGitHub {
owner = "supabase";
repo = "supabase-py";
tag = "v${version}";
hash = "sha256-TRATa+lDRm2MDuARXfBRWnWYUak8i1fW7rr5ujWN8TY=";
hash = "sha256-nK+IZRrKjNy84EC8krBvAZll5E0+jV3bLJh8qIVRElI=";
};
build-system = [ poetry-core ];
sourceRoot = "${src.name}/src/supabase";
# FIXME remove for supabase >= 2.18.0
pythonRelaxDeps = true;
build-system = [ uv-build ];
doCheck = true;
dependencies = [
postgrest
realtime
gotrue
supabase-auth
supabase-functions
postgrest
httpx
yarl
storage3
supafunc
];
nativeBuildInputs = [
pytestCheckHook
python-dotenv
pytest-asyncio
pytest-cov-stub
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'uv_build>=0.8.3,<0.9.0' 'uv_build>=0.8.3'
'';
pythonImportsCheck = [ "supabase" ];
meta = {
+3 -1
View File
@@ -18529,7 +18529,9 @@ self: super: with self; {
supabase = callPackage ../development/python-modules/supabase { };
supabase-functions = self.supafunc;
supabase-auth = callPackage ../development/python-modules/supabase-auth { };
supabase-functions = callPackage ../development/python-modules/supabase-functions { };
supafunc = callPackage ../development/python-modules/supafunc { };