Request: allowing httpx version 0.28 #177

Closed
opened 2026-02-15 16:28:30 -05:00 by yindo · 9 comments
Owner

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's app argument.

Trying to pull it in, I get blocked by ollama because it downpins httpx: https://github.com/ollama/ollama-python/blob/v0.4.2/pyproject.toml#L13

Can we move httpx = "^0.27.0" to httpx = ">=0.27"

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`'s `app` argument. Trying to pull it in, I get blocked by `ollama` because it downpins `httpx`: https://github.com/ollama/ollama-python/blob/v0.4.2/pyproject.toml#L13 Can we move `httpx = "^0.27.0"` to `httpx = ">=0.27"`
yindo closed this issue 2026-02-15 16:28:30 -05:00
Author
Owner

@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!

@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!
Author
Owner

@simonaubertbd commented on GitHub (Dec 4, 2024):

Hello @jamesbraza It also means some incompatibility with jupyterlab as well.

@simonaubertbd commented on GitHub (Dec 4, 2024): Hello @jamesbraza It also means some incompatibility with jupyterlab as well.
Author
Owner

@jedahan commented on GitHub (Dec 18, 2024):

breaks llm-ollama plugin install as well, due to conflicts

@jedahan commented on GitHub (Dec 18, 2024): breaks llm-ollama plugin install as well, due to conflicts
Author
Owner

@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)

@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)
Author
Owner

@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.

@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.
Author
Owner

@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.

@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.
Author
Owner

@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?

@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?
Author
Owner

@ParthSareen commented on GitHub (Jan 21, 2025):

Yes, cutting a release today! @Diegorro98

@ParthSareen commented on GitHub (Jan 21, 2025): Yes, cutting a release today! @Diegorro98
Author
Owner

@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!

@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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#177