Skip to content

Bump the non-major-versions group with 3 updates#133

Merged
cloneofghosts merged 2 commits into
mainfrom
dependabot/pip/non-major-versions-6f7d8a0ed7
Jun 2, 2026
Merged

Bump the non-major-versions group with 3 updates#133
cloneofghosts merged 2 commits into
mainfrom
dependabot/pip/non-major-versions-6f7d8a0ed7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 2, 2026

Copy link
Copy Markdown

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-version: 3.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-major-versions
- dependency-name: pytest-asyncio
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-major-versions
- dependency-name: ruff
  dependency-version: 0.15.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-major-versions
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 2, 2026
@cloneofghosts

Copy link
Copy Markdown
Collaborator

@copilot Can you fix the tests? This is the test failures:

ERROR tests/test_forecast.py::test_forecast_base_fields[sync] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_base_fields[async] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_currently[sync] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_currently[async] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_minutely[sync] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_minutely[async] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_hourly[sync] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_hourly[async] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_daily[sync] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_daily[async] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_day_night[sync] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_day_night[async] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_alerts[sync] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_alerts[async] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_flags[sync] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'
ERROR tests/test_forecast.py::test_forecast_flags[async] - TypeError: ClientResponse.init() missing 1 required keyword-only argument: 'stream_writer'

Copilot AI commented Jun 2, 2026

Copy link
Copy Markdown

@copilot Can you fix the tests? This is the test failures:

ERROR tests/test_forecast.py::test_forecast_base_fields[sync] - TypeError: ClientResponse.init() missing 1 required ...

Fixed in commit Replace aioresponses with AsyncMock to fix aiohttp 3.14.0 compatibility.

aioresponses 0.7.8 (the latest available version) is incompatible with aiohttp 3.14.0 because aiohttp changed ClientResponse.__init__ to require a stream_writer keyword argument. Since there's no compatible version of aioresponses, I replaced it with unittest.mock.AsyncMock — patching session.get directly on the real aiohttp.ClientSession object. This satisfies the isinstance(session, ClientSession) check in production code while avoiding the broken ClientResponse constructor. aioresponses was also removed from requirements-ci.txt. All 16 tests now pass.

Copilot AI requested a review from cloneofghosts June 2, 2026 18:23
@cloneofghosts cloneofghosts removed their request for review June 2, 2026 18:24
@cloneofghosts cloneofghosts merged commit 0b2a230 into main Jun 2, 2026
8 checks passed
@dependabot dependabot Bot deleted the dependabot/pip/non-major-versions-6f7d8a0ed7 branch June 2, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants