Package: python-eventlet
Followup-For: Bug #981720
Would you consider the attached patch ? I don't know of its side-effects
but applying the patch does make it build successfully in all build
environments.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (990, 'unstable'), (990, 'testing'), (500, 'stable-updates'),
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_USER
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python-eventlet depends on:
ii netbase 6.2
pn python
pn python-enum34
pn python-greenlet
python-eventlet recommends no packages.
Versions of packages python-eventlet suggests:
pn python-eventlet-doc
/etc/resolv.conf may not be available in all build environments
--- a/eventlet/support/greendns.py
+++ b/eventlet/support/greendns.py
@@ -309,7 +309,7 @@
use the hosts file.
"""
-def __init__(self, hosts_resolver=None, filename='/etc/resolv.conf'):
+def __init__(self, hosts_resolver=None, filename=None):
"""Initialise the resolver proxy
:param hosts_resolver: An instance of HostsResolver to use.