Commit Graph

3 Commits

Author SHA1 Message Date
Trevor Gamblin
e8247f6b28 python3-gunicorn: tweak run-ptest, add RDEPENDS
gunicorn relies on eventlet and gevent for its ptests, and it also
requires a non-empty /etc/resolv.conf for one of those tests. Add those
two modules to RDEPENDS for the recipe, and add an echo in run-ptest to
make sure that there is something basic in /etc/resolv.conf before the
test actually runs.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-08-26 09:57:25 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Leon Anavi
ea648569cc python3-gunicorn: Upgrade 20.0.4 -> 20.1.0
Upgrade to release 20.1.0:

- document WEB_CONCURRENCY is set by, at least, Heroku
- capture peername from accept: Avoid calls to getpeername by
  capturing the peer name returned by accept
- log a warning when a worker was terminated due to a signal
- fix tornado usage with latest versions of Django
- add support for python -m gunicorn
- fix systemd socket activation example
- allows to set wsgi application in configg file using wsgi_app
- document --timeout = 0
- always close a connection when the number of requests exceeds
  the max requests
- Disable keepalive during graceful shutdown
- kill tasks in the gthread workers during upgrade
- fix latency in gevent worker when accepting new requests
- fix file watcher: handle errors when new worker reboot and ensure
  the list of files is kept
- document the default name and path of the configuration file
- document how variable impact configuration
- document the $PORT environment variable
- added milliseconds option to request_time in access_log
- added PIP requirements to be used for example
- remove version from the Server header
- fix sendfile: use socket.sendfile instead of os.sendfile
- reloader: use absolute path to prevent empty to prevent0
  InotifyError when a file is added to the working directory
- Add --print-config option to print the resolved settings at
  startup.
- remove the --log-dict-config CLI flag because it never had a
  working format (the logconfig_dict setting in configuration
  files continues to work)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-03-30 09:04:35 -07:00