Skip to content

Update dependency pytest-asyncio to v0.24.0#578

Merged
ctalkington merged 1 commit into
masterfrom
renovate/pytest-asyncio-0.x
Oct 10, 2024
Merged

Update dependency pytest-asyncio to v0.24.0#578
ctalkington merged 1 commit into
masterfrom
renovate/pytest-asyncio-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 24, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-asyncio (changelog) 0.23.6 -> 0.24.0 age adoption passing confidence

Release Notes

pytest-dev/pytest-asyncio (pytest-asyncio)

v0.24.0: pytest-asyncio 0.24.0

Compare Source

0.24.0 (2024-08-22)
  • BREAKING: Updated minimum supported pytest version to v8.2.0
  • Adds an optional loop_scope keyword argument to pytest.mark.asyncio. This argument controls which event loop is used to run the marked async test. #​706, #​871
  • Deprecates the optional scope keyword argument to pytest.mark.asyncio for API consistency with pytest_asyncio.fixture. Users are encouraged to use the loop_scope keyword argument, which does exactly the same.
  • Raises an error when passing scope or loop_scope as a positional argument to @pytest.mark.asyncio. #​812
  • Fixes a bug that caused module-scoped async fixtures to fail when reused in other modules #​862 #​668

v0.23.8: pytest-asyncio 0.23.8

Compare Source

0.23.8 (2024-07-17)

  • Fixes a bug that caused duplicate markers in async tests #​813

Known issues

As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see #​706). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.

v0.23.7: pytest-asyncio 0.23.7

Compare Source

0.23.7 (2024-05-19)
  • Silence deprecation warnings about unclosed event loops that occurred with certain CPython patch releases #​817
Known issues

As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see #​706). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.


Configuration

📅 Schedule: Branch creation - "before 4am" in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Upgrade or downgrade of project dependencies. python Pull requests that update Python code labels May 24, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented May 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.59%. Comparing base (9da9f90) to head (73d1280).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #578   +/-   ##
=======================================
  Coverage   94.59%   94.59%           
=======================================
  Files           9        9           
  Lines         870      870           
  Branches      133      133           
=======================================
  Hits          823      823           
  Misses         20       20           
  Partials       27       27           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate Bot force-pushed the renovate/pytest-asyncio-0.x branch from 655f79b to bf1f3c1 Compare June 15, 2024 01:26
@renovate renovate Bot force-pushed the renovate/pytest-asyncio-0.x branch from bf1f3c1 to 2157d94 Compare July 17, 2024 20:18
@renovate renovate Bot changed the title Update dependency pytest-asyncio to v0.23.7 Update dependency pytest-asyncio to v0.23.8 Jul 17, 2024
@renovate renovate Bot force-pushed the renovate/pytest-asyncio-0.x branch from 2157d94 to 33fdef6 Compare August 22, 2024 08:59
@renovate renovate Bot changed the title Update dependency pytest-asyncio to v0.23.8 Update dependency pytest-asyncio to v0.24.0 Aug 22, 2024
@renovate renovate Bot force-pushed the renovate/pytest-asyncio-0.x branch 4 times, most recently from a4e5aee to 6eb8cc7 Compare October 10, 2024 03:07
@renovate renovate Bot force-pushed the renovate/pytest-asyncio-0.x branch from 6eb8cc7 to 73d1280 Compare October 10, 2024 03:11
@ctalkington ctalkington merged commit fa81e02 into master Oct 10, 2024
@ctalkington ctalkington deleted the renovate/pytest-asyncio-0.x branch October 10, 2024 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Upgrade or downgrade of project dependencies. python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant