supabase_auth 2.30.0__tar.gz → 2.31.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/PKG-INFO +2 -2
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/pyproject.toml +2 -2
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_async/gotrue_client.py +7 -5
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_sync/gotrue_client.py +7 -5
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/helpers.py +1 -1
- supabase_auth-2.31.0/src/supabase_auth/version.py +1 -0
- supabase_auth-2.30.0/src/supabase_auth/version.py +0 -1
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/README.md +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/__init__.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_async/__init__.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_async/gotrue_admin_api.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_async/gotrue_admin_mfa_api.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_async/gotrue_admin_oauth_api.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_async/gotrue_base_api.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_async/gotrue_mfa_api.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_async/storage.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_sync/__init__.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_sync/gotrue_admin_api.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_sync/gotrue_admin_mfa_api.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_sync/gotrue_admin_oauth_api.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_sync/gotrue_base_api.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_sync/gotrue_mfa_api.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_sync/storage.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/constants.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/errors.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/py.typed +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/timer.py +0 -0
- {supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: supabase-auth
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.31.0
|
|
4
4
|
Summary: Python Client Library for Supabase Auth
|
|
5
5
|
Author: Joel Lee
|
|
6
6
|
Author-email: Joel Lee <joel@joellee.org>
|
|
@@ -10,7 +10,7 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Requires-Dist: httpx[http2]>=0.26,<0.29
|
|
12
12
|
Requires-Dist: pydantic>=1.10,<3
|
|
13
|
-
Requires-Dist: pyjwt[crypto]>=2.
|
|
13
|
+
Requires-Dist: pyjwt[crypto]>=2.12.0
|
|
14
14
|
Maintainer: Leonardo Santiago
|
|
15
15
|
Maintainer-email: Leonardo Santiago <leonardo.santiago@supabase.io>
|
|
16
16
|
Requires-Python: >=3.9
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "supabase_auth"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.31.0" # {x-release-please-version}
|
|
4
4
|
description = "Python Client Library for Supabase Auth"
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Joel Lee", email = "joel@joellee.org" }
|
|
@@ -19,7 +19,7 @@ requires-python = ">=3.9"
|
|
|
19
19
|
dependencies = [
|
|
20
20
|
"httpx[http2] >=0.26,<0.29",
|
|
21
21
|
"pydantic >=1.10,<3",
|
|
22
|
-
"pyjwt[crypto] >=2.
|
|
22
|
+
"pyjwt[crypto] >=2.12.0",
|
|
23
23
|
]
|
|
24
24
|
|
|
25
25
|
[project.urls]
|
|
@@ -113,11 +113,13 @@ class AsyncGoTrueClient(AsyncGoTrueBaseAPI):
|
|
|
113
113
|
proxy: Optional[str] = None,
|
|
114
114
|
) -> None:
|
|
115
115
|
extra_headers = {
|
|
116
|
-
"X-Client-Info":
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
"X-Client-Info": (
|
|
117
|
+
f"supabase-py/supabase_auth v{__version__}"
|
|
118
|
+
f"; platform={platform.system()}"
|
|
119
|
+
f"; platform-version={platform.release()}"
|
|
120
|
+
f"; runtime=python"
|
|
121
|
+
f"; runtime-version={platform.python_version()}"
|
|
122
|
+
),
|
|
121
123
|
}
|
|
122
124
|
if headers:
|
|
123
125
|
extra_headers.update(headers)
|
|
@@ -113,11 +113,13 @@ class SyncGoTrueClient(SyncGoTrueBaseAPI):
|
|
|
113
113
|
proxy: Optional[str] = None,
|
|
114
114
|
) -> None:
|
|
115
115
|
extra_headers = {
|
|
116
|
-
"X-Client-Info":
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
"X-Client-Info": (
|
|
117
|
+
f"supabase-py/supabase_auth v{__version__}"
|
|
118
|
+
f"; platform={platform.system()}"
|
|
119
|
+
f"; platform-version={platform.release()}"
|
|
120
|
+
f"; runtime=python"
|
|
121
|
+
f"; runtime-version={platform.python_version()}"
|
|
122
|
+
),
|
|
121
123
|
}
|
|
122
124
|
if headers:
|
|
123
125
|
extra_headers.update(headers)
|
|
@@ -136,7 +136,7 @@ def handle_exception(error: HTTPStatusError | RuntimeError) -> AuthError:
|
|
|
136
136
|
if not isinstance(error, HTTPStatusError):
|
|
137
137
|
return AuthRetryableError(get_error_message(error), 0)
|
|
138
138
|
try:
|
|
139
|
-
network_error_codes = [502, 503, 504]
|
|
139
|
+
network_error_codes = [502, 503, 504, 520, 521, 522, 523, 524, 530]
|
|
140
140
|
if error.response.status_code in network_error_codes:
|
|
141
141
|
return AuthRetryableError(
|
|
142
142
|
get_error_message(error), error.response.status_code
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.31.0" # {x-release-please-version}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.30.0" # {x-release-please-version}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_async/gotrue_admin_mfa_api.py
RENAMED
|
File without changes
|
{supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_async/gotrue_admin_oauth_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_sync/gotrue_admin_mfa_api.py
RENAMED
|
File without changes
|
{supabase_auth-2.30.0 → supabase_auth-2.31.0}/src/supabase_auth/_sync/gotrue_admin_oauth_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|