The NetBSD Project

CVS log for pkgsrc/devel/py-test-asyncio/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-test-asyncio

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28 / (download) - annotate - [select for diffs], Sat Feb 10 07:28:09 2024 UTC (2 weeks, 2 days ago) by adam
Branch: MAIN
CVS Tags: HEAD
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

py-test-asyncio: updated to 0.23.5

0.23.5 (2024-02-09)
===================
- Declare compatibility with pytest 8
- Fix typing errors with recent versions of mypy
- Prevent DeprecationWarning about internal use of `asyncio.get_event_loop()` from affecting test cases

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jan 29 09:35:22 2024 UTC (4 weeks ago) by adam
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

py-test-asyncio: updated to 0.23.4

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

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. 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.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Jan 1 17:03:13 2024 UTC (8 weeks ago) by adam
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

py-test-asyncio: updated to 0.23.3

0.23.3 (2024-01-01)

Fixes a bug that caused event loops to be closed prematurely when using async generator fixtures with class scope or wider in a function-scoped test
Fixes various bugs that caused an internal pytest error during test collection

Revision 1.25 / (download) - annotate - [select for diffs], Tue Dec 5 17:58:43 2023 UTC (2 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Changes since 1.24: +3 -11 lines
Diff to previous 1.24 (colored)

py-test-asyncio: updated to 0.23.2

0.23.2 (2023-12-04)
===================
- Fixes a bug that caused an internal pytest error when collecting .txt files


0.23.1 (2023-12-03)
===================
- Fixes a bug that caused an internal pytest error when using module-level skips


0.23.0 (2023-12-03)
===================
This release is backwards-compatible with v0.21.
Changes are non-breaking, unless you upgrade from v0.22.

- BREAKING: The *asyncio_event_loop* mark has been removed. Event loops with class, module, package, and session scopes can be requested via the *scope* keyword argument to the _asyncio_ mark.
- Introduces the *event_loop_policy* fixture which allows testing with non-default or multiple event loops
- Introduces ``pytest_asyncio.is_async_test`` which returns whether a test item is managed by pytest-asyncio
- Removes and *pytest-trio,* *mypy,* and *flaky* from the test dependencies

0.22.0 (2023-10-31)
===================
This release has been yanked from PyPI due to fundamental issues with the _asyncio_event_loop_ mark.

- Class-scoped and module-scoped event loops can be requested
  via the _asyncio_event_loop_ mark.
- Deprecate redefinition of the `event_loop` fixture.
  Users requiring a class-scoped or module-scoped asyncio event loop for their tests
  should mark the corresponding class or module with `asyncio_event_loop`.
- Test items based on asynchronous generators always exit with *xfail* status and emit a warning during the collection phase. This behavior is consistent with synchronous yield tests.
- Remove support for Python 3.7
- Declare support for Python 3.12

Revision 1.24 / (download) - annotate - [select for diffs], Sat Oct 28 19:57:06 2023 UTC (3 months, 4 weeks ago) by wiz
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 17 08:59:48 2023 UTC (7 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

py-test-asyncio: updated to 0.21.1

0.21.1 (2023-07-12)
===================
- Output a proper error message when an invalid ``asyncio_mode`` is selected.
- Extend warning message about unclosed event loops with additional possible cause.
- Previously, some tests reported "skipped" or "xfailed" as a result. Now all tests report a "success" result.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 20 08:54:19 2023 UTC (11 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

py-test-asyncio: updated to 0.21.0

0.21.0 (23-03-19)

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.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Dec 9 10:47:05 2022 UTC (14 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

py-test-asyncio: updated to 0.20.3

0.20.3 (22-12-08)
=================
- Prevent DeprecationWarning to bubble up on CPython 3.10.9 and 3.11.1.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Nov 18 08:58:41 2022 UTC (15 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.19: +2 -8 lines
Diff to previous 1.19 (colored)

py-test-asyncio: updated to 0.20.2

0.20.2 (22-11-11)
=================
- Fixes an issue with async fixtures that are defined as methods on a test class not being rebound to the actual test instance.
- Replaced usage of deprecated ``@pytest.mark.tryfirst`` with ``@pytest.hookimpl(tryfirst=True)``

Revision 1.19 / (download) - annotate - [select for diffs], Fri Oct 21 17:42:48 2022 UTC (16 months ago) by adam
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

py-test-asyncio: updated to 0.20.1

0.20.1 (22-10-21)
=================
- Fixes an issue that warned about using an old version of pytest, even though the most recent version was installed.

0.20.0 (22-10-21)
=================
- BREAKING: Removed *legacy* mode. If you're upgrading from v0.19 and you haven't configured ``asyncio_mode = legacy``, you can upgrade without taking any additional action. If you're upgrading from an earlier version or you have explicitly enabled *legacy* mode, you need to switch to *auto* or *strict* mode before upgrading to this version.
- Deprecate use of pytest v6.
- Fixed an issue which prevented fixture setup from being cached.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 3 11:42:57 2022 UTC (18 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.17: +5 -4 lines
Diff to previous 1.17 (colored)

py-test-asyncio: updated to 0.19.0

0.19.0 (22-07-13)
=================
- BREAKING: The default ``asyncio_mode`` is now *strict*.
- Removes `setup.py` since all relevant configuration is present `setup.cfg`. Users requiring an editable installation of pytest-asyncio need to use pip v21.1 or newer.
- Declare support for Python 3.11.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Mar 31 21:48:45 2022 UTC (22 months, 4 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored)

py-test-asyncio: add new test dependency

Revision 1.16 / (download) - annotate - [select for diffs], Thu Mar 31 10:42:16 2022 UTC (22 months, 4 weeks ago) by adam
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

py-test-asyncio: updated to 0.18.3

0.18.3 (22-03-25)
=================
- Adds `pytest-trio <https://pypi.org/project/pytest-trio/>`_ to the test dependencies
- Fixes a bug that caused pytest-asyncio to try to set up async pytest_trio fixtures in strict mode.

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

Revision 1.15 / (download) - annotate - [select for diffs], Mon Feb 21 08:31:36 2022 UTC (2 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

py-test-asyncio: updated to 0.18.1

0.18.1

Fixes a regression that prevented async fixtures from working in
synchronous tests.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 8 09:10:58 2022 UTC (2 years ago) by adam
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

py-test-asyncio: updated to 0.18.0

0.18.0
Raise a warning if @pytest.mark.asyncio is applied to non-async function.
Support parametrized event_loop fixture.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Feb 7 08:20:04 2022 UTC (2 years ago) by wiz
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

py-test-asyncio: add comment that this needs to be installed for testing

Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 6 22:47:02 2022 UTC (2 years ago) by wiz
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

py-test-asyncio: add missing build dependency

Revision 1.11 / (download) - annotate - [select for diffs], Wed Feb 2 19:04:57 2022 UTC (2 years ago) by adam
Branch: MAIN
Changes since 1.10: +14 -4 lines
Diff to previous 1.10 (colored)

py-test-asyncio: updated to 0.17.2

0.17.2 (22-01-17)

Require typing-extensions on Python<3.8 only.
Fix a regression in tests collection introduced by 0.17.1, the
plugin works fine with non-python tests again.


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.
Fixed a bug that closes the default event loop if the loop doesn't
exist
Added type annotations.
Show asyncio mode in pytest report headers.
Relax asyncio_mode type definition; it allows to support pytest
6.1+.


0.17.0 (22-01-13)
[pytest-asyncio]{.title-ref} no longer alters existing event loop
policies.
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.
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.
Added the plugin modes: strict, auto, and legacy. See
documentation
for details.
Correctly process KeyboardInterrupt during async fixture setup
phase

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 4 20:53:40 2022 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.9 / (download) - annotate - [select for diffs], Tue Oct 26 17:24:44 2021 UTC (2 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

py-test-asyncio: updated to 0.16.0

0.16.0
Add support for Python 3.10

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 22 12:06:38 2021 UTC (2 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

py-test-asyncio: updated to 0.15.1

0.15.1 (2021-04-22)

Hotfix for errors while closing event loops while replacing them.

0.15.0 (2021-04-19)

Add support for Python 3.9
Abandon support for Python 3.5. If you still require support for Python 3.5, please use pytest-asyncio v0.14 or earlier.
Set unused_tcp_port_factory fixture scope to 'session'.
Properly close event loops when replacing them.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 6 15:43:46 2020 UTC (3 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

py-test-asyncio: updated to 0.14.0

0.14.0:
Fix 162, and event_loop fixture behavior now is coherent on all scopes.

Revision 1.6 / (download) - annotate - [select for diffs], Sat May 16 14:00:48 2020 UTC (3 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

py-test-asyncio: updated to 0.12.0

0.12.0:
Run the event loop fixture as soon as possible. This helps with fixtures that have an implicit dependency on the event loop.

0.11.0:
Test on 3.8, drop 3.3 and 3.4. Stick to 0.10 for these versions.
Use the new Pytest 5.4.0 Function API. We therefore depend on pytest >= 5.4.0.
Better pytest.skip support.

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 2 09:18:28 2019 UTC (4 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.4: +1 -6 lines
Diff to previous 1.4 (colored)

Forget about Python 3.5

Revision 1.4 / (download) - annotate - [select for diffs], Fri Apr 26 13:13:54 2019 UTC (4 years, 10 months ago) by maya
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Omit mentions of python 34 and 35, after those were removed.

- Includes some whitespace changes, to be handled in a separate commit.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 8 09:10:11 2019 UTC (5 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.2: +7 -3 lines
Diff to previous 1.2 (colored)

py-test-asyncio: updated to 0.10.0

0.10.0:
pytest-asyncio integrates with Hypothesis to support @given on async test functions using asyncio.
Pytest 4.1 support.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 5 10:19:16 2018 UTC (5 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

py-test-asyncio: updated to 0.9.0

0.9.0:
Python 3.7 support.
Remove event_loop_process_pool fixture and pytest.mark.asyncio_process_pool marker.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 5 16:28:49 2018 UTC (6 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1

py-test-asyncio: added version 0.8.0

pytest-asyncio is a library, written in Python, for testing asyncio code with
pytest.

asyncio code is usually written in the form of coroutines, which makes it
slightly more difficult to test using normal testing tools. pytest-asyncio
provides useful fixtures and markers to make testing easier.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>