69 Commits

Author SHA256 Message Date
f84e9018d7 Accepting request 1218115 from devel:languages:python
- add handle-openssl3-error-in-ssl-tests.patch:
  support openssl 3.2+
- avoid deprecation warnings for 3.13

OBS-URL: https://build.opensuse.org/request/show/1218115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=28
2024-10-25 17:19:02 +00:00
f73b21ed07 - add handle-openssl3-error-in-ssl-tests.patch:
support openssl 3.2+
- avoid deprecation warnings for 3.13

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=65
2024-10-24 19:24:58 +00:00
4fc07f11ff Accepting request 1177150 from devel:languages:python
Forwarded request #1176149 from mcalabkova

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/1177150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=27
2024-05-29 17:35:12 +00:00
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
2fe9cf1a3c Accepting request 1137971 from devel:languages:python
- Disable failing tests with openssl 3.2

OBS-URL: https://build.opensuse.org/request/show/1137971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=26
2024-01-11 20:04:38 +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
f4c5a2c842 Accepting request 1136416 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1136416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=25
2024-01-05 21:59:30 +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
a27556eac0 Accepting request 1092264 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1092264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=24
2023-06-12 13:24:49 +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
6301da8bc7 Accepting request 1085973 from devel:languages:python
- remove obsolete requirement on setuptools_scm_git_archive

OBS-URL: https://build.opensuse.org/request/show/1085973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=23
2023-05-11 10:31:31 +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
3db72ae68b Accepting request 1073643 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1073643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=22
2023-03-24 14:16:13 +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
03440befd5 Accepting request 1046287 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1046287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=21
2023-01-03 14:04:16 +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
59243adae3 Accepting request 1036180 from devel:languages:python
- Remove python_module macro definition
- Disable broken tests https://github.com/cherrypy/cheroot/issues/511
- Add no-relative-imports.patch to work around seriously broken
  system of imports.

OBS-URL: https://build.opensuse.org/request/show/1036180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=20
2022-11-17 16:23:46 +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
6bf83f4810 Fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=47
2022-05-11 16:28:15 +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
18cbd325cd Accepting request 966733 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/966733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=19
2022-04-05 17:54:53 +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
60d29843d9 Accepting request 948167 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/948167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=18
2022-01-23 15:25:43 +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
38e236c11e - Add no-pypytools.patch removing the dependency on pypytools as
we don't have PyPy in openSUSE at all.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=41
2022-01-21 17:50:36 +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
b1ebcb21e1 Accepting request 941567 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/941567
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=17
2021-12-25 19:16:31 +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
3fd27337c7 Accepting request 923368 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/923368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=16
2021-10-25 13:16:50 +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
Richard Brown
789865b8c6 Accepting request 882365 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/882365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=15
2021-04-01 12:15:54 +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
c940449c7f Accepting request 808801 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/808801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=14
2020-06-05 17:58:51 +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
31475efe1f Accepting request 807188 from devel:languages:python
- Add patch to fix build with python 3.8.3:
  * python383.patch

OBS-URL: https://build.opensuse.org/request/show/807188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=13
2020-05-20 16:36:21 +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
49e27ebffc Accepting request 801107 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/801107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=12
2020-05-09 17:52:13 +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
07be9f59b8 Accepting request 785565 from devel:languages:python
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/785565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=11
2020-03-26 23:25:15 +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
73bbc61de2 Accepting request 782539 from devel:languages:python
- 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/request/show/782539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=10
2020-03-08 21:22:56 +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
2fde5cfebd Accepting request 742156 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/742156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cheroot?expand=0&rev=9
2019-11-04 16:08:30 +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