

deps: add httpx-sse dev
@dc66c3e3631621d9912d352cca297c6c0db5b73b
--- flake.nix
+++ flake.nix
... | ... | @@ -32,6 +32,7 @@ |
32 | 32 |
websocat |
33 | 33 |
]; |
34 | 34 |
shellHook = '' |
35 |
+ poetry env use python3.12 |
|
35 | 36 |
source $(poetry env info --path)/bin/activate |
36 | 37 |
export LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH |
37 | 38 |
export LD_LIBRARY_PATH=${pkgs.zlib}/lib:$LD_LIBRARY_PATH |
--- poetry.lock
+++ poetry.lock
... | ... | @@ -640,6 +640,17 @@ |
640 | 640 |
socks = ["socksio (==1.*)"] |
641 | 641 |
|
642 | 642 |
[[package]] |
643 |
+name = "httpx-sse" |
|
644 |
+version = "0.4.0" |
|
645 |
+description = "Consume Server-Sent Event (SSE) messages with HTTPX." |
|
646 |
+optional = false |
|
647 |
+python-versions = ">=3.8" |
|
648 |
+files = [ |
|
649 |
+ {file = "httpx-sse-0.4.0.tar.gz", hash = "sha256:1e81a3a3070ce322add1d3529ed42eb5f70817f45ed6ec915ab753f961139721"}, |
|
650 |
+ {file = "httpx_sse-0.4.0-py3-none-any.whl", hash = "sha256:f329af6eae57eaa2bdfd962b42524764af68075ea87370a2de920af5341e318f"}, |
|
651 |
+] |
|
652 |
+ |
|
653 |
+[[package]] |
|
643 | 654 |
name = "huggingface-hub" |
644 | 655 |
version = "0.23.2" |
645 | 656 |
description = "Client library to download and publish models, datasets and other repos on the huggingface.co hub" |
... | ... | @@ -2005,4 +2016,4 @@ |
2005 | 2016 |
[metadata] |
2006 | 2017 |
lock-version = "2.0" |
2007 | 2018 |
python-versions = "^3.12" |
2008 |
-content-hash = "446d88a0b7136e722f39609774cc7778dd5a31eb9eb57eb8f7c1596781648587" |
|
2019 |
+content-hash = "0339ad1c40fad7ef69af9bda6c5754e3dac27a53ac33c8dbec9864cc70bbee43" |
--- pyproject.toml
+++ pyproject.toml
... | ... | @@ -20,6 +20,7 @@ |
20 | 20 |
pytest-xdist = "^3.6.1" |
21 | 21 |
youtube-dl = {git = "https://github.com/ytdl-org/youtube-dl.git"} |
22 | 22 |
openai = "^1.30.3" |
23 |
+httpx-sse = "^0.4.0" |
|
23 | 24 |
|
24 | 25 |
[tool.ruff] |
25 | 26 |
target-version = "py312" |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?