← Back to issue list

Rewrite with `httpx`

View original Github issue

Metadata

Project
craft-store
Number
#208
Type
issue
State
open
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Feature request to rewrite craft-store using httpx instead of requests, to work around requests version pinning issues. Partially implemented: httpx-based auth classes and Publisher Gateway client exist, but core clients still use requests.

Suggested action: keep open

Reason: The rewrite is partially complete - httpx auth classes (_httpx_auth.py) and Publisher Gateway client exist, but core clients (base_client.py, http_client.py, ubuntu_one_store_client.py) still import requests. The issue remains relevant as the migration is incomplete. Last activity was 487 days ago with only a bot comment, but the work is demonstrably in progress.

Impact: 50 Quick Win: 15.0 Staleness: 55 Complexity: 70 Confidence: 65 Support Request: 0

Issue body

### What needs to get done Rewrite `craft-store` using `httpx` ### Why it needs to get done We're stuck on an older version of requests for other reasons and this can work around some issues.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 50
Quick Win: 15.0
Staleness: 55
Complexity: 70
Confidence: 65
Support Request: 0
keep open Feature request to rewrite craft-store using httpx instead of requests, to work around requests version pinning issues. Partially implemented: httpx-based auth classes and Publisher Gateway client exist, but core clients still use requests.
qwen/qwen3.6-35b-a3b
Staleness: 92
Complexity: 45
Confidence: 85
Support Request: 5
needs triage Request to rewrite craft-store to use httpx instead of requests to work around dependency constraints. Currently inactive with no maintainer triage or implementation progress.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 65
Confidence: 70
Support Request: 10
needs triage Proposal to rewrite craft-store to use httpx instead of requests to resolve dependency conflicts. Issue is over a year old, lacks labels or assignee, and has not been triaged by maintainers.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 65
Confidence: 70
Support Request: 5
needs triage Rewrite craft-store to use httpx instead of requests to bypass version constraints. The issue remains open and inactive for over a year, tracked via internal Jira ticket CRAFT-3388, awaiting implementation.

Update history

No update history recorded yet.

Related work

  • Related To: craft-store#237 (confidence 80%)

    DeveloperTokenAuth for httpx clients added, part of the migration

  • Related To: craft-store#240 (confidence 80%)

    Publisher Gateway client added using httpx, part of the migration

Related issues

No related issues found above the similarity threshold.