[PR #97] [CLOSED] Loosen httpx constraint #354

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/97
Author: @balloob
Created: 3/21/2024
Status: Closed

Base: mainHead: loosen-httpx


📝 Commits (1)

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

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama-python/pull/97 **Author:** [@balloob](https://github.com/balloob) **Created:** 3/21/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `loosen-httpx` --- ### 📝 Commits (1) - [`5a83b0f`](https://github.com/ollama/ollama-python/commit/5a83b0fc95933af4b60c2e5a94544ff98d6c3e35) Loosen httpx constraint ### 📊 Changes **2 files changed** (+6 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `poetry.lock` (+4 -4) 📝 `pyproject.toml` (+2 -1) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 16:30:05 -05:00
yindo closed this issue 2026-02-15 16:30:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#354