diff --git a/srcpkgs/python3-pytest-asyncio/patches/fix-test.patch b/srcpkgs/python3-pytest-asyncio/patches/fix-test.patch new file mode 100644 index 00000000000..3eee8be42fa --- /dev/null +++ b/srcpkgs/python3-pytest-asyncio/patches/fix-test.patch @@ -0,0 +1,15 @@ +--- a/tests/hypothesis/test_inherited_test.py 2023-07-12 07:11:21.000000000 -0300 ++++ b/tests/hypothesis/test_inherited_test.py 2023-09-15 19:12:21.328680631 -0300 +@@ -1,10 +1,11 @@ + import hypothesis.strategies as st + import pytest +-from hypothesis import given ++from hypothesis import given, settings, HealthCheck + + + class BaseClass: + @pytest.mark.asyncio ++ @settings(suppress_health_check=(HealthCheck.differing_executors,)) + @given(value=st.integers()) + async def test_hypothesis(self, value: int) -> None: + pass diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template index ec0fdcb061f..e9beec64ad8 100644 --- a/srcpkgs/python3-pytest-asyncio/template +++ b/srcpkgs/python3-pytest-asyncio/template @@ -1,18 +1,18 @@ # Template file for 'python3-pytest-asyncio' pkgname=python3-pytest-asyncio -version=0.21.0 +version=0.21.1 revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools_scm python3-wheel" depends="python3-pytest" checkdepends="$depends python3-flaky python3-hypothesis python3-pytest-trio" short_desc="Pytest plugin for asyncio" -maintainer="Orphaned " +maintainer="Gonzalo TornarĂ­a " license="Apache-2.0" homepage="https://github.com/pytest-dev/pytest-asyncio" changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst" distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest-asyncio-${version}.tar.gz" -checksum=2b38a496aef56f56b0e87557ec313e11e1ab9276fc3863f6a7be0f1d0e415e1b +checksum=40a7eae6dded22c7b604986855ea48400ab15b069ae38116e8c01238e9eeb64d if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then # these tests fail on CI (bind to a tcp address)