supabase_functions 0.9.0__tar.gz → 0.9.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: supabase_functions
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: Library for Supabase Functions
5
5
  Home-page: https://github.com/supabase/functions-py
6
6
  License: MIT
@@ -13,7 +13,8 @@ Classifier: Programming Language :: Python :: 3.9
13
13
  Classifier: Programming Language :: Python :: 3.10
14
14
  Classifier: Programming Language :: Python :: 3.11
15
15
  Classifier: Programming Language :: Python :: 3.12
16
- Requires-Dist: httpx[http2] (>=0.26,<0.28)
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Requires-Dist: httpx[http2] (>=0.26,<0.29)
17
18
  Requires-Dist: strenum (>=0.4.15,<0.5.0)
18
19
  Project-URL: Repository, https://github.com/supabase/functions-py
19
20
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "supabase_functions"
3
- version = "0.9.0" # {x-release-please-version}
3
+ version = "0.9.2" # {x-release-please-version}
4
4
  description = "Library for Supabase Functions"
5
5
  authors = [
6
6
  "Joel Lee <joel@joellee.org>",
@@ -12,7 +12,7 @@ repository = "https://github.com/supabase/functions-py"
12
12
 
13
13
  [tool.poetry.dependencies]
14
14
  python = "^3.9"
15
- httpx = {version = ">=0.26,<0.28", extras = ["http2"]}
15
+ httpx = {version = ">=0.26,<0.29", extras = ["http2"]}
16
16
  strenum = "^0.4.15"
17
17
 
18
18
  [tool.poetry.group.dev.dependencies]
@@ -23,11 +23,12 @@ pyjwt = "^2.8.0"
23
23
  pytest = ">=7.4.2,<9.0.0"
24
24
  pytest-cov = ">=4,<7"
25
25
  unasync-cli = "^0.0.9"
26
- pytest-asyncio = ">=0.21.1,<0.25.0"
27
- respx = ">=0.20.2,<0.22.0"
26
+ pytest-asyncio = ">=0.21.1,<0.26.0"
27
+ coveralls = "^3.3.0"
28
28
 
29
29
  [tool.pytest.ini_options]
30
30
  asyncio_mode = "auto"
31
+ addopts = "tests"
31
32
 
32
33
  [build-system]
33
34
  requires = ["poetry-core>=1.0.0"]
@@ -24,7 +24,7 @@ class AsyncFunctionsClient:
24
24
  proxy: Optional[str] = None,
25
25
  ):
26
26
  if not is_http_url(url):
27
- ValueError("url must be a valid HTTP URL string")
27
+ raise ValueError("url must be a valid HTTP URL string")
28
28
  self.url = url
29
29
  self.headers = {
30
30
  "User-Agent": f"supabase-py/functions-py v{__version__}",
@@ -68,7 +68,7 @@ class AsyncFunctionsClient:
68
68
  """
69
69
 
70
70
  if not is_valid_jwt(token):
71
- ValueError("token must be a valid JWT authorization token string.")
71
+ raise ValueError("token must be a valid JWT authorization token string.")
72
72
 
73
73
  self.headers["Authorization"] = f"Bearer {token}"
74
74
 
@@ -24,7 +24,7 @@ class SyncFunctionsClient:
24
24
  proxy: Optional[str] = None,
25
25
  ):
26
26
  if not is_http_url(url):
27
- ValueError("url must be a valid HTTP URL string")
27
+ raise ValueError("url must be a valid HTTP URL string")
28
28
  self.url = url
29
29
  self.headers = {
30
30
  "User-Agent": f"supabase-py/functions-py v{__version__}",
@@ -68,7 +68,7 @@ class SyncFunctionsClient:
68
68
  """
69
69
 
70
70
  if not is_valid_jwt(token):
71
- ValueError("token must be a valid JWT authorization token string.")
71
+ raise ValueError("token must be a valid JWT authorization token string.")
72
72
 
73
73
  self.headers["Authorization"] = f"Bearer {token}"
74
74
 
@@ -0,0 +1 @@
1
+ __version__ = "0.9.2" # {x-release-please-version}
@@ -1 +0,0 @@
1
- __version__ = "0.9.0" # {x-release-please-version}