From 88598fd492dc6c2ab15d2d518445ee3b2b3fd1fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 5 Dec 2023 18:16:50 -0300 Subject: [PATCH] python3-pytest-asyncio: update to 0.23.4. --- .../python3-pytest-asyncio/patches/fix-test.patch | 15 --------------- srcpkgs/python3-pytest-asyncio/template | 8 ++++---- srcpkgs/python3-pytest-asyncio/update | 2 +- 3 files changed, 5 insertions(+), 20 deletions(-) delete mode 100644 srcpkgs/python3-pytest-asyncio/patches/fix-test.patch diff --git a/srcpkgs/python3-pytest-asyncio/patches/fix-test.patch b/srcpkgs/python3-pytest-asyncio/patches/fix-test.patch deleted file mode 100644 index 3eee8be42fa..00000000000 --- a/srcpkgs/python3-pytest-asyncio/patches/fix-test.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- 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 c997751e7c8..c2b8cfeb92e 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.1 -revision=2 +version=0.23.4 +revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools_scm python3-wheel" depends="python3-pytest" -checkdepends="$depends python3-flaky python3-hypothesis python3-pytest-trio" +checkdepends="$depends python3-hypothesis" short_desc="Pytest plugin for asyncio" 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=40a7eae6dded22c7b604986855ea48400ab15b069ae38116e8c01238e9eeb64d +checksum=2143d9d9375bf372a73260e4114541485e84fca350b0b6b92674ca56ff5f7ea2 if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then # these tests fail on CI (bind to a tcp address) diff --git a/srcpkgs/python3-pytest-asyncio/update b/srcpkgs/python3-pytest-asyncio/update index ee07b72ffd4..b8d34a957ad 100644 --- a/srcpkgs/python3-pytest-asyncio/update +++ b/srcpkgs/python3-pytest-asyncio/update @@ -1 +1 @@ -ignore="*dev*" +ignore="*a* *b* *dev*"