afdea051e8- update to 0.36.1: * [fix] eventlet.websocket is not always used from eventlet.wsgi, so do not assume eventlet.set_idle exists * [fix] Make sure asyncio hub doesn't use greendns for asyncio DNS APIs * [fix] Make asyncio.to_thread work with the same semantics as normal asyncio * [fix] Refactor congruence checks based on assert at runtime * [tests] Run tests on macOS in CI, and some fixes to get it in reasonable state (#list * [fix] Fix wsgi.server shutdown for in-flight requests * [feature] Add debug convenience helpers - asyncio, threads * [fix] Handle errors better. * [fix] Fix tool.setuptools/packages list * [security] Dnspython 2.6.1 - Address DoS via the Tudoor mechanism (CVE-2023-29483) * [doc] add asyncio into the doc hub page * [clean] clean obsolete python 2 code from the ssl module * [fix] Add get_server_info to db_pool.py * [fix] wsgi: Handle Timeouts from applications * [fix] shrinks window before connecting * [fix] Do not allow failed patching to stop execution * [doc] Basic documentation for asyncio migration * [tests] add minimal linting * [doc] officially host docs on readthedocs * [fix] fix truncate size nullable * [fix] Handle transport endpoint shutdown in conditions * [fix] Rework reject_bad_requests option * [fix] Fix NameError introduced by #826 * [feature] Support awaiting GreenThread in an async defDirk Mueller2024-06-06 08:43:37 +00:00
1aadc8c01eAccepting request 1139942 from devel:languages:pythonAna Guerrero2024-01-21 22:07:58 +00:00
417cdcc0dd- update to 0.34.3: * Fix security issue in the wsgi module related to RFC 9112 * Fix segfault, a new approach for greening existing locks * greendns: fix getaddrinfo parameter name * Fix deprecation warning on ssl.PROTOCOL_TLS * Pytests, fix error at teardown of TestGreenSocket.test_full_duplex * Skip test which uses Py cgi module * Drop old code based on python < 3.7 * Allowing inheritance of GreenSSLSocket without overriding the __new_ method https://github.com/eventlet/eventlet/pull/796 * [bug] Fix broken API related to __version__ removal * [doc] Fix pypi broken link * 0.34.1 * [bug] Fix memory leak in greendns * [infra] Fix OIDC authentication failure * [bug] Ignore asyncore and asynchat for Python 3.12+ * 0.34.0 (Not released on Pypi) * Dropped support for Python 3.6 and earlier. * Fix Python 3.13 compat by adding missing attibute '_is_main_interpreter' * Add support of Python 3.12 * Drop unmaintained and unused stdlib tests * Fix tests and CI for Python 3.7 and higher * Stop claiming to create universal wheels * Fix green logging locks for Python versions <= 3.10 - switch to PEP517 build - cleanup tests - drop support-python3.12.patch, denose-eventlet.patch: solved differently upstreamDirk Mueller2024-01-19 08:55:02 +00:00
007b5d12d5Accepting request 1129879 from devel:languages:pythonAna Guerrero2023-12-01 20:24:36 +00:00
73a9a58573- update to 0.32.0: * greendns: compatibility with dnspython v2 * green.ssl: wrap_socket now accepts argument ciphers * websocket: control frames are now always uncompressed per RFC 7692 * ssl: py3.6 using client certificates raised ValueError: check_hostname needs server_hostname argument * IMPORTANT: websocket: Limit maximum uncompressed frame length to 8MiB * wsgi: websocket ALREADY_HANDLED flag on corolocal * green.ssl: Set suppress_ragged_eofs default based on SSLSocket defaults * greenio: socket.connect_ex returned None instead of 0 on success * Use _imp instead of deprecated imp - drop pr_639.patch, merged upstreamDirk Mueller2021-11-07 21:14:19 +00:00
0ff26b730eAccepting request 881214 from devel:languages:python
Richard Brown
2021-04-01 12:15:52 +00:00
f4b13e4710Accepting request 880422 from home:bnavigator:branches:devel:languages:pythonMatej Cepl2021-03-24 21:32:46 +00:00
4dd14d9320- Do not generate sphinx docu, it is online and now we have only python3 Sphinx anyway - Update to 0.25.0: * Support for new python and ssl - Remove patches that are in upstream release: * 0001-IMPORTANT-late-import-in-use_hub-thread-race-caused-.patch * 0001-ssl-connect-used-non-monotonic-time.time-for-timeout.patch * 0002-Fix-for-Python-3.7-506.patch * 0003-Fix-compatibility-with-Python-3.7-ssl.SSLSocket-531.patch
Tomáš Chvátal
2019-06-07 12:27:52 +00:00
82c5a213c9- add 0001-ssl-connect-used-non-monotonic-time.time-for-timeout.patch - add 0002-Fix-for-Python-3.7-506.patch and add 0003-Fix-compatibility-with-Python-3.7-ssl.SSLSocket-531.patch Both needed for python 3.7 compatibility
Thomas Bechtold
2019-04-29 06:10:38 +00:00
9b7862e481- add 0001-IMPORTANT-late-import-in-use_hub-thread-race-caused-.patch Fixes a problem during tests runs with python 2.7: RuntimeError: no suitable implementation for this system: \ AttributeError("'module' object has no attribute 'epolls'",)
Thomas Bechtold
2019-04-29 04:31:38 +00:00
f7e5fd44cd- update to 0.24.1: * greendns: don't contact nameservers if one entry is returned from hosts file; Thanks to Daniel Alvarez * greendns: Fix infinite loop when UDP source address mismatch; Thanks to Lon Hohberger * greendns: Fix bad ipv6 comparison; Thanks to Lon Hohberger * wsgi: Use byte strings on py2 and unicode strings on py3; Thanks to Tim Burke * pools: put to empty pool would block sometimes; Thanks to Sam Merritt * greendns: resolving over TCP produced ValueError; Thanks to Jaume Marhuenda * support.greendns: ImportError when dns.rdtypes was imported before eventlet; Thanks to Jaume Marhuenda * greendns: full comment lines were not skipped; Thanks to nat-goodspeed * Drop support for Python3.3; Python2.6 and python-epoll package * external dependencies for six, monotonic, dnspython; Thanks to nat-goodspeed * wsgi: Don't strip all Unicode whitespace from headers on py3; Thanks to Tim Burke * green.threading: current_thread() did not see new monkey-patched threads; Thanks to Jake Tesler * tpool: exception in tpool-ed call leaked memory via backtrace * wsgi: latin-1 encoding dance for environ[PATH_INFO] * Fixed issue installing excess enum34 on Python3.4+ (rebuild with updated setuptools) * event: Event.wait() timeout=None argument to be compatible with upstream CPython * greendns: Treat /etc/hosts entries case-insensitive; Thanks to Ralf Haferkamp * convenience: (SO_REUSEPORT) socket.error is not OSError on Python 2; Thanks to JacoFourie@github * convenience: SO_REUSEPORT is not available on WSL platform (Linux on Windows) * convenience: skip SO_REUSEPORT for bind on random port (0) * dns: reading /etc/hosts raised DeprecationWarning for universal lines on Python 3.4+; Thanks to Chris Kerr * green.openssl: Drop OpenSSL.rand support; Thanks to Haikel Guemar * green.subprocess: keep CalledProcessError identity; Thanks to Linbing@github * greendns: be explicit about expecting bytes from sock.recv; Thanks to Matt Bennett * greendns: early socket.timeout was breaking IO retry loops * GreenSocket.accept does not notify_open; Thanks to orishoshan * patcher: set locked RLocks' owner only when patching existing locks; Thanks to Quan Tian * patcher: workaround for monotonic "no suitable implementation"; Thanks to Geoffrey Thomas * queue: empty except was catching too much
Thomas Bechtold
2018-12-06 15:44:37 +00:00
718fe09a9d- Fix fdupes call
Tomáš Chvátal
2018-12-06 13:26:54 +00:00
a828d77da7- Add PR-459.patch. Hostname in /etc/hosts are not case-sensitive, this fixes HostsResolver() accordingly.
Thomas Bechtold
2018-01-12 13:07:54 +00:00
548b43677d- go back to a working version: downgrade to 0.20.1 - add 0001-Fix-SSL-connection-reset-errors.patch to fix hangs on SSL connectionsDirk Mueller2017-11-26 16:03:18 +00:00
45d914d698- update to 0.20.1: * dns: try unqualified queries as top level * test_import_patched_defaults bended to play with pyopenssl>=16.1.0 * Explicit environ flag for importing eventlet.__version__ without ignoring import errors * Type check Semaphore, GreenPool arguments; Thanks to Matthew D. Pagel * IMPORTANT: removed select.poll() function * DNS resolving is always green with dnspython bundled in * greenio: only trampoline when we block * convenience: listen() sets SO_REUSEPORT when available; Thanks to Zhengwei Gao * ssl: Fix "TypeError: read() argument 2 must be read-write bytes-like object, not None" * greenio: _recv_loop behaviour with recv_into on closed sock * ipv6: getaddrinfo would fail with scope index * green.zmq: Support {send,recv}_{string,json,pyobj} wrappers * greendns: Return answers from /etc/hosts despite nameserver errors * patcher: fixed green existing locks fail (Python3) * Add DAGPool, a dependency-driven greenthread pool * wsgi: Unix socket address representation; Thanks to Samuel Merritt * tpool: isolate internal socket from default timeout; Thanks to Alex Villacís Lasso * wsgi: only skip Content-Type and Content-Length headers (GH-327) * wsgi: 400 on blank Content-Length headers (GH-334) * greenio: makefile related pypy socket ref counting * ssl: Fix recv_into blocking when reading chunks of data * websocket: support Gunicorn environ['gunicorn.socket']Dirk Mueller2017-01-12 08:13:07 +00:00
9de3f917e3- update to 0.19.0: * ssl: IMPORTANT DoS FIX do_handshake_connect=False in server accept(); * green.urllib2: missing patched ssl module; * wsgi: environ[headers_raw] tuple of unmodified name: value pairs * test against modern pyopenssl 16.0.0 for Python 2.7+; * wsgi: document compatibility with python logging * Minor grammatical improvements and typo fixes to the docsDirk Mueller2016-12-03 18:20:10 +00:00
8d56917327- update to 0.18.4: * wsgi: change TCP_NODELAY to TCP_QUICKACK, ignore socket error when not available * wsgi: Use buffered writes - fixes partial socket.send without custom writelines(); Github issue #295 * wsgi: TCP_NODELAY enabled by default * wsgi: Fix data loss on partial writes (socket.send); Thanks to Jakub Stasiak * IMPORTANT: do not use Eventlet 0.18.0 and 0.18.1 * patcher: Fix AttributeError in subprocess communicate() * greenio: Fix "TypeError: an integer is required" in sendto() * IMPORTANT: do not use Eventlet 0.18.0 and 0.18.1 * greenio: Fixed a bug that could cause send() to start an endless loop on ENOTCONN; Thanks to Seyeong Kim * wsgi: Fixed UNIX socket address being trimmed in "wsgi starting" log; Thanks to Ihar Hrachyshka * ssl: Ported eventlet.green.OpenSSL to Python 3; Thanks to Victor Stinner * greenio: Made read() support buflen=-1 and added readall() (Python 3); Thanks to David Szotten * wsgi: Made the error raised in case of chunk read failures more precise (this should be backwards compatible as the new exception class, wsgi.ChunkReadError, is a subclass of ValueError which was being used there before); Thanks to Samuel Merritt * greenio: Fixed socket.recv() sometimes returning str instead of bytes on Python 3; Thanks to Janusz Harkot * wsgi: Improved request body discarding * websocket: Fixed TypeError on empty websocket message (Python 3); Thanks to Fukuchi Daisuke * subprocess: Fixed universal_newlines support * wsgi: Output of 0-byte chunks is now suppressed; Thanks to Samuel Merritt * Improved the documentation; Thanks to Ramakrishnan G, ashutosh-mishra and Azhar HussainDirk Mueller2016-02-26 19:06:53 +00:00