1
0

35 Commits

Author SHA256 Message Date
cb9b5d70b4 Accepting request 1176149 from home:mcalabkova:branches:devel:languages:python
It was a bug in requests-unixsocket

- Update to 10.0.1
  * Fixed a flaw where internally unhandled exceptions could crash the
    worker threads and eventually starve the server of its processing
    resources.
  * Fixed compatibility with Python 3.8 in the built-in TLS adapter that
    relies on :pypython:ssl.

OBS-URL: https://build.opensuse.org/request/show/1176149
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=63
2024-05-27 14:13:00 +00:00
aeb15bd9c9 - Disable failing tests with openssl 3.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=61
2024-01-10 17:40:33 +00:00
01ae44af56 Accepting request 1136399 from home:alarrosa:branches:devel:languages:python
- Add patch to increase tests timeouts in s390x where tests take
  a bit longer to run:
  * increase-tests-timeouts.patch

OBS-URL: https://build.opensuse.org/request/show/1136399
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=59
2024-01-03 09:03:23 +00:00
3e070229ef - update to 10.0.0:
* Cheroot now accepts a ``reuse_port`` parameter on the
    ``HTTPServer`` object.
  * Subclasses overriding ``prepare_socket`` will no longer
    work and will need to adapt to the new interface.
- drop python-cheroot-no-six.patch (upstream)
    failing on some platforms presumably because of OBS specific
- Avoid possible race condition on persistent HTTP connections (bsc#1169604)
  * 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=58
2023-12-29 18:08:56 +00:00
0606f1d5a2 Accepting request 1092087 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092087
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=56
2023-06-11 11:46:23 +00:00
04e7f69b00 - remove obsolete requirement on setuptools_scm_git_archive
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=54
2023-05-10 06:32:50 +00:00
12affebae8 Accepting request 1073518 from home:pgajdos:python
- do not require python-six
- added patches
  fix f3170d40a6
  + python-cheroot-no-six.patch

OBS-URL: https://build.opensuse.org/request/show/1073518
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=52
2023-03-21 20:43:52 +00:00
28648c6072 Accepting request 1046271 from home:bnavigator:branches:devel:languages:python
- Update to 9.0.0
  * #252 via #339 and #510: Cheroot now requires Python 3.6 or
    later. Python 3.5 and Python 2.7 are still supported by the
    maint/8.x branch and stabilizing bugfixes will be accepted to
    that branch -- by @jaraco
  * Set worker thread names as str by @jarus in #503
  * Added types for _compat.py by @kasium in #491
  * Configured stubtest hook for stub testing by @kasium in #415
  * Started running Python commands in tox in isolated and strict
    mode by @webknjaz in #562

OBS-URL: https://build.opensuse.org/request/show/1046271
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=50
2023-01-02 19:25:56 +00:00
47a423c703 - Remove python_module macro definition
- Disable broken tests https://github.com/cherrypy/cheroot/issues/511

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=48
2022-11-16 09:02:01 +00:00
f418a91c50 Fix SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=46
2022-05-11 16:26:07 +00:00
93dd269c9c Accepting request 966531 from home:bnavigator:branches:devel:languages:python
- Skip a test causing errors in pytest 7 -- gh#cherrypy/cheroot#502

OBS-URL: https://build.opensuse.org/request/show/966531
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=44
2022-04-04 06:01:52 +00:00
900136ce3b Accepting request 948135 from home:bnavigator:branches:devel:languages:python
- The work around needs to ignore the testfile from the sitelib

Sorry, the staging project was not testable during time of the previous
submission. Forgot about the ringdisabled.

OBS-URL: https://build.opensuse.org/request/show/948135
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=43
2022-01-23 00:54:39 +00:00
d9f29aec53 Accepting request 948103 from home:bnavigator:branches:devel:languages:python
- Work around xdist related conftest import error

OBS-URL: https://build.opensuse.org/request/show/948103
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=42
2022-01-22 14:50:56 +00:00
9f895f0a8f - Update to 8.6.0:
-  #384 via PR #385, PR #406: Exposed type stubs with
    annotations for public API
  - PR #401 (related to the PR #352 effort): Started reusing the
    the expriration_interval setting in the low-level
        select.select() invocation,
    effectively reducing the system load under the Windows OS
    when idle, that is noticeable on low-end hardware systems
- Removed upstreamed patches
  - cheroot-pr370-py310-threaddeprecations.patch
  - cheroot-pr371-py310-threaddeprecations.patch
  - cheroot-c0b1b167-py310-threaddeprecations.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=40
2022-01-21 17:49:34 +00:00
d437f65ef7 Accepting request 941543 from home:bnavigator:python-rpm-macros
- Add patches fixing test suite failures due to Python 3.10
  deprecations:
  * cheroot-pr370-py310-threaddeprecations.patch
  * cheroot-pr371-py310-threaddeprecations.patch
  * cheroot-c0b1b167-py310-threaddeprecations.patch
- Skip threadexceptions plugin for Pytest 6.2

OBS-URL: https://build.opensuse.org/request/show/941543
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=39
2021-12-20 03:11:49 +00:00
6aac473818 Accepting request 923251 from home:schubi2
- Added BuildRequires:  alts

OBS-URL: https://build.opensuse.org/request/show/923251
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=38
2021-10-06 00:23:28 +00:00
3a9d584d36 Accepting request 922599 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/922599
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=37
2021-10-03 20:09:17 +00:00
7dd2effa97 Accepting request 920173 from devel:languages:python
revert

OBS-URL: https://build.opensuse.org/request/show/920173
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=36
2021-09-19 17:33:53 +00:00
1cb2c60c34 Accepting request 919787 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/919787
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=35
2021-09-17 21:26:38 +00:00
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
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
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