mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-05 03:17:31 +00:00
chore: Combined main unblock (#8045)
* Pin structlog to 24.2.0 due to unit test failures * Remove object init parameter in huggingface_hub unit tests * Use less restrictive structlog pin * Add release note
This commit is contained in:
parent
913078dfaa
commit
a59de1d7b3
@ -112,7 +112,7 @@ extra-dependencies = [
|
||||
"ddtrace",
|
||||
|
||||
# Structured logging
|
||||
"structlog",
|
||||
"structlog<=24.2.0",
|
||||
|
||||
# Looking for missing imports
|
||||
"isort",
|
||||
|
||||
4
releasenotes/notes/pin-structlog-39d991a70590dd6e.yaml
Normal file
4
releasenotes/notes/pin-structlog-39d991a70590dd6e.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Pins structlog to <= 24.2.0 to avoid some unit test failures. This is a temporary fix until we can upgrade tests to a newer versions of structlog.
|
||||
@ -44,7 +44,6 @@ def mock_chat_completion():
|
||||
],
|
||||
id="some_id",
|
||||
model="some_model",
|
||||
object="some_object",
|
||||
system_fingerprint="some_fingerprint",
|
||||
usage={"completion_tokens": 10, "prompt_tokens": 5, "total_tokens": 15},
|
||||
created=1710498360,
|
||||
@ -215,7 +214,6 @@ class TestHuggingFaceAPIGenerator:
|
||||
],
|
||||
id="some_id",
|
||||
model="some_model",
|
||||
object="some_object",
|
||||
system_fingerprint="some_fingerprint",
|
||||
created=1710498504,
|
||||
)
|
||||
@ -228,7 +226,6 @@ class TestHuggingFaceAPIGenerator:
|
||||
],
|
||||
id="some_id",
|
||||
model="some_model",
|
||||
object="some_object",
|
||||
system_fingerprint="some_fingerprint",
|
||||
created=1710498504,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user