Randall Leeds
d7ff60536d
Add Python 3.9 to PyPI classifiers
2020-12-19 00:46:48 -05:00
Hugo
e60a5591b0
Add project_urls and update to https
2020-06-21 01:23:45 +03:00
Brett Randall
9219da52cd
Updated setup Development Status metadata to 5 - Production/Stable (was 4 - Beta).
...
Signed-off-by: Brett Randall <javabrett@gmail.com>
2020-01-20 10:08:16 +11:00
Jason Madden
2d40e6dace
Use socket.sendfile() instead of os.sendfile().
...
Fixes #2223 .
Unfortunately, eventlet doesn't implement GreenSocket.sendfile, so we have to do it for it.
Add gevent and eventlet to tox.ini and add tests to make sure we can at least import the workers. Some tests that this actually functions would be nice...
Update the gevent and eventlet setup extras to require the versions that are enforced in their worker modules.
2020-01-04 06:31:25 -06:00
Brett Randall
4ef01b1c10
Bumped py3 min version in setup.py to 3.5 (was 3.4).
...
Signed-off-by: Brett Randall <javabrett@gmail.com>
2019-12-04 00:41:10 +01:00
benoitc
441977f57c
only support python >= 3.5
...
python 3.4 is unsupported and we should focus on offering stable
features than backporting some code to this version
2019-11-22 23:03:30 +01:00
Bastien Vallet
7d0c8f97f8
[py38] Python 3.8 is now official, use it by default
2019-10-27 19:52:51 +01:00
johnthagen
f35ae584b4
Add pypy3 to list of tested environments ( #2105 )
2019-09-08 04:55:26 +03:00
John Whitlock
40d22ae38d
Add setproctitle to extras_require ( #2094 )
...
This allows you to specify that you want setproctitle installed so that
gunicorn can set meaningful process names at install time or in a
requirements file.
2019-08-20 03:27:59 +03:00
Sebastien Williams-Wynn
678b326dc0
Fix typo in --worker-class documentation ( #2030 )
2019-05-09 21:13:31 +03:00
Randall Leeds
61e136b922
Simplify Paste Deployment integration
...
Remove the `gunicorn_paster` command. With the `--paste` option to the
`gunicorn` command, Gunicorn will no longer read the server section of
the configuration. Instead, server configuration must be done with
Gunicorn configuration files, command line switches, and environment
variables.
The use of Gunicorn as a Paste Deployment server factory is no longer
deprecated. It allows specifying `host` and `port`, as well as `bind`,
but is otherwise more strict with options than in the past. Rather than
ignoring unknown options it will raise an error.
Close #1189
2019-01-22 03:58:03 -08:00
John Sirois
ba9a4462c6
Declare our setuptools dependency ( #1931 )
...
We rely on setuptools' pkg_resources in a few places so we declare our
dependency so that packaging and installation tools work.
Fixes #1716
2018-12-07 12:43:27 +03:00
Hugo
e974f30517
Drop support for Python 2
...
Co-Authored-By: Dustin Ingram <di@users.noreply.github.com>
Co-Authored-By: Berker Peksag <berker.peksag@gmail.com>
2018-08-01 15:31:17 +03:00
Hugo
78208c8c32
Drop support for EOL Python 3.2 and 3.3 ( #1839 )
2018-07-29 14:07:36 +03:00
Hugo
4371ff2ed4
Add python_requires to help pip
2018-03-19 10:14:05 +03:00
Bruno Alla
d1f5268b15
Add extras_require for various worker types ( #1718 )
...
Fixes #1717
2018-03-08 17:19:44 +03:00
Berker Peksag
3da2f88dfe
Delete deprecated gunicorn_django command and --settings option
2017-02-05 05:57:41 +03:00
Berker Peksag
146a769afa
Add new Python versions to build matrix
...
Also update package metadata.
Fixes #1439
2017-01-22 08:18:02 +03:00
Berker Peksag
811ea7880e
Unpin mock 1.0.1 since it has support for Python 2.6.
2015-09-20 06:52:55 +03:00
Berker Peksag
caf7a1946d
Install mock 1.0.1 on Python 2.6.
...
Fixes #1081
2015-07-13 15:16:01 +03:00
Berker Peksag
e84068b518
Use tox in .travis.yml.
...
This way we can avoid code duplication.
Also, this change makes tests faster due to ignoring the sdist step
and adds Python 3.2, 3.4 and PyPy 3 to build matrix.
2014-10-19 02:12:59 +03:00
Berker Peksag
bf3ef8f389
Add selectors module to gunicorn codebase.
...
Closes #886 .
2014-10-16 15:44:10 +03:00
Berker Peksag
2cb6b682db
Remove unused install_requires parameter in setup.py.
...
Also, renamed PyTest class to PyTestCommand and made
a couple cosmetic changes.
2014-10-14 15:23:15 +03:00
Berker Peksag
719e61bf18
Raise a RuntimeError if asyncio is not available.
...
Fixes #830 .
2014-08-16 12:19:23 +02:00
WooParadog
2753aac65b
Fix PyTest class in setup.py.
...
It should be subclass of `setuptools.command.test`. Also, use it in
.travis.yml.
2014-08-01 15:30:20 +03:00
Andrew Svetlov
86f740420c
Don't install gaiohttp if python < 3.3
2014-06-22 15:19:27 +03:00
Randall Leeds
ae14150cad
Merge pull request #727 from benoitc/feature/threaded-worker
...
Feature/threaded worker
2014-06-01 14:16:44 -07:00
benoitc
ff6169cc20
gthreads: only check requirements for python < 3.4
2014-06-01 20:44:50 +02:00
Berker Peksag
9f8f37d07d
Add Python 3.4 to classifiers.
...
I tested Gunicorn with the following command on Pytohn 3.4.0:
$ python3.4 -m venv venv34
$ . venv34/bin/activate
$ pip install -e .
$ pip install -r requirements_dev.txt
$ py.test tests/
2014-05-15 01:16:38 +03:00
benoitc
14f71ebf39
compatibility with python 2
...
Add support of the threaded worker on python 2.7. python 2.7 has no
futures module. With this change the compatibility module is installed.
2014-05-13 15:18:43 +02:00
Berker Peksag
3783bc79f4
Remove duplicate classifiers.
2014-03-01 00:19:30 +02:00
benoitc
a397d90774
don't depend on entry point for internal classes.
...
We don't have to depend on entry points when loading suppoorted workers
nad extensions, instead use the absolute path to load the class.
fix #259
2013-12-26 11:33:05 +01:00
kracekumar
c6d650ebd2
Sys imported twice.
2013-10-14 00:43:02 +05:30
benoitc
facb1a668c
s/py.test/pytest - fix #440
...
patch from@danc86 thanks!
2012-11-26 08:12:13 +01:00
benoitc
98b2114199
say hello to python 3.3
2012-11-16 10:51:51 +01:00
Randall Leeds
1505e29248
integrate pytest with setup.py
2012-10-28 22:59:33 -07:00
benoitc
68b5abc881
some setup enhancements preparing the python 3 release
2012-10-24 11:33:25 +02:00
benoitc
b7b6179593
fix gevent wsgi change
2012-03-16 07:13:25 +01:00
benoitc
ba60d6d4a9
imahe gevent_sgi and alias of gevent_pywsgi
...
wgsi gevent is now an alias of pywsgi in future 1.0 so slowly deprecate
it.
2012-03-16 06:49:24 +01:00
benoitc
824801d017
make the Logger pluggable. Allows people to use their own logger by
...
giving to gunicorn an entry point or a module path.
2011-09-09 00:43:00 +02:00
denis
2ab4bbf46f
fix compatibility with gevent 0.14 dev version
...
Move "import gevent.wsgi" into a separate module, which is not
imported if pywsgi worker is requested. (The gevent.wsgi currently
not provided by gevent trunk but pywsgi works fine.)
2011-05-11 23:11:03 +02:00
Paul J. Davis
6bf6fbe72f
Added extra WSG/HTTP classifiers for PyPI
...
* We were missing some obvious classifiers for HTTP and WSGI
2011-02-12 11:52:12 -05:00
Paul J. Davis
330e27166b
Remove setuptools from install_requires.
...
We already import setuptools in setup.py so its not necessary
to explicitly list it. Also, it apparently prevents users from
upgrading using distribute.
Thanks to Jannis Leidel for the report.
2011-01-02 17:58:19 -05:00
benoitc
108ccb7690
'm tired of this versionning based on git for dev. Not really useful
...
since noone use it and force sometimes to have to reinstall in
virtualenv.
2010-11-20 19:20:58 +01:00
benoitc
bc2d0112a8
use only git shorttag with 'develop' command, also don'ty load it each
...
time. spotted by @davisp .
2010-11-10 19:28:18 +01:00
Paul Davis
d09f85edf0
Minor tweaks to new Gevent workers.
...
Just a slight rearangement and added some docs so I can remember which
worker is which in the future. Also renamed all occurrences of GEvent
to Gevent to have consistency.
2010-07-14 18:27:35 -04:00
Benoit Chesneau
8014555636
add full support for gevent. There is now 3 workers allowing us to use gunicorn with
...
gevent :
- egg:gunicorn#gevent : gevent with gunicorn HTTP/WSGI parser
- egg:gunicorn#gevent_wsgi : gevent.wsgi server
- egg:gunicorn#gevent_pywsgi : gevent.pywsgi
2010-07-14 23:45:44 +02:00
benoitc
09c3310e21
Use gevent.wsgi
2010-06-10 21:22:06 +02:00
benoitc
c239a3cd88
"main.py doesn't do anything useful anymore" spotted by @davisp
2010-06-10 17:23:38 +02:00
benoitc
516adafcbe
fix some errors & add headers. unitests still broken
2010-06-03 16:11:17 -04:00