Skip to content

Commit

Permalink
python3-pytest-asyncio: upgrade 0.16.0 -> 0.21.1
Browse files Browse the repository at this point in the history
0.21.1
- Output a proper error message when an invalid asyncio_mode is selected.
- Extend warning message about unclosed event loops with additional
  possible cause. openembedded#531
- Previously, some tests reported "skipped" or "xfailed" as a result.
  Now all tests report a "success" result.

0.21.0
- Drop compatibility with pytest 6.1. Pytest-asyncio now depends on
  pytest 7.0 or newer.
- pytest-asyncio cleans up any stale event loops when setting up and
  tearing down the event_loop fixture. This behavior has been deprecated
  and pytest-asyncio emits a DeprecationWarning when tearing down the
  event_loop fixture and current event loop has not been closed.

0.18.2 (22-03-03)
- Fix asyncio auto mode not marking static methods. openembedded#295
- Fix a compatibility issue with Hypothesis 6.39.0. openembedded#302

0.18.1 (22-02-10)
- Fixes a regression that prevented async fixtures from working in
  synchronous tests.  openembedded#286

0.18.0 (22-02-07)
- Raise a warning if @pytest.mark.asyncio is applied to non-async
  function.  openembedded#275
- Support parametrized event_loop fixture.  openembedded#278

0.17.2 (22-01-17)
- Require typing-extensions on Python<3.8 only.  openembedded#269
- Fix a regression in tests collection introduced by 0.17.1, the plugin
  works fine with non-python tests again.  openembedded#267

0.17.1 (22-01-16)
- Fixes a bug that prevents async Hypothesis tests from working without
  explicit asyncio marker when --asyncio-mode=auto is set.  openembedded#258
- Fixed a bug that closes the default event loop if the loop doesn't
  exist openembedded#257
- Added type annotations.

0.17.0 (22-01-13)
- [pytest-asyncio]{.title-ref} no longer alters existing event loop
  policies.  openembedded#168, openembedded#188
- Drop support for Python 3.6
- Fixed an issue when pytest-asyncio was used in combination with
  [flaky]{.title-ref} or inherited asynchronous Hypothesis tests.  openembedded#178
  openembedded#231
- Added flaky to test dependencies
- Added unused_udp_port and unused_udp_port_factory fixtures (similar to
  unused_tcp_port and unused_tcp_port_factory counterparts.  openembedded#99
- Added the plugin modes: strict, auto, and legacy. See documentation
  for details.  openembedded#125
- Correctly process KeyboardInterrupt during async fixture setup phase
  openembedded#219

License-Update: whitespace

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
jsbronder authored and kraj committed Jul 17, 2023
1 parent 4f93bd2 commit 0e3f5e5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
DESCRIPTION = "pytest-asyncio is an Apache2 licensed library, written in Python, for testing asyncio code with pytest"

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=136e4f49dbf29942c572a3a8f6e88a77"

SRC_URI[sha256sum] = "40a7eae6dded22c7b604986855ea48400ab15b069ae38116e8c01238e9eeb64d"

inherit pypi python_setuptools_build_meta

DEPENDS += "python3-setuptools-scm-native"

RDEPENDS:${PN} += " \
python3-pytest \
"

BBCLASSEXTEND = "native nativesdk"

0 comments on commit 0e3f5e5

Please sign in to comment.