15
0
Commit Graph

19 Commits

Author SHA256 Message Date
383448dc97 Accepting request 882032 from home:bnavigator:branches:devel:languages:python
- Update BuildRequirements for testing:
  * only remove coverage options from pytest.ini
  * don't skip tests which had failed 2 years ago
    (gh#cherrypy/cheroot#200) -- except for two subtests still
    failing on some platforms presumably because of OBS specific 
    network setups
  * skip the one test requiring python-jaraco.context in Factory
    staging so that we do not need that package in Ring1.

OBS-URL: https://build.opensuse.org/request/show/882032
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=33
2021-03-31 13:58:04 +00:00
caf21991cc - Update to 8.5.2:
* :issue:`358` via :pr:`359`: Fixed a regression from
    :pr:`199` that made the worker threads exit on invalid
    connection attempts and could make the whole server
    unresponsive once there was no workers left.
    *- by :user:`cameronbrunner`.
  * :cp-issue:`1873` via :pr:`340`: Resurrected an
    unintentionally removed feature of interrupting a server
    main thread by externally assigning an exception to the
    :py:meth:`HTTPServer.interrupt <cheroot.server.\
    HTTPServer.interrupt>` property *- by :user:`liamstask`.
  * :pr:`350`: Fixed the incarnation of an earlier regression
    of not resetting the serving state
    on :py:data:``SIGINT`` originally fixed by :pr:`322` and
    :pr:`331` but reintroduced by the changes in :pr:`311`
    *- by :user:`liamstask`.
  * :issue:`305` via :pr:`311`: In
    :py:class:`~cheroot.connections.ConnectionManager`,
    process connections as they become active rather than
    waiting for a ``tick`` event, addressing performance
    degradation introduced in v8.1.0 *- by :user:`liamstask`.
  * :issue:`341` via :pr:`342`: Suppress legitimate OS errors
    expected on shutdown *- by :user:`webknjaz`.
  * :issue:`317` via :pr:`337`: Fixed a regression in
    8.4.5 where the connections dictionary would change
    size during iteration, leading to a :py:exc:`RuntimeError`
    raised in the logs *- by :user:`liamstask`.
  * :issue:`328` via :pr:`322` and :pr:`331`: Fixed a
    regression introduced in the earlier refactoring in v8.4.4
    via :pr:`309` that caused the :py:meth:`~cheroot.server.\
    HTTPServer.serve` method to skip setting
    ``serving=False`` on :py:data:``SIGINT`` and
    :py:data:``SIGTERM`` *- by :user:`marc1n` and
    :user:`cristicbz`.
  * :issue:`312` via :pr:`313`: Fixed a regression introduced
    in the earlier refactoring in v8.4.4 via :pr:`309` that
    caused the connection manager to modify the selector map
    while looping over it *- by :user:`liamstask`.
  * :issue:`312` via :pr:`316`: Added a regression test for
    the error handling in :py:meth:`~cheroot.connections.\
    ConnectionManager.get_conn` to ensure more stability
    *- by :user:`cyraxjoe`.
  * :issue:`304` via :pr:`309`: Refactored :py:class:`~\
    cheroot.connections.ConnectionManager` to use :py:meth:`~\
    selectors.BaseSelector.get_map` and reorganized the
    readable connection tracking *- by :user:`liamstask`.
  * :issue:`304` via :pr:`309`: Fixed the server shutdown
    sequence to avoid race condition resulting in accepting
    new connections while it is being terminated
    *- by :user:`liamstask`.
  * :pr:`282`: Fixed a race condition happening when an HTTP
    client attempts to reuse a persistent HTTP connection after
    it's been discarded on the server in :py:class:`~cheroot.\
    server.HTTPRequest` but no TCP FIN packet has been received
    yet over the wire *- by :user:`meaksh`.
  * Fixed a significant performance regression introduced in
    v8.1.0 (:issue:`305` via :pr:`308`) * by :user:`mar10`.
  * Fixed TLS socket related unclosed resource warnings
    (:pr:`291` and :pr:`298`).
  * Made terminating keep-alive connections more graceful
    (:issue:`263` via :pr:`277`).
- Dropped patches 0001-Avoid-race-condition-on-persistent-HTTP-connections.patch
  and python383.patch, they are included upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=32
2021-03-19 05:51:10 +00:00
Tomáš Chvátal
007c0b2045 Accepting request 808746 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/808746
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=30
2020-05-25 13:36:23 +00:00
Tomáš Chvátal
162b320bbd - Add patch to fix build with python 3.8.3:
* python383.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=28
2020-05-19 10:35:54 +00:00
Tomáš Chvátal
9d44ebf08a Accepting request 801093 from home:PSuarezHernandez:branches:devel:languages:python
- Avoid possible race condition on persistent HTTP connections (bsc#1169604) 
- Added:
  * 0001-Avoid-race-condition-on-persistent-HTTP-connections.patch

OBS-URL: https://build.opensuse.org/request/show/801093
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=26
2020-05-07 10:24:50 +00:00
Tomáš Chvátal
d85aa3fe43 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=24
2020-03-16 10:23:26 +00:00
Tomáš Chvátal
b7693d4bad - Update to 8.3.0:
* cherrypy/cherrypy#910 via #243: Provide TLS-related
    details via WSGI environment interface.
  * #248: Fix parsing of the --bind CLI option
    for abstract UNIX sockets.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=22
2020-03-07 14:20:23 +00:00
Tomáš Chvátal
ea3ff973e6 Accepting request 742154 from home:mcalabkova:branches:devel:languages:python
- Update to 8.2.1
  * Deprecated use of negative timeouts as alias for infinite timeouts in ThreadPool.stop.
  * For OPTION requests, bypass URI as path if it does not appear absolute.
  * Workers are now request-based, addressing the long-standing issue with keep-alive connections
  * Remove custom setup.cfg parser handling, allowing the project (including sdist) 
    to build/run on setuptools 41.4. Now building cheroot requires setuptools 30.3 or later 
    (for declarative config support) and preferably 34.4 or later (as indicated in pyproject.toml).

OBS-URL: https://build.opensuse.org/request/show/742154
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=20
2019-10-23 13:49:35 +00:00
Tomáš Chvátal
2620961588 Accepting request 734975 from home:mcalabkova:branches:devel:languages:python
- update to 7.0.0
  * Refactored “open URL” behavior in webtest to rely on retry_call.
  * backports.functools_lru_cache is only required on Python 3.2 and earlier.
  * Fix race condition in threadpool shrink code.

OBS-URL: https://build.opensuse.org/request/show/734975
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=18
2019-10-04 11:43:04 +00:00
07f55c4c81 - update to 6.5.8:
- Fix socket.SO_PEERCRED constant fallback value under PowerPC.
  - Fix race condition when toggling stats counting in the middle
    of request processing.
  - Improve post Python 3.9 compatibility checks.
  - Fix support of abstract namespace sockets
  - Fix HTTP parser to return 400 on invalid major-only HTTP version
    in Request-Line.
- Drop cheroot_fix_so_peercred_ppc.patch . Applied upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=16
2019-09-13 04:55:05 +00:00
Tomáš Chvátal
d958627118 Accepting request 728456 from home:michel_mno:branches:devel:languages:python
- Add cheroot_fix_so_peercred_ppc.patch
  to solve python 2.7 tests failures for PowerPC, boo#1147151

OBS-URL: https://build.opensuse.org/request/show/728456
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=14
2019-09-06 06:25:46 +00:00
Tomáš Chvátal
74b2bea910 Accepting request 727845 from home:dancermak:branches:devel:languages:python
Drop dependency on backports.lru_cache for the python3 subpackage

OBS-URL: https://build.opensuse.org/request/show/727845
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=13
2019-09-03 05:35:01 +00:00
Tomáš Chvátal
672fe195e4 - Update to 6.5.5 bsc#1142582:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=11
2019-07-24 13:17:35 +00:00
Tomáš Chvátal
0c90d427de Accepting request 706958 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of description.

OBS-URL: https://build.opensuse.org/request/show/706958
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=9
2019-06-03 08:03:00 +00:00
7b8ed73858 Accepting request 702860 from home:mcepl:branches:devel:languages:python
- Update to 6.5.5:
  - Sockets now collect statistics (bytes read and written) on
    Python 3 same as Python 2.
  - Ignore OpenSSL's 1.1+ Error 0 under any Python while wrapping
    a socket.
- Switch off failing tests to avoid gh#cherrypy/cheroot#200

OBS-URL: https://build.opensuse.org/request/show/702860
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=7
2019-05-14 14:41:50 +00:00
Tomáš Chvátal
e19cdc62c9 - Update to 6.5.4:
* too many changes to enumerate see CHANGES.rst
- Make sure to execute testsuite

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=5
2019-03-05 12:51:32 +00:00
Todd R
62e6dfaeac OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=4 2018-09-20 19:37:51 +00:00
Todd R
679313dd8f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=3 2018-09-20 19:37:19 +00:00
Jan Matejek
0b89c9586e Accepting request 486192 from devel:languages:python:singlespec
initial, requirement for new CherryPy

OBS-URL: https://build.opensuse.org/request/show/486192
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=1
2017-04-06 15:51:09 +00:00