Skip to content

chore(deps-dev): update pytest-asyncio requirement from <2,>=1.3.0 to >=1.4.0,<2 in the test group across 1 directory#35

Merged
heznpc merged 1 commit into
mainfrom
dependabot/pip/test-696d638933
May 28, 2026
Merged

chore(deps-dev): update pytest-asyncio requirement from <2,>=1.3.0 to >=1.4.0,<2 in the test group across 1 directory#35
heznpc merged 1 commit into
mainfrom
dependabot/pip/test-696d638933

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 27, 2026

Updates the requirements on pytest-asyncio to permit the latest version.
Updates pytest-asyncio to 1.4.0

Release notes

Sourced from pytest-asyncio's releases.

pytest-asyncio v1.4.0

1.4.0 - 2026-05-26

Deprecated

  • Overriding the event_loop_policy fixture is deprecated. Use the pytest_asyncio_loop_factories hook instead. (#1419)

Added

  • Added the pytest_asyncio_loop_factories hook to parametrize asyncio tests with custom event loop factories.

    The hook returns a mapping of factory names to loop factories, and pytest.mark.asyncio(loop_factories=[...]) selects a subset of configured factories per test. When a single factory is configured, test names are unchanged.

    Synchronous @pytest_asyncio.fixture functions now see the correct event loop when custom loop factories are configured, even when test code disrupts the current event loop (e.g., via asyncio.run() or asyncio.set_event_loop(None)). (#1164)

Changed

  • Improved the readability of the warning message that is displayed when asyncio_default_fixture_loop_scope is unset (#1298)
  • Only import asyncio.AbstractEventLoopPolicy for type checking to avoid raising a DeprecationWarning. (#1394)
  • Updated minimum supported pytest version to v8.4.0. (#1397)

Fixed

  • Fixed a ResourceWarning: unclosed event loop warning that could occur when a synchronous test called asyncio.run() or otherwise unset the current event loop after pytest-asyncio had run an async test or fixture. (#724)

Notes for Downstream Packagers

  • Added dependency on sphinx-tabs >= 3.5 to organize documentation examples into tabs. (#1395)
Commits
  • 6e14cd2 chore: Prepare release of v1.4.0.
  • 4b900fb Build(deps): Bump codecov/codecov-action from 6.0.0 to 6.0.1
  • ab9f632 Build(deps): Bump zipp from 3.23.1 to 4.1.0
  • a56fc77 Build(deps): Bump hypothesis from 6.152.6 to 6.152.8
  • e8bae9b Build(deps): Bump requests from 2.34.0 to 2.34.2
  • fc43340 Build(deps): Bump idna from 3.14 to 3.15
  • 762eaf5 Build(deps): Bump jaraco-functools from 4.4.0 to 4.5.0
  • b62e222 Build(deps): Bump click from 8.3.3 to 8.4.0
  • 9190447 Build(deps): Bump pydantic from 2.13.3 to 2.13.4
  • 82a393c ci: Remove unnecessary debug output.
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 27, 2026
@dependabot dependabot Bot requested a review from heznpc as a code owner May 27, 2026 23:56
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 27, 2026
@heznpc
Copy link
Copy Markdown
Member

heznpc commented May 28, 2026

@dependabot rebase

Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.

Updates `pytest-asyncio` to 1.4.0
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](pytest-dev/pytest-asyncio@v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-version: 1.4.0
  dependency-type: direct:development
  dependency-group: test
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps-dev): update pytest-asyncio requirement from <2,>=1.3.0 to >=1.4.0,<2 in the test group chore(deps-dev): update pytest-asyncio requirement from <2,>=1.3.0 to >=1.4.0,<2 in the test group across 1 directory May 28, 2026
@dependabot dependabot Bot force-pushed the dependabot/pip/test-696d638933 branch from 8b6f285 to 5d15875 Compare May 28, 2026 21:47
@heznpc heznpc merged commit b259ac6 into main May 28, 2026
8 of 9 checks passed
@heznpc heznpc deleted the dependabot/pip/test-696d638933 branch May 28, 2026 21:50
heznpc added a commit that referenced this pull request May 28, 2026
… a git repository') (#37)

PR #36 added `gh label create` + `gh pr merge --disable-auto` + `gh pr edit`
to the major-update branch but the workflow has no `actions/checkout` step.
Without a `.git` directory in the workdir, `gh` errors out with
`fatal: not a git repository (or any of the parent directories): .git`
before any subcommand runs.

Observed on PR #35's auto-merge run (logged 2026-05-28T21:47:56.2681559Z).

Two fixes:
- Set `GH_REPO: ${{ github.repository }}` on the env block of BOTH steps
  (`gh` consults this env var to resolve the target repo when no git
  context is present).
- Leaves the minor/patch branch with the same shielding even though its
  current single command (`gh pr merge --auto --squash`) already
  accepts a URL argument; defensive symmetry against future additions.

No source code changes; workflow-only fix.
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.

1 participant