Commit Graph

28 Commits

Author SHA256 Message Date
3ce04a9bcf Accepting request 904227 from home:alarrosa:branches:devel:languages:python
- Add a _multibuild file to separate the tests in another build
  in order to break a cycle between: python-Django, python-aiohttp,
  python-eventlet, python-geoip2, python-gunicorn, python-paramiko,
  python-pyzmq and python-semantic_version.

OBS-URL: https://build.opensuse.org/request/show/904227
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=50
2021-07-07 08:43:45 +00:00
d056c0c809 fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=49
2021-06-29 09:19:31 +00:00
d6f8ce83f4 - update to 20.1.0
- gevent and evenlet are BuildRequires for check
- add suggests
 * 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=48
2021-06-29 08:57:01 +00:00
a6797bcb84 Accepting request 853088 from home:bnavigator:branches:devel:languages:python
- Neither pytest-cov nor standalone mock are true BuildRequirements

OBS-URL: https://build.opensuse.org/request/show/853088
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=46
2020-12-04 12:35:24 +00:00
Tomáš Chvátal
82d873b325 Accepting request 792774 from home:mcalabkova:branches:devel:languages:python
- update to 20.0.4
  * Ensure WSGI header value is string before conducting regex search on it.
  * Use importlib instead of __import__ and eval
  * Use Python default SSL cipher list by default
  * Support str and bytes for UNIX socket addresses
  * fixed the way the config module is loaded. __file__ is now available
  * only support Python >= 3.5
  * load the WSGI application before the loader to pick up all files
- Dropped patch pytest5.patch

OBS-URL: https://build.opensuse.org/request/show/792774
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=44
2020-04-09 17:32:48 +00:00
dd78b62c54 - update to 19.10.0
- last with py2 support
 * unblock select loop during reload of a sync worker
 * security fix: http desync attack
 * handle `wsgi.input_terminated`
 * added support for str and bytes in unix  socket addresses
 * fixed `max_requests` setting
 * headers values are now encoded as LATN1, not ASCII
 * fixed `InotifyReloadeder`:  handle `module.__file__` is None
 * fixed compatibility with tornado 6
 * fixed root logging
 * Prevent removalof unix sockets from `reuse_port`
 * Clear tornado ioloop before os.fork
 * Miscellaneous fixes and improvement for linting using Pylints

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=42
2020-03-31 10:01:30 +00:00
Tomáš Chvátal
e299c3cf98 - Add patch to work well with pytest5:
* pytest5.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=40
2019-07-22 08:13:15 +00:00
Tomáš Chvátal
2c15141969 - Version update to 19.9.0:
* Support python 3.7
  * Tornado 5 support
  * Eventlet 0.21 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=38
2018-10-18 10:07:32 +00:00
Thomas Bechtold
b84db614a5 Accepting request 509309 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of description.

OBS-URL: https://build.opensuse.org/request/show/509309
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=36
2017-07-11 12:41:39 +00:00
Thomas Bechtold
06a976b7fe Accepting request 507399 from home:tbechtold:branches:devel:languages:python
- update to 19.7.1:
  - fix: continue if SO_REUSEPORT seems to be available but fails (:issue:`1480`)
  - fix: support non-decimal values for the umask command line option (:issue:`1325`)
  - The previously deprecated ``gunicorn_django`` command has been removed.
    Use the :ref:`gunicorn-cmd` command-line interface instead.
  - The previously deprecated ``django_settings`` setting has been removed.
    Use the :ref:`raw-env` setting instead.
  - The default value of :ref:`ssl-version` has been changed from
    ``ssl.PROTOCOL_TLSv1`` to ``ssl.PROTOCOL_SSLv23``.
  - fix: initialize the group access list when initgroups is set (:issue:`1297`)
  - add environment variables to gunicorn access log format (:issue:`1291`)
  - add --paste-global-conf option (:issue:`1304`)
  - fix: print access logs to STDOUT (:issue:`1184`)
  - remove upper limit on max header size config (:issue:`1313`)
  - fix: print original exception on AppImportError (:issue:`1334`)
  - use SO_REUSEPORT if available (:issue:`1344`)
  - `fix leak <https://github.com/benoitc/gunicorn/commit/\
    b4c41481e2d5ef127199a4601417a6819053c3fd>`_ of duplicate file descriptor
    for bound sockets.
  - add --reload-engine option, support inotify and other backends (:issue:`1368`, :issue:`1459`)
  - fix: reject request with invalid HTTP versions
  - add ``child_exit`` callback (:issue:`1394`)
  - add support for eventlets _AlreadyHandled object (:issue:`1406`)
  - format boot tracebacks properly with reloader (:issue:`1408`)
  - refactor socket activation and fd inheritance for better support of SystemD (:issue:`1310`)
  - fix: o fds are given by default in gunicorn (:issue:`1423`)
  - add ability to pass settings to GUNICORN_CMD_ARGS environnement variable which helps in container world (:issue:`1385`)
  - fix:  catch access denied to pid file (:issue:`1091`)
  -  many additions and improvements to the documentation
  - improvement of the binary upgrade behaviour using USR2: remove file locking (:issue:`1270`)

