Commit Graph

16 Commits

Author SHA256 Message Date
e0498efb8d - Update to 0.20.2:
* Fixes an issue with async fixtures that are defined as methods on a test
    class not being rebound to the actual test instance. #197
  * Replaced usage of deprecated @pytest.mark.tryfirst with
    @pytest.hookimpl(tryfirst=True) #438
- 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. #430
- 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. #404

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=23
2022-11-30 07:15:50 +00:00
01c197c456 Accepting request 993402 from home:jayvdb:branches:devel:languages:python:pytest
- Update to 0.19.0
  * BREAKING: The default ``asyncio_mode`` is now *strict*.
  * Removes `setup.py` since all relevant configuration is present
    `setup.cfg`.
  * Declare support for Python 3.11

OBS-URL: https://build.opensuse.org/request/show/993402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=21
2022-08-07 06:42:02 +00:00
Steve Kowalik
5f003f4b9d - Inject multibuild to defeat a build loop
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=19
2022-07-06 08:00:23 +00:00
5e85e5d3e0 Accepting request 985717 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 0.18.3
  * Adds 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. #298
- Release 0.18.2
  * Fix asyncio auto mode not marking static methods. #295
  * Fix a compatibility issue with Hypothesis 6.39.0. #302
- Release 0.18.1
  * Fixes a regression that prevented async fixtures from working
    in synchronous tests. #286
- Release 0.18.0
  * Raise a warning if @pytest.mark.asyncio is applied to non-async
    function. #275
  * Support parametrized event_loop fixture. #278

OBS-URL: https://build.opensuse.org/request/show/985717
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=18
2022-07-04 18:01:59 +00:00
0c4c32a6ad Accepting request 947728 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 0.17.2
  * Require typing-extensions on Python<3.8 only. #269
  * Fix a regression in tests collection introduced by 0.17.1, the
    plugin works fine with non-python tests again. #267
- Release notes for 0.17.1
  * Fixes a bug that prevents async Hypothesis tests from working
    without explicit asyncio marker when --asyncio-mode=auto is
    set. #258
  * Fixed a bug that closes the default event loop if the loop
    doesn't exist #257
  * Added type annotations. #198
  * Show asyncio mode in pytest report headers. #266
  * Relax asyncio_mode type definition; it allows to support pytest
    6.1+. #262
- Release notes for 0.17.0
  * pytest-asyncio no longer alters existing event loop policies.
    #168, #188
  * Drop support for Python 3.6
  * Fixed an issue when pytest-asyncio was used in combination with
    flaky or inherited asynchronous Hypothesis tests. #178 #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. #99
  * Added the plugin modes: strict, auto, and legacy. See
    documentation for details. #125
  * Correctly process KeyboardInterrupt during async fixture setup
    phase #219

OBS-URL: https://build.opensuse.org/request/show/947728
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=17
2022-01-20 18:00:47 +00:00
2e66d0256c Accepting request 925838 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 0.16.0
  * Add support for Python 3.10
- Drop 0001-removed-support-for-python-3.5.patch not required by
  fakeredis 1.6.1 anymore

OBS-URL: https://build.opensuse.org/request/show/925838
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=16
2021-10-19 11:58:30 +00:00
Steve Kowalik
0a1d6d058d Accepting request 904059 from home:alarrosa:branches:devel:languages:python:pytest
This should fix Staging:F . Or said in another way, it should
fix python-fakeredis failing with:
[   59s] _______________________________ test_ping[fake] ________________________________
[   59s] 
[   59s] r = <async_generator._impl.AsyncGenerator object at 0x7f60c4ede6d8>
[   59s] 
[   59s]     async def test_ping(r):
[   59s] >       pong = await r.ping()
[   59s] E       AttributeError: 'AsyncGenerator' object has no attribute 'ping'
[   59s] 
[   59s] test/test_aioredis.py:45: AttributeError
...

- Add patch to revert a change in 0.15.1 that removed
  async_generator support in upstream together with python 3.5
  support. This revert is needed by python-fakeredis 1.5.2
  * 0001-removed-support-for-python-3.5.patch

OBS-URL: https://build.opensuse.org/request/show/904059
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=15
2021-07-05 08:53:13 +00:00
a0ab1d52ed Accepting request 897120 from home:alarrosa:branches:devel:languages:python:pytest
- Update to 0.15.1
  * Hotfix for errors while closing event loops while replacing
    them. #209 #210
- Update to 0.15.0
  * 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'. #163
  * Properly close event loops when replacing them. #208

OBS-URL: https://build.opensuse.org/request/show/897120
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=14
2021-06-03 12:46:56 +00:00
Tomáš Chvátal
835c50c8ce OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=12 2020-06-29 12:40:11 +00:00
Tomáš Chvátal
246f7b8391 Accepting request 817650 from home:mcalabkova:branches:devel:languages:python:pytest
- Update to 0.14.0
  * Fix #162, and event_loop fixture behavior now is coherent on all scopes.

OBS-URL: https://build.opensuse.org/request/show/817650
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=11
2020-06-29 10:14:02 +00:00
Tomáš Chvátal
5e8cbaf4d4 - Update to 0.12.0:
* Run the event loop fixture as soon as possible.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=9
2020-06-09 08:14:52 +00:00
Tomáš Chvátal
2b9d02d77f - Update to 0.11.0:
* Fix with pytest 5.4

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=8
2020-04-27 10:53:02 +00:00
Tomáš Chvátal
fb439f2b85 - Fix test run on python 3.8+
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=6
2020-03-09 09:37:30 +00:00
Tomáš Chvátal
ba4f6290aa - Update to 0.10.0:
* support for pytest 4+

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=4
2019-02-13 13:17:41 +00:00
Yuchen Lin
f6c8d1668e Accepting request 633035 from devel:languages:python:pytest
- update to 0.9.0
- use github tarbal due packaging errrors in upstream
 * Python 3.7 support.
 * Remove event_loop_process_pool fixture
     and pytest.mark.asyncio_process_pool marker (forwarded request 633033 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/633035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-asyncio?expand=0&rev=2
2018-09-11 15:14:57 +00:00
Dominique Leuenberger
ac14c79f82 Accepting request 582509 from devel:languages:python
New package python-pytest-asyncio, required by python-pyee, which is
required by mycroft-core

OBS-URL: https://build.opensuse.org/request/show/582509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-asyncio?expand=0&rev=1
2018-03-05 12:44:34 +00:00