jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / python / cheroot / patches / 03-test-no-pypytools.patch
blob2c6135ad9d9abb6884dd3315dbb4ee2d6effc710
1 We have no pypytools packaged yet.
3 --- cheroot-10.0.1/requirements/tests.in.orig
4 +++ cheroot-10.0.1/requirements/tests.in
5 @@ -27,11 +27,6 @@
6 pyopenssl >= 22.0.0; implementation_name == "pypy" and python_version >= "3.8"
7 pyopenssl < 22.0.0; implementation_name == "pypy" and python_version < "3.8"
9 -# The pypytools library provides a cross-implementation context
10 -# manager for disabling garbage collection in specific blocks
11 -# of the control flow:
12 -pypytools
14 pytest-clarity
15 pytest-cov==2.12.0
16 pytest-forked>=1.2.0; sys_platform != "win32"
17 --- cheroot-10.0.1/cheroot/test/test_server.py.orig
18 +++ cheroot-10.0.1/cheroot/test/test_server.py
19 @@ -12,8 +12,6 @@
20 import pytest
21 import requests
23 -from pypytools.gc.custom import DefaultGc
25 from .._compat import bton, ntob
26 from .._compat import IS_LINUX, IS_MACOS, IS_WINDOWS, SYS_PLATFORM
27 from ..server import IS_UID_GID_RESOLVABLE, Gateway, HTTPServer
28 @@ -342,6 +340,7 @@
29 indirect=('resource_limit',),
31 @pytest.mark.usefixtures('many_open_sockets')
32 +@pytest.mark.skip(reason="missing pypytools")
33 def test_high_number_of_file_descriptors(native_server_client, resource_limit):
34 """Test the server does not crash with a high file-descriptor value.