← Back to issue list

fix(setup.py): temporarily limits `requests` version to fix CI

View original Github issue

Metadata

Project
craft-parts
Number
#741
Type
pull request
State
merged
Author
liushuyu
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #741 as c17ac5b7, temporarily capping requests to avoid an upstream breaking change that rendered craft-parts unusable and broke CI; later #1121 lifted the workaround.

Resolution: closed resolved

Reason: PR #741 was merged as commit c17ac5b7, adding a temporary requests upper bound to restore compatibility and CI. PR #1121 later bumped requests to a compatible version, removing the need for the cap.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- This pull request temporarily limits `requests` version to avoid a breaking change in the behaviour that renders craft_parts unusable. See also: - https://github.com/psf/requests/issues/6707 - https://github.com/canonical/pylxd/issues/579 - https://github.com/docker/docker-py/issues/3256

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #741 as c17ac5b7, temporarily capping requests to avoid an upstream breaking change that rendered craft-parts unusable and broke CI; later #1121 lifted the workaround.
stealth/space-bunny-alpha — closed resolved Merged PR #741 (c17ac5b7) temporarily limited requests in setup.py, preventing an upstream breaking change from breaking craft-parts and CI.
stealth/space-bunny-alpha — closed resolved Merged #741 (c17ac5b7), temporarily restricting requests to prevent an upstream breaking change from breaking craft-parts and CI.
qwen/qwen3.6-35b-a3b — — Merged a one-line setup.py change temporarily pinning requests to fix CI and prevent craft_parts breakage from a breaking library change. Approved by reviewers and passed all checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix temporarily pinning requests in setup.py to prevent upstream breaking changes from disrupting CI and craft_parts. This resolves immediate compatibility issues while awaiting upstream fixes.

Update history

No update history recorded yet.

Related work

  • Related To: requests#6707 (confidence 100%)

    Upstream requests regression cited as the cause of the incompatibility.

  • Related To: pylxd#579 (confidence 100%)

    Related report of the same requests behavior affecting LXD clients.

  • Related To: docker-py#3256 (confidence 100%)

    Related report of the same upstream requests regression.

  • Superseded By: canonical/craft-parts#1121 (confidence 95%)

    Later requests build update replaced the temporary workaround; the current requirement is requests>=2.32.4,<3.0.

Related issues

No related issues found above the similarity threshold.