Unverified Commit b9a2d58f authored by Tom Hunze's avatar Tom Hunze
Browse files

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/
parent f1539461
Loading
Loading
Loading
Loading
+0 −44
Original line number Diff line number Diff line
{
  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 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -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 { };