Bug 2368020 - Please backport aioresponses 0.7.8 to stable releases
Summary: Please backport aioresponses 0.7.8 to stable releases
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-aioresponses
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Georg Sauthoff
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-22 16:25 UTC by Stephen Gallagher
Modified: 2025-06-06 02:07 UTC (History)
1 user (show)

Fixed In Version: python-aioresponses-0.7.8-1.fc42 python-aioresponses-0.7.8-1.fc41
Clone Of:
Environment:
Last Closed: 2025-06-06 01:44:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephen Gallagher 2025-05-22 16:25:58 UTC
Currently, Fedora 41 has aioresponses 0.7.6; Fedora 42 has aioresponses 0.7.7; and Fedora 43 has aioresponses 0.7.8.

The upstream release of aioresponses 0.7.8 contains https://github.com/pnuckowski/aioresponses/pull/258 which is a critical bugfix for any use of aiohttp that is using the 'base_url' feature of aiohttp.ClientSession (which has been available since aiohttp 3.8, circa 2021).

Reproducible: Always

Steps to Reproduce:
1. Create a test program that uses aioresponses to simulate a response for "http://example.com/somepath"
2. Create an aiohttp ClientSession using the `base_url="http://example.com"` kwarg.
3. Attempt to perform an aiohttp request to "http://example.com/somepath".
Actual Results:
aiohttp.client_exceptions.ClientConnectionError: Connection refused: POST /v1/completions

Expected Results:
The mocked response should be received.

Comment 1 Fedora Update System 2025-05-28 22:30:23 UTC
FEDORA-2025-358eb8823a (python-aioresponses-0.7.8-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-358eb8823a

Comment 2 Fedora Update System 2025-05-28 22:39:23 UTC
FEDORA-2025-3ee1bf817c (python-aioresponses-0.7.8-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-3ee1bf817c

Comment 3 Fedora Update System 2025-05-29 01:18:54 UTC
FEDORA-2025-358eb8823a has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-358eb8823a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-358eb8823a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2025-05-29 01:50:04 UTC
FEDORA-2025-3ee1bf817c has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-3ee1bf817c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-3ee1bf817c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-06-06 01:44:02 UTC
FEDORA-2025-358eb8823a (python-aioresponses-0.7.8-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2025-06-06 02:07:16 UTC
FEDORA-2025-3ee1bf817c (python-aioresponses-0.7.8-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.