OBS-URL: https://build.opensuse.org/request/show/507399
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=35
2017-07-10 14:10:14 +00:00
Jan Matejek
e3ea6a9f52 Accepting request 305588 from home:benoit_monin:branches:devel:languages:python
- update to version 19.3.0
- remove python-nose from BuildRequires: unneeded
- add python-mock and python-pytest-cov as test dependencies
- add python-unittest2 as test dependencies for SLE11
- remove version pinning for test requirements with sed
- reenable the tests
- move documentation files under the main package docdir

OBS-URL: https://build.opensuse.org/request/show/305588
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=33
2015-05-07 11:57:54 +00:00
Denisart Benjamin
43195bb3a5 Accepting request 265144 from home:DocB:branches:devel:languages:python
added changes and link to documentation

OBS-URL: https://build.opensuse.org/request/show/265144
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=31
2014-12-14 13:15:55 +00:00
Denisart Benjamin
4e00c17188 Accepting request 210375 from home:posophe:branches:devel:languages:python
- Update to version 18.0
  + new: add -e/--env command line argument to pass an environment
    variables to gunicorn
  + new: add --chdir command line argument to specified directory
    before apps loading. - new: add wsgi.file_wrapper support in
    async workers
  + new: add --paste command line argument to set the paster config file
  + deprecated: the command gunicorn_django is now deprecated. You
    should now run your application with the WSGI interface installed 
    with your project 
    (see https://docs.djangoproject.com/en/1.4/howto/deployment/wsgi/gunicorn/)
    for more infos.
  + deprecated: the command gunicorn_paste is deprecated. You now should
    use the new --paste argument to set the configuration file of your
    paster application.
  + fix: Removes unmatched leading quote from the beginning of the
    default access log format string
  + fix: null timeout
  + fix: gevent worker
  + fix: don’t reload the paster app when using pserve
  + fix: after closing for error do not keep alive the connection
  + fix: responses 1xx, 204 and 304 should not force the connection
    to be closed
- Changes from 17.5
  + new: add signals documentation
  + new: add post_worker_init hook for workers
  + new: try to use gunicorn.conf.py in current folder as the default
    config file.
  + fix graceful timeout with the Eventlet worker
  + fix: don’t raise an error when closing the socket if already closed
  + fix: fix –settings parameter for django application and try to find
    the django settings when using the gunicorn command.
  + fix: give the initial global_conf to paster application
  + New versionning: With this release, the versionning of Gunicorn is
    changing. Gunicorn is stable since a long time and there is no point
    to release a “1.0” now. It should have been done since a long time.
    0.17 really meant it was the 17th stable version. From the beginning
    we have only 2 kind of releases:
    - major release: releases with major changes or huge features added
      services releases: fixes and minor features added So from now we
      will apply the following versionning <major>.<service>.
      For example 17.5 is a service release.
- Changes from 0.17.4
  + fix unix socket address parsing
- Changes from 0.17.3
  + add systemd sockets support
  + add python -m gunicorn.app.wsgiapp support
  + improve logger class inheritance
  + exit when the config file isn’t found
  + add the -R option to enable stdio inheritance in daemon mode
  + don’t close file descriptors > 3 in daemon mode
  + improve STDOUT/STDERR logging
  + fix pythonpath option
  + fix pidfile creation on Python 3
  + fix gevent worker exit
  + fix ipv6 detection when the platform isn’t supporting it

OBS-URL: https://build.opensuse.org/request/show/210375
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=29
2013-12-10 14:22:46 +00:00
Sascha Peilicke
b1bf2c575f - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=27
2013-10-24 11:06:27 +00:00
Sascha Peilicke
5fb5ed52da Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=25
2013-06-17 12:51:27 +00:00
Sascha Peilicke
11455bfcab Accepting request 148493 from home:posophe:branches:devel:languages:python
Update and python3 support

OBS-URL: https://build.opensuse.org/request/show/148493
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=23
2013-01-15 14:12:31 +00:00
Marcel Gmür
0d6840df50 rollback r21, accidentially committed to wrong branch...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=22
2012-08-26 13:16:58 +00:00
Marcel Gmür
fda87aaddc update to 0.14.6, but test fails...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=21
2012-08-26 13:09:01 +00:00
Marcel Gmür
08f5de988d - update to version 0.14.3
- improvement: performance of http.body.Body.readline()
  - improvement: log HTTP errors in access log like Apache
  - improvment: display traceback when the worker fails to boot
  - improvement: makes gunicorn work with gevent 1.0
  - examples: websocket example now supports hybi13
  - fix: reopen log files after initialization
  - fix: websockets support
  - fix: django1.4 support
  - fix: only load the paster application 1 time

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=19
2012-05-15 10:53:55 +00:00
Sascha Peilicke
53e525cdd9 Accepting request 110557 from home:openttdcoop
- Update to version 0.14.2
  - add validate_class validator: allows to use a class or a method 
    to initialize the app during in-code configuration
  - add support for max_requests in tornado worker
  - add support for disabling x_forwarded_for_header in tornado worker
  - gevent_wsgi is now an alias of gevent_pywsgi
  - Fix gevent_pywsgi worker

OBS-URL: https://build.opensuse.org/request/show/110557
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=17
2012-03-22 18:10:28 +00:00
Sascha Peilicke
3b654a8e0b - Fix doc package summary
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=15
2012-03-10 19:39:31 +00:00
Sascha Peilicke
2a99f2ec99 - Update to version 0.14.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=14
2012-03-10 16:09:05 +00:00
Sascha Peilicke
751adc33a9 - Update to version 0.13.4:
*
- Run testsuite
- BuildRequire python-distribute instead of python-setuptools
- Package examples, LICENSE, NOTICE, README.rst, THANKS

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=11
2011-09-23 13:00:33 +00:00
Marcel Gmür
6be69d2dd3 - upstream update 0.13.3
* fix util.closerange function used to prevent leaking fds on 
    python 2.5 (typo)
- update to 0.13.2
  * refactor gevent worker
  * prevent leaking fds on reexec
  * fix inverted request_time computation

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=8
2011-09-23 12:04:39 +00:00
Marcel Gmür
4ecc8816a4 - upstream update 0.13.1
* Fix unix socket. log argument was missing.
- update to 0.13.0
  * Improve logging: allows file-reopening and add access log file 
    compatible with the apache combined log format
  * Add the possibility to set custom SSL headers. 
    X-Forwarded-Protocol and X-Forwarded-SSL are still the default
  * New on_reload hook to customize how gunicorn spawn new workers on SIGHUP
  * Handle projects with relative path in django_gunicorn command
  * Preserve path parameters in PATH_INFO
  * post_request hook now accepts the environ as argument.
  * When stopping the arbiter, close the listener asap.
  * Fix Django command run_gunicorn in settings reloading
  * Fix Tornado worker exiting
  * Fix the use of sendfile in wsgi.file_wrapper

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=6
2011-08-25 15:16:59 +00:00
Marcel Gmür
c167b6117b spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=3
2011-07-09 14:12:53 +00:00
Marcel Gmür
b4532b35c0 Accepting request 75871 from home:openttdcoop:server
add improvements asked for
- spec header
- dropped _service
- support for SLE_11

OBS-URL: https://build.opensuse.org/request/show/75871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=2
2011-07-08 13:21:12 +00:00
Sascha Peilicke
19e0e615a5 Accepting request 75455 from home:openttdcoop:server
Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX.

OBS-URL: https://build.opensuse.org/request/show/75455
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=1
2011-07-06 10:36:04 +00:00