mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Request: allowing httpx version 0.28
#177
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jamesbraza on GitHub (Dec 2, 2024).
Originally assigned to: @ParthSareen on GitHub.
https://github.com/encode/httpx/releases/tag/0.28.0 comes with some breaking changes, mainly on
httpx.AsyncClient'sappargument.Trying to pull it in, I get blocked by
ollamabecause it downpinshttpx: https://github.com/ollama/ollama-python/blob/v0.4.2/pyproject.toml#L13Can we move
httpx = "^0.27.0"tohttpx = ">=0.27"@ParthSareen commented on GitHub (Dec 3, 2024):
Hey @jamesbraza, thanks for bringing this up - we pin the version to not have unintended updates (like even the one you've mentioned) Will check this out a bit more bump the version!
@simonaubertbd commented on GitHub (Dec 4, 2024):
Hello @jamesbraza It also means some incompatibility with jupyterlab as well.
@jedahan commented on GitHub (Dec 18, 2024):
breaks llm-ollama plugin install as well, due to conflicts
@edspencer commented on GitHub (Jan 7, 2025):
Wouldn't this existing PR address this?: https://github.com/ollama/ollama-python/pull/365
I'm not familiar with python packaging but the failing jobs there look like trivial dependency SHA checking problems that are probably addressable with a quick CLI command. Happy to dig and and try that but I'm guessing a repo maintainer could get that done in moments. Would love to be able to use the llm-ollama plugin (https://github.com/taketwo/llm-ollama/issues/23)
@aboucaud commented on GitHub (Jan 18, 2025):
Please consider merging the httpx dependency upgrade #365 so users of llm-ollama can continue using Ollama through their favorite CLI.
@atrawog commented on GitHub (Jan 19, 2025):
Can I kindly ask for an httpx version bump too?
With everyone else starting to require httpx 0.28.x it's becoming literally impossible to use python-ollama in any somewhat sophisticated data analytics environment.
And I would really hate to nuke my perfectly fine working ollama setup and move back to hugging face transformers, just because of a small version conflict.
@Diegorro98 commented on GitHub (Jan 21, 2025):
Now that httpx has been upgraded to 0.28.1, can a release be created so that projects depending on this package can use httpx 0.28.1?
@ParthSareen commented on GitHub (Jan 21, 2025):
Yes, cutting a release today! @Diegorro98
@ParthSareen commented on GitHub (Jan 21, 2025):
https://github.com/ollama/ollama-python/releases/tag/v0.4.7 🥳
Sorry for the delay everyone! Going to be looking into loosening these deps a bit!