69 Commits

Author SHA1 Message Date
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
benoitc
d9a2579613 naive working integration of simplehttp parser. async worker is slower
than the non async actually for unkown reason and slower than with old
parser.
2010-06-03 16:09:04 -04:00
benoitc
a14bd99dbe oops typo 2010-04-29 09:57:31 +02:00
benoitc
7e1d4ae34a install requires setuptools 2010-04-29 09:49:24 +02:00
Paul J. Davis
d14389cb68 Added support for Tornado.
Took less than a beer.
2010-04-15 21:20:52 -04:00
Paul J. Davis
0c935d06c7 Got the Sync and Eventlet workers running. 2010-04-15 21:20:17 -04:00
Paul J. Davis
51f1f22665 Refactoring worker code.
Also went through gunicorn.main lightly.
2010-04-15 20:08:28 -04:00
Paul J. Davis
fe3f7db88c Wrong license listed in the setup() vars. 2010-03-24 14:40:17 -04:00
benoitc
0781caadab merge grainbows & gunicorn 2010-03-17 00:18:16 +01:00
benoitc
23927f39b1 allows custom arbiter 2010-03-16 22:12:26 +01:00
benoitc
0687c9460b point setup.py to main website 2010-03-11 08:33:00 +01:00
Benoit Chesneau
f071e7d4e1 fix version handling 2010-02-09 23:05:12 +01:00
Benoit Chesneau
3e20e11e39 bump version 2010-02-09 22:59:26 +01:00