Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency pytest-asyncio to v0.25.0 #452

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 28, 2024

This PR contains the following updates:

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

Release Notes

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

v0.25.0: pytest-asyncio 0.25.0

Compare Source

0.25.0 (2024-12-13)

  • Deprecated: Added warning when asyncio test requests async @pytest.fixture in strict mode. This will become an error in a future version of flake8-asyncio. #​979
  • Updates the error message about pytest.mark.asyncio's scope keyword argument to say loop_scope instead. #​1004
  • Verbose log displays correct parameter name: asyncio_default_fixture_loop_scope #​990
  • Propagates contextvars set in async fixtures to other fixtures and tests on Python 3.11 and above. #​1008

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.

v0.23.6: pytest-asyncio 0.23.6

Compare Source

0.23.6 (2024-03-19)
  • Fix compatibility with pytest 8.2 #​800
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.5.post1: pytest-asyncio 0.23.5.post1

Compare Source

0.23.5 (2024-02-09)

  • Declare compatibility with pytest 8 #​737
  • Fix typing errors with recent versions of mypy #​769
  • Prevent DeprecationWarning about internal use of asyncio.get_event_loop() from affecting test cases #​757

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.5: pytest-asyncio 0.23.5

Compare Source

0.23.5 (2024-02-09)
  • Declare compatibility with pytest 8 #​737
  • Fix typing errors with recent versions of mypy #​769
  • Prevent DeprecationWarning about internal use of asyncio.get_event_loop() from affecting test cases #​757
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.4: pytest-asyncio 0.23.4

Compare Source

0.23.4 (2024-01-28)
  • pytest-asyncio no longer imports additional, unrelated packages during test collection #​729
  • Addresses further issues that caused an internal pytest error during test collection
  • Declares incompatibility with pytest 8 #​737

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 enabled auto-merge (rebase) January 28, 2024 21:20
@renovate renovate bot changed the title chore(deps): update dependency pytest-asyncio to v0.23.4 chore(deps): update dependency pytest-asyncio to v0.23.5 Feb 9, 2024
@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from efa2cc9 to 61a5418 Compare February 9, 2024 19:08
auto-merge was automatically disabled February 9, 2024 19:10

Base branch requires signed commits

@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from 61a5418 to b6ed430 Compare February 25, 2024 18:28
@codecov-commenter
Copy link

codecov-commenter commented Feb 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.33%. Comparing base (5e21dad) to head (0f2698f).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #452   +/-   ##
=======================================
  Coverage   96.33%   96.33%           
=======================================
  Files          19       19           
  Lines        1310     1310           
=======================================
  Hits         1262     1262           
  Misses         48       48           

☔ 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-lockfile branch from b6ed430 to 0f2698f Compare February 25, 2024 18:30
@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from 0f2698f to 2b5d081 Compare March 8, 2024 15:54
@renovate renovate bot changed the title chore(deps): update dependency pytest-asyncio to v0.23.5 chore(deps): update dependency pytest-asyncio to v0.23.5.post1 Mar 8, 2024
@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from 2b5d081 to 05d3b4b Compare March 11, 2024 13:27
@renovate renovate bot changed the title chore(deps): update dependency pytest-asyncio to v0.23.5.post1 chore(deps): update dependency pytest-asyncio to v0.23.6 Mar 19, 2024
@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from 05d3b4b to 1674857 Compare March 19, 2024 08:19
@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from 1674857 to c1c25b1 Compare May 19, 2024 14:18
@renovate renovate bot changed the title chore(deps): update dependency pytest-asyncio to v0.23.6 chore(deps): update dependency pytest-asyncio to v0.23.7 May 19, 2024
@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from c1c25b1 to 92eda5d Compare July 17, 2024 08:18
@renovate renovate bot enabled auto-merge (rebase) July 17, 2024 08:18
@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch 3 times, most recently from 637acd5 to fcd7ec2 Compare July 17, 2024 10:23
auto-merge was automatically disabled July 17, 2024 10:24

Base branch requires signed commits

@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from fcd7ec2 to 78eb5a8 Compare July 17, 2024 10:30
@renovate renovate bot enabled auto-merge (rebase) July 17, 2024 10:30
auto-merge was automatically disabled July 17, 2024 10:31

Base branch requires signed commits

@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from 78eb5a8 to 571b2d4 Compare July 17, 2024 20:08
@renovate renovate bot changed the title chore(deps): update dependency pytest-asyncio to v0.23.7 chore(deps): update dependency pytest-asyncio to v0.23.8 Jul 17, 2024
@renovate renovate bot enabled auto-merge (rebase) August 7, 2024 01:35
@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from 571b2d4 to acb09d2 Compare August 7, 2024 01:35
auto-merge was automatically disabled August 7, 2024 01:39

Base branch requires signed commits

@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from acb09d2 to 3debcf7 Compare August 22, 2024 08:36
@renovate renovate bot changed the title chore(deps): update dependency pytest-asyncio to v0.23.8 chore(deps): update dependency pytest-asyncio to v0.24.0 Aug 22, 2024
@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from 3debcf7 to ff13367 Compare August 27, 2024 18:10
@renovate renovate bot enabled auto-merge (rebase) August 27, 2024 18:10
auto-merge was automatically disabled August 27, 2024 18:11

Base branch requires signed commits

@renovate renovate bot force-pushed the renovate/pytest-asyncio-0.x-lockfile branch from ff13367 to c6b2a9a Compare December 13, 2024 07:22
@renovate renovate bot changed the title chore(deps): update dependency pytest-asyncio to v0.24.0 chore(deps): update dependency pytest-asyncio to v0.25.0 Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant