Package: python-eventlet / 0.26.1-7+deb11u1

Metadata

Package Version Patches format
python-eventlet 0.26.1-7+deb11u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Removes line that is doing FTBFS in doc.patch | (download)

doc/modules/zmq.rst | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 removes line that is doing ftbfs in doc

0002 Fixed privacy breach in examples.patch | (download)

examples/websocket.html | 4 2 + 2 - 0 !
examples/websocket_chat.html | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 fixed privacy breach in examples

 Upstream is referencing external websites, we don't allow this.
0003 Allow more busy CPU.patch | (download)

tests/zmq_test.py | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 allow more busy cpu

 The tests assume a fast CPU, but under my VMs, the tests are just failing
 with the CPU being more than 10% busy.
0004 Remove networking tests.patch | (download)

tests/greenio_test.py | 20 0 + 20 - 0 !
tests/socket_test.py | 7 0 + 7 - 0 !
2 files changed, 27 deletions(-)

 remove networking tests

 Upstream is attempting connection to 192.0.2.1 on port 80, and expects
 it to always timeout. However, some Debian users may well have a web
 server running on that IP address, meaning the test would fail in such
 setup (even if this is reserved IANA IPs). Therefore, removing such bad
 tests.
 .
 Also, these tests have been failing for a reason on my arm64 builder,
 probably because it's a slow machine.
0005 Removed failing test.patch | (download)

tests/patcher_test.py | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 removed failing test

 This test fails in Sid.
0006 Patch out intersphinx.patch | (download)

doc/conf.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 patch out intersphinx

 Avoids internet access during build
Bug-Debian: https://bugs.debian.org/840092
0008 Disable test_server_connection_timeout_exception.patch | (download)

tests/wsgi_test.py | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 disable test_server_connection_timeout_exception()

 As per the bug report, the test is non-deterministic. Therefore,
 remove it it.
Bug-Debian: https://bugs.debian.org/857893
0009 Removed test_urllib that is failing in py36.patch | (download)

tests/test__greenness.py | 51 0 + 51 - 0 !
1 file changed, 51 deletions(-)

 removed test_urllib that is failing in py36


0016 imp rename.patch | (download)

eventlet/patcher.py | 5 4 + 1 - 0 !
eventlet/tpool.py | 5 4 + 1 - 0 !
2 files changed, 8 insertions(+), 2 deletions(-)

 [patch] use _imp instead of deprecated imp
Replace dnspython _compute_expiration by _compute_times.patch | (download)

eventlet/support/greendns.py | 13 11 + 2 - 0 !
1 file changed, 11 insertions(+), 2 deletions(-)

 replace dnspython "_compute_expiration" by "_compute_times".
 In dnspython v2.0.0, "_compute_expiration" was replaced by
 "_compute_times". Once the minimum version of dnspython is
 v2.0.0, we can remove this wrapping method.

Bug: #1888258

Check_compute_expiration_at_module_level.patch | (download)

eventlet/support/greendns.py | 11 6 + 5 - 0 !
1 file changed, 6 insertions(+), 5 deletions(-)

 check _compute_expiration at module level
add_handling_for_new_dnspython_arguments.patch | (download)

eventlet/support/greendns.py | 72 64 + 8 - 0 !
1 file changed, 64 insertions(+), 8 deletions(-)

 add handling for new dnspython arguments
  one_rr_per_rrset and ignore_trailing are present very long ago,
  raise_on_truncation and sock are added since dnspython 2.0.
fix test_noraise_dns_tcp.patch | (download)

tests/greendns_test.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix test_noraise_dns_tcp()
remove non deterministic test_communicate_with_poll.patch | (download)

tests/subprocess_test.py | 20 0 + 20 - 0 !
1 file changed, 20 deletions(-)

 remove non-deterministic test_communicate_with_poll()
 This patch fails sometimes, which isn't acceptable in Debian, so I'm
 removing it to avoid issues.
0017 py39 Add _at_fork_reinit method to Semaphores.patch | (download)

eventlet/semaphore.py | 5 5 + 0 - 0 !
tests/semaphore_test.py | 21 21 + 0 - 0 !
2 files changed, 26 insertions(+)

 py39: add _at_fork_reinit method to semaphores
0018 pyopenssl tsafe module was deprecated and removed in.patch | (download)

eventlet/green/OpenSSL/__init__.py | 7 6 + 1 - 0 !
tests/openssl_test.py | 1 0 + 1 - 0 !
2 files changed, 6 insertions(+), 2 deletions(-)

 pyopenssl tsafe module was deprecated and removed in v20.0.0
fix infinte recursion in ssl.patch | (download)

eventlet/support/greendns.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 fix infinite recursion in ssl
 This fixes an infinite recursion in SSL when using dnspython 2.x.
CVE 2021 21419_websocket Limit maximum uncompressed frame length to 8MiB.patch | (download)

eventlet/websocket.py | 34 28 + 6 - 0 !
tests/websocket_new_test.py | 59 58 + 1 - 0 !
2 files changed, 86 insertions(+), 7 deletions(-)

 cve-2021-21419: websocket: limit maximum uncompressed frame length to 8mib
 This fixes a memory exhaustion DOS attack vector.
 References: GHSA-9p9m-jm8w-94p2
 https://github.com/eventlet/eventlet/security/advisories/GHSA-9p9m-jm8w-94p2