Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/h2/files/
Date: Fri, 17 Mar 2023 12:34:22
Message-Id: 1679056451.15f3ea39de30280074322c63c5f33e3ce7b45306.arthurzam@gentoo
1 commit: 15f3ea39de30280074322c63c5f33e3ce7b45306
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Fri Mar 17 12:15:11 2023 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 17 12:34:11 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15f3ea39
7
8 dev-python/h2: remove unused patch(es)
9
10 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
11 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
12
13 .../files/hyper-h2-3.2.0-failed-healthcheck.patch | 74 ----------------------
14 1 file changed, 74 deletions(-)
15
16 diff --git a/dev-python/h2/files/hyper-h2-3.2.0-failed-healthcheck.patch b/dev-python/h2/files/hyper-h2-3.2.0-failed-healthcheck.patch
17 deleted file mode 100644
18 index 04adc2748c21..000000000000
19 --- a/dev-python/h2/files/hyper-h2-3.2.0-failed-healthcheck.patch
20 +++ /dev/null
21 @@ -1,74 +0,0 @@
22 -diff --git a/test/test_basic_logic.py b/test/test_basic_logic.py
23 -index fb54fe50..8c8f3b7d 100644
24 ---- a/test/test_basic_logic.py
25 -+++ b/test/test_basic_logic.py
26 -@@ -21,7 +21,7 @@
27 -
28 - from . import helpers
29 -
30 --from hypothesis import given
31 -+from hypothesis import given, settings, HealthCheck
32 - from hypothesis.strategies import integers
33 -
34 -
35 -@@ -790,6 +790,7 @@ def test_headers_are_lowercase(self, frame_factory):
36 - assert c.data_to_send() == expected_frame.serialize()
37 -
38 - @given(frame_size=integers(min_value=2**14, max_value=(2**24 - 1)))
39 -+ @settings(suppress_health_check=[HealthCheck.function_scoped_fixture])
40 - def test_changing_max_frame_size(self, frame_factory, frame_size):
41 - """
42 - When the user changes the max frame size and the change is ACKed, the
43 -diff --git a/test/test_flow_control_window.py b/test/test_flow_control_window.py
44 -index 24b345aa..7a445af1 100644
45 ---- a/test/test_flow_control_window.py
46 -+++ b/test/test_flow_control_window.py
47 -@@ -7,7 +7,7 @@
48 - """
49 - import pytest
50 -
51 --from hypothesis import given
52 -+from hypothesis import given, settings, HealthCheck
53 - from hypothesis.strategies import integers
54 -
55 - import h2.config
56 -@@ -715,6 +715,7 @@ def _setup_connection_and_send_headers(self, frame_factory):
57 - return c
58 -
59 - @given(stream_id=integers(max_value=0))
60 -+ @settings(suppress_health_check=[HealthCheck.function_scoped_fixture])
61 - def test_must_acknowledge_for_stream(self, frame_factory, stream_id):
62 - """
63 - Flow control acknowledgements must be done on a stream ID that is
64 -@@ -740,6 +741,7 @@ def test_must_acknowledge_for_stream(self, frame_factory, stream_id):
65 - )
66 -
67 - @given(size=integers(max_value=-1))
68 -+ @settings(suppress_health_check=[HealthCheck.function_scoped_fixture])
69 - def test_cannot_acknowledge_less_than_zero(self, frame_factory, size):
70 - """
71 - The user must acknowledge at least 0 bytes.
72 -@@ -837,6 +839,7 @@ def test_acknowledging_streams_we_never_saw(self, frame_factory):
73 - c.acknowledge_received_data(2048, stream_id=101)
74 -
75 - @given(integers(min_value=1025, max_value=DEFAULT_FLOW_WINDOW))
76 -+ @settings(suppress_health_check=[HealthCheck.function_scoped_fixture])
77 - def test_acknowledging_1024_bytes_when_empty_increments(self,
78 - frame_factory,
79 - increment):
80 -@@ -873,6 +876,7 @@ def test_acknowledging_1024_bytes_when_empty_increments(self,
81 - # This test needs to use a lower cap, because otherwise the algo will
82 - # increment the stream window anyway.
83 - @given(integers(min_value=1025, max_value=(DEFAULT_FLOW_WINDOW // 4) - 1))
84 -+ @settings(suppress_health_check=[HealthCheck.function_scoped_fixture])
85 - def test_connection_only_empty(self, frame_factory, increment):
86 - """
87 - If the connection flow control window is empty, but the stream flow
88 -@@ -916,5 +920,6 @@ def test_connection_only_empty(self, frame_factory, increment):
89 - assert c.data_to_send() == expected_data
90 -
91 - @given(integers(min_value=1025, max_value=DEFAULT_FLOW_WINDOW))
92 -+ @settings(suppress_health_check=[HealthCheck.function_scoped_fixture])
93 - def test_mixing_update_forms(self, frame_factory, increment):
94 - """
95 - If the user mixes ackowledging data with manually incrementing windows,