Skip to content

Commit

Permalink
pyproject.toml: Bump to latest cython.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Aug 31, 2023
1 parent 081fa4e commit 6b22af0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
7 changes: 7 additions & 0 deletions docs/servers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ The :mod:`gevent.pywsgi` module contains an implementation of a :pep:`3333`
:class:`WSGI server <gevent.pywsgi.WSGIServer>`. In addition,
gunicorn_ is a stand-alone server that supports gevent.

.. important::

The provided server implementations are intended primarily for
development and testing, or internal usage, and otherwise only
generally "safe" scenarios. They have not been security audited.
Expose them to the public Internet at your own risk.

API Reference
=============

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ requires = [
# 3.0a6 fixes an issue cythonizing source on 32-bit platforms.
# 3.0a9 is needed for Python 3.10.
# Python 3.12 requires at least 3.0rc2.
"Cython >= 3.0",
"Cython >= 3.0.2",
# See version requirements in setup.py
"cffi >= 1.12.3 ; platform_python_implementation == 'CPython'",
# Python 3.7 requires at least 0.4.14, which is ABI incompatible with earlier
Expand Down
9 changes: 8 additions & 1 deletion src/gevent/pywsgi.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
# Copyright (c) 2005-2009, eventlet contributors
# Copyright (c) 2009-2018, gevent contributors
"""
A pure-Python, gevent-friendly WSGI server.
A pure-Python, gevent-friendly WSGI server implementing HTTP/1.1.
The server is provided in :class:`WSGIServer`, but most of the actual
WSGI work is handled by :class:`WSGIHandler` --- a new instance is
created for each request. The server can be customized to use
different subclasses of :class:`WSGIHandler`.
.. important::
This server is intended primarily for development and testing, and
secondarily for other "safe" scenarios where it will not be exposed to
potentially malicious input. The code has not been security audited,
and is not intended for direct exposure to the public Internet.
"""
from __future__ import absolute_import

Expand Down

0 comments on commit 6b22af0

Please sign in to comment.