Randall Leeds
e636bf8198
Merge pull request #1784 from tnir/1599-pycodestyle-ci
...
Enable pycodestyle
2019-12-30 12:58:17 -08:00
monobaila
cfc93ad701
Update FAQ - Workers Silently Killed.
2019-12-15 09:31:16 +01:00
Wesley Ellis
5a57d595c5
Fix sample command syntax highlighting in run.rst
...
Extra `:` was causing the syntax highlighting to mess up, resulting in the docs containing the `..code-block:: text` markup
2019-12-14 07:01:56 +03: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
Randall Leeds
91e9dcba96
Merge pull request #2210 from benoitc/update-maintainers
...
Add Brett Randall to MAINTAINERS
2019-12-02 20:46:47 -08:00
Brett Randall
9c147f6649
Added Brett Randall to MAINTAINERS.
2019-12-03 11:35:39 +11:00
Takuya Noguchi
ed901637ff
Enable pycodestyle
2019-11-28 19:30:38 +09:00
benoitc
ff1dbfec06
update site with the new version
2019-11-27 00:02:48 +01:00
benoitc
5d0c778300
bump to 20.0.4
2019-11-26 20:38:04 +01:00
benoitc
67cb62099c
remove socketfromfd module
...
socket.fromfd using socket.AF_UNIX as type should be enough to be
cross-platform since the address is larger than for others family.
This should allow the code to work cross-platform.
2019-11-26 20:27:21 +01:00
Benoit Chesneau
c58337731a
Revert "socketfromfd: remove python 2 compatibility"
...
This reverts commit 404a7120234e2b1119f4e8a3662c542e4d8700c8.
2019-11-26 20:27:21 +01:00
Benoit Chesneau
ab25bae7eb
Revert "socketfromfd: fix cross platform usage"
...
This reverts commit e69e8020539989d1b5d4846f5329843c6150767d.
2019-11-26 20:27:21 +01:00
Benoit Chesneau
8c759dd2e3
Revert "fix linting on python 3.8"
...
This reverts commit d38f6e47ea03a4c0121036a4300fe2d0155e85c6.
2019-11-26 20:27:21 +01:00
Benoit Chesneau
d530e673c3
Revert "refactor module"
...
This reverts commit 9419d660960869438c1a19838e09b63e6dbfbac6.
2019-11-26 20:27:21 +01:00
benoitc
5bae77c56c
Merge branch '20.x'
2019-11-25 23:31:30 +01:00
benoitc
d95ed4489e
point website to last version
2019-11-25 23:30:42 +01:00
benoitc
0c3af6e364
Merge branch 'master' into 20.x
2019-11-25 23:16:58 +01:00
benoitc
f646bdee39
fix bad cherry-picking
2019-11-25 23:15:22 +01:00
benoitc
2dae3ea165
bump to 20.0.3
2019-11-25 23:06:01 +01:00
benoitc
8b64aaedd5
changelog for the 20.0.3
2019-11-25 23:05:10 +01:00
benoitc
50a2cb6b16
bump to 20.0.3
2019-11-25 22:59:12 +01:00
benoitc
5257d924b6
changelog for the 20.0.3
2019-11-25 22:57:00 +01:00
benoitc
388fe40797
make config doc more explicit
...
explicit what we mean by "not need to be importable".
2019-11-25 22:51:46 +01:00
benoitc
05515873ea
put back configuration file without py extension and deprecate it
...
this change put back (and fix it) support of configuration files without
ython extension and warn about its usage.
2019-11-25 22:51:46 +01:00
benoitc
d31ac1df83
config file extension should be a python extension
...
This change make it clear what is configuration file for Gunicorn.
Using a filename with an extension different than a python extension
was never supported. Also it gives us some room for a proper config file.
2019-11-25 22:51:46 +01:00
benoitc
444b2d8213
refactor module
...
use appropriate naming for function, make _getsockname more generic and
doc more useful
2019-11-25 22:51:46 +01:00
benoitc
3ae3d1cfcc
fix linting on python 3.8
2019-11-25 22:51:46 +01:00
benoitc
883e62da46
socketfromfd: fix cross platform usage
...
on osx and maybe some other systems, SO_PROTOCOL is not set, also
the socket family is not detected correctly.
This patch remove default values in socketfromfd and do the following:
* detect proper family using getsockname instead of getsocktopt
* if no type is given, default to SOCK_STREAM (we don't have any other type)
* if no protocol is given, default to 0 and let the system take care of it.
2019-11-25 22:51:46 +01:00
benoitc
fa32aa7757
socketfromfd: remove python 2 compatibility
2019-11-25 22:51:46 +01:00
benoitc
b4e52c181a
make config doc more explicit
...
explicit what we mean by "not need to be importable".
2019-11-25 22:44:25 +01:00
benoitc
9a3e008eca
put back configuration file without py extension and deprecate it
...
this change put back (and fix it) support of configuration files without
ython extension and warn about its usage.
2019-11-25 22:44:25 +01:00
benoitc
9538358511
config file extension should be a python extension
...
This change make it clear what is configuration file for Gunicorn.
Using a filename with an extension different than a python extension
was never supported. Also it gives us some room for a proper config file.
2019-11-25 22:44:25 +01:00
benoitc
9419d66096
refactor module
...
use appropriate naming for function, make _getsockname more generic and
doc more useful
2019-11-25 17:45:35 +01:00
benoitc
d38f6e47ea
fix linting on python 3.8
2019-11-25 17:45:35 +01:00
benoitc
e69e802053
socketfromfd: fix cross platform usage
...
on osx and maybe some other systems, SO_PROTOCOL is not set, also
the socket family is not detected correctly.
This patch remove default values in socketfromfd and do the following:
* detect proper family using getsockname instead of getsocktopt
* if no type is given, default to SOCK_STREAM (we don't have any other type)
* if no protocol is given, default to 0 and let the system take care of it.
2019-11-25 17:45:35 +01:00
benoitc
404a712023
socketfromfd: remove python 2 compatibility
2019-11-25 17:45:35 +01:00
Randall Leeds
20774b8331
Remove support for bdist_rpm
2019-11-24 17:44:47 +01:00
benoitc
ceca7c849c
bump website version
2019-11-23 11:42:32 +01:00
benoitc
911f7057ef
bump to 20.0.2
...
fix changelog
2019-11-23 11:40:42 +01:00
benoitc
83bfe9e737
fix typo
2019-11-23 11:29:23 +01:00
benoitc
a4803a48a6
fix 19.10 version in doc
2019-11-23 11:25:44 +01:00
benoitc
333dc9bb4d
fix doc title
2019-11-23 11:18:09 +01:00
benoitc
e3659e8adc
document 20.0.1 change
2019-11-23 10:39:04 +01:00
benoitc
ef7d10853d
add 19.9.10 changelog
2019-11-23 10:16:51 +01:00
benoitc
455767b96a
remove useless import in app.base
2019-11-22 23:03:30 +01:00
benoitc
0752ccd5df
remove Python 3.4 testing in travis
2019-11-22 23:03:30 +01:00
benoitc
ad4ff8cb3c
modernize the way the config module is loaded
...
This change load the module as suggested in the Python docs : https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly which add the `__file__` attribute back and others possibly missing.
This change remove the support of python 3.4
2019-11-22 23:03:30 +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
ThePrez
4d3ec28046
fix IBM i 'missing libc' failure ( #2195 )
...
allow gunicorn on IBM i (and AIX) platform with Python 3.6 and earlier
2019-11-22 22:14:35 +01:00
Aaron Wilson
291483dd39
Add a __repr__ to config to include its value ( #2076 )
...
It's sometimes helpful to be able to trivially dump all the config values
for debugging purposes. This commit defines a repr for that.
2019-11-22 21:39:45 +01:00