From b9a2d58f5b2465ff8b44f13ead6c1f493f3bdf02 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 8 Mar 2026 16:28:54 +0100 Subject: [PATCH 1/2] python3Packages.gotrue: drop The `gotrue` Python package was deprecated upstream and replaced by `supabase_auth` in December 2024, and has been unmaintained since August 2025 [1]. [1] https://pypi.org/project/gotrue/ --- .../python-modules/gotrue/default.nix | 44 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 pkgs/development/python-modules/gotrue/default.nix diff --git a/pkgs/development/python-modules/gotrue/default.nix b/pkgs/development/python-modules/gotrue/default.nix deleted file mode 100644 index baa701d1a7ec..000000000000 --- a/pkgs/development/python-modules/gotrue/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - poetry-core, - httpx, - h2, - pydantic, - pyjwt, - pytest-mock, -}: - -buildPythonPackage rec { - pname = "gotrue"; - version = "2.12.4"; - pyproject = true; - - src = fetchPypi { - inherit pname version; - hash = "sha256-NdLljgZkhjIfTf8AM7MKU9BXx/Q2wVKHEi+gy4MwKbE="; - }; - - build-system = [ poetry-core ]; - - dependencies = [ - httpx - h2 - pydantic - pyjwt - pytest-mock - ]; - - pythonImportsCheck = [ "gotrue" ]; - - # test aren't in pypi package - doCheck = false; - - meta = { - homepage = "https://github.com/supabase/auth-py"; - license = lib.licenses.mit; - description = "Python Client Library for Supabase Auth"; - maintainers = with lib.maintainers; [ siegema ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index e002522ff19a..6f7ce6487bdc 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -221,6 +221,7 @@ mapAliases { GitPython = throw "'GitPython' has been renamed to/replaced by 'gitpython'"; # Converted to throw 2025-10-29 google_api_python_client = throw "'google_api_python_client' has been renamed to/replaced by 'google-api-python-client'"; # Converted to throw 2025-10-29 googleapis_common_protos = throw "'googleapis_common_protos' has been renamed to/replaced by 'googleapis-common-protos'"; # Converted to throw 2025-10-29 + gotrue = throw "'gotrue' has been replaced by 'supabase-auth'"; # Added 2026-03-08 gpapi = throw "'gpapi' has been superseded by google-api-python-client"; # Added 2025-11-09 gplaycli = throw "'gplaycli' has been removed as it was broken and lacked maintenance"; # Added 2025-11-09 gpy = throw "'gpy' has been removed as it is based on 'paramz', which was removed"; # added 2025-11-10 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 71cde6210b1a..8d347e75e268 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6555,8 +6555,6 @@ self: super: with self; { gotify = callPackage ../development/python-modules/gotify { }; - gotrue = callPackage ../development/python-modules/gotrue { }; - govee-ble = callPackage ../development/python-modules/govee-ble { }; govee-led-wez = callPackage ../development/python-modules/govee-led-wez { }; From d8ca29fbe560cd162b9b1edd23ea355b3d8dad20 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 8 Mar 2026 16:31:00 +0100 Subject: [PATCH 2/2] python3Packages.supafunc: drop The `supafunc` Python package was deprecated upstream and replaced by `supabase_functions` in December 2024, and has been unmaintained since August 2025 [1]. [1] https://pypi.org/project/supafunc/ --- .../python-modules/supafunc/default.nix | 40 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 pkgs/development/python-modules/supafunc/default.nix diff --git a/pkgs/development/python-modules/supafunc/default.nix b/pkgs/development/python-modules/supafunc/default.nix deleted file mode 100644 index 8dfd5301fb06..000000000000 --- a/pkgs/development/python-modules/supafunc/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - httpx, - poetry-core, - strenum, -}: - -buildPythonPackage rec { - pname = "supafunc"; - version = "0.10.2"; - pyproject = true; - - src = fetchPypi { - inherit pname version; - hash = "sha256-ReTVAIVBZ8JhUVxD96NjMg4KkoEYGC/okyre/d7dtUU="; - }; - - build-system = [ poetry-core ]; - - dependencies = [ - strenum - httpx - ] - ++ httpx.optional-dependencies.http2; - - # Tests are not in PyPI package and source is not tagged - doCheck = false; - - pythonImportsCheck = [ "supafunc" ]; - - meta = { - description = "Library for Supabase Functions"; - homepage = "https://github.com/supabase/functions-py"; - changelog = "https://github.com/supabase/functions-py/blob/v${version}/CHANGELOG.md"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ siegema ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 6f7ce6487bdc..b602dcd6d6cd 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -529,6 +529,7 @@ mapAliases { sqlalchemy-views = throw "'sqlalchemy-views' has been removed as it was broken and unmaintained upstream"; # Added 2025-11-09 sqlalchemy_migrate = throw "'sqlalchemy_migrate' has been renamed to/replaced by 'sqlalchemy-migrate'"; # Converted to throw 2025-10-29 subunit2sql = throw "subunit2sql has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-04 + supafunc = throw "'supafunc' has been replaced by 'supabase-functions'"; # Added 2026-03-08 supervise_api = throw "'supervise_api' has been renamed to/replaced by 'supervise-api'"; # Converted to throw 2025-10-29 swh-perfecthash = throw "'swh-perfecthash' has been renamed to/replaced by 'swh-shard'"; # added 2025-11-13 synologydsm-api = throw "'synologydsm-api' has been renamed to/replaced by 'py-synologydsm-api'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8d347e75e268..d17aaddb0bfc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -18630,8 +18630,6 @@ self: super: with self; { supabase-functions = callPackage ../development/python-modules/supabase-functions { }; - supafunc = callPackage ../development/python-modules/supafunc { }; - super-collections = callPackage ../development/python-modules/super-collections { }; superqt = callPackage ../development/python-modules/superqt { };