oauth-haystack 1.0.1__tar.gz → 2.0.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.
Files changed (20) hide show
  1. oauth_haystack-2.0.0/CHANGELOG.md +25 -0
  2. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/PKG-INFO +3 -3
  3. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/pyproject.toml +2 -2
  4. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/src/haystack_integrations/utils/oauth/sources.py +1 -4
  5. oauth_haystack-1.0.1/CHANGELOG.md +0 -9
  6. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/.gitignore +0 -0
  7. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/LICENSE.txt +0 -0
  8. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/README.md +0 -0
  9. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/pydoc/config_docusaurus.yml +0 -0
  10. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/src/haystack_integrations/components/connectors/oauth/__init__.py +0 -0
  11. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/src/haystack_integrations/components/connectors/oauth/resolver.py +0 -0
  12. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/src/haystack_integrations/components/connectors/py.typed +0 -0
  13. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/src/haystack_integrations/utils/oauth/__init__.py +0 -0
  14. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/src/haystack_integrations/utils/oauth/errors.py +0 -0
  15. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/src/haystack_integrations/utils/oauth/protocols.py +0 -0
  16. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/src/haystack_integrations/utils/py.typed +0 -0
  17. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/tests/__init__.py +0 -0
  18. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/tests/conftest.py +0 -0
  19. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/tests/test_resolver.py +0 -0
  20. {oauth_haystack-1.0.1 → oauth_haystack-2.0.0}/tests/test_sources.py +0 -0
@@ -0,0 +1,25 @@
1
+ # Changelog
2
+
3
+ ## [integrations/oauth-v1.0.1] - 2026-08-24
4
+
5
+ ### 🐛 Bug Fixes
6
+
7
+ - Fix new issues raised by ruff 0.16.0 (#3670)
8
+ - *(oauth)* Rebuild the OAuthRefreshTokenSource refresh lock per event loop (#3790)
9
+
10
+ ### 🧪 Testing
11
+
12
+ - Trust test modules under Haystack 3.0's deserialization allowlist (#3537)
13
+
14
+ ### 🧹 Chores
15
+
16
+ - Re-standardize READMEs (#3768)
17
+
18
+
19
+ ## [integrations/oauth-v1.0.0] - 2026-06-18
20
+
21
+ ### 🚀 Features
22
+
23
+ - *(oauth)* Add OAuth integration (#3419)
24
+
25
+ <!-- generated by git-cliff -->
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: oauth-haystack
3
- Version: 1.0.1
3
+ Version: 2.0.0
4
4
  Summary: Haystack integration for oauth
5
5
  Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/oauth#readme
6
6
  Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/issues
@@ -12,14 +12,14 @@ Keywords: authentication,haystack,oauth
12
12
  Classifier: Development Status :: 4 - Beta
13
13
  Classifier: License :: OSI Approved :: Apache Software License
14
14
  Classifier: Programming Language :: Python
15
- Classifier: Programming Language :: Python :: 3.10
16
15
  Classifier: Programming Language :: Python :: 3.11
17
16
  Classifier: Programming Language :: Python :: 3.12
18
17
  Classifier: Programming Language :: Python :: 3.13
19
18
  Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Programming Language :: Python :: 3.15
20
20
  Classifier: Programming Language :: Python :: Implementation :: CPython
21
21
  Classifier: Programming Language :: Python :: Implementation :: PyPy
22
- Requires-Python: >=3.10
22
+ Requires-Python: >=3.11
23
23
  Requires-Dist: haystack-ai>=2.23.0
24
24
  Requires-Dist: httpx>=0.28.0
25
25
  Description-Content-Type: text/markdown
@@ -7,7 +7,7 @@ name = "oauth-haystack"
7
7
  dynamic = ["version"]
8
8
  description = "Haystack integration for oauth"
9
9
  readme = "README.md"
10
- requires-python = ">=3.10"
10
+ requires-python = ">=3.11"
11
11
  license = "Apache-2.0"
12
12
  keywords = [
13
13
  "haystack",
@@ -19,11 +19,11 @@ classifiers = [
19
19
  "License :: OSI Approved :: Apache Software License",
20
20
  "Development Status :: 4 - Beta",
21
21
  "Programming Language :: Python",
22
- "Programming Language :: Python :: 3.10",
23
22
  "Programming Language :: Python :: 3.11",
24
23
  "Programming Language :: Python :: 3.12",
25
24
  "Programming Language :: Python :: 3.13",
26
25
  "Programming Language :: Python :: 3.14",
26
+ "Programming Language :: Python :: 3.15",
27
27
  "Programming Language :: Python :: Implementation :: CPython",
28
28
  "Programming Language :: Python :: Implementation :: PyPy",
29
29
  ]
@@ -12,7 +12,7 @@ from typing import Any, Literal
12
12
 
13
13
  import httpx
14
14
  from haystack import default_from_dict, default_to_dict, logging
15
- from haystack.utils import Secret, deserialize_callable, deserialize_secrets_inplace, serialize_callable
15
+ from haystack.utils import Secret, deserialize_callable, serialize_callable
16
16
 
17
17
  from .errors import OAuthConfigError, TokenRefreshError
18
18
 
@@ -235,7 +235,6 @@ class OAuthRefreshTokenSource:
235
235
  def from_dict(cls, data: dict[str, Any]) -> "OAuthRefreshTokenSource":
236
236
  """Deserialize the source from a dictionary."""
237
237
  init_params = data["init_parameters"]
238
- deserialize_secrets_inplace(init_params, keys=["refresh_token", "client_secret"])
239
238
  if init_params.get("on_rotate"):
240
239
  init_params["on_rotate"] = deserialize_callable(init_params["on_rotate"])
241
240
  return default_from_dict(cls, data)
@@ -450,7 +449,6 @@ class OAuthTokenExchangeSource:
450
449
  @classmethod
451
450
  def from_dict(cls, data: dict[str, Any]) -> "OAuthTokenExchangeSource":
452
451
  """Deserialize the source from a dictionary."""
453
- deserialize_secrets_inplace(data["init_parameters"], keys=["client_secret"])
454
452
  return default_from_dict(cls, data)
455
453
 
456
454
 
@@ -501,5 +499,4 @@ class OAuthStaticTokenSource:
501
499
  @classmethod
502
500
  def from_dict(cls, data: dict[str, Any]) -> "OAuthStaticTokenSource":
503
501
  """Deserialize the source from a dictionary."""
504
- deserialize_secrets_inplace(data["init_parameters"], keys=["token"])
505
502
  return default_from_dict(cls, data)
@@ -1,9 +0,0 @@
1
- # Changelog
2
-
3
- ## [integrations/oauth-v1.0.0] - 2026-06-18
4
-
5
- ### 🚀 Features
6
-
7
- - *(oauth)* Add OAuth integration (#3419)
8
-
9
- <!-- generated by git-cliff -->
File without changes