mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
[PR #97] [CLOSED] Loosen httpx constraint #354
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?
📋 Pull Request Information
Original PR: https://github.com/ollama/ollama-python/pull/97
Author: @balloob
Created: 3/21/2024
Status: ❌ Closed
Base:
main← Head:loosen-httpx📝 Commits (1)
5a83b0fLoosen httpx constraint📊 Changes
2 files changed (+6 additions, -5 deletions)
View changed files
📝
poetry.lock(+4 -4)📝
pyproject.toml(+2 -1)📄 Description
This loosens the httpx constraint to allow any version <1. I have pinned httpx as a dev dependency to the latest version of httpx (0.27.0) so tests don't just start breaking one day.
Pinning dependencies in a library forces downstream consumers to follow the requirements of the library. In the case of Home Assistant, this is not compatible as Home Assistant aggressively follows the latest version of httpx.
Unblocks https://github.com/home-assistant/core/pull/113962
Replaces #42
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.