summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Require setuptools, docs/conf.py, cherrypy/test/helper.py import pkg_resourcesTomáš Hrnčiar2021-05-031-0/+2
|/
* Autogenerate module docs with sphinxcontrib-apidocmasterSviatoslav Sydorenko2021-01-1811-723/+27
|
* Merge remote-tracking branch 'a16bitsysop/pytest6'Sviatoslav Sydorenko2021-01-172-2/+7
|\ | | | | | | | | | | | | | | | | | | | | This change: * closes a hanging file descriptor in cherrypy/test/test_config.py::ConfigTests:: testHandlerToolConfigOverride; * makes sure that the streamed file object gets closed on destruction of the `cherrypy.lib.file_generator` instance.
| * Close hanging fd in testHandlerToolConfigOverrideDuncan Bellamy2021-01-171-2/+2
| |
| * Close streamed file in file_generator on destructDuncan Bellamy2021-01-171-0/+5
|/
* Ignore pytest 6.2.0 resource warnings under py 3.8Sviatoslav Sydorenko2021-01-171-0/+7
| | | | | | | Refs: * #1897 * https://docs.pytest.org/en/stable/usage.html#unraisable * https://github.com/pytest-dev/pytest/issues/5299
* Turn on ServerStateTests::test_2_KeyboardInterruptSviatoslav Sydorenko2020-12-111-4/+0
| | | | Resolves #1873
* Merge commit PR #1893Sviatoslav Sydorenko2020-11-291-7/+7
|\ | | | | | | | | This change bumps the mainline Python setting from 3.7 to 3.9 in Travis CI.
| * Update .travis.ymlChristian Clauss2020-11-291-1/+1
| |
| * Travis tests on Python 3.9.0Christian Clauss2020-11-291-4/+4
| |
| * Travis CI: Upgrade mainstream_python from 3.7 to 3.8Christian Clauss2020-11-291-8/+8
| |
* | Merge PR #1892Sviatoslav Sydorenko2020-11-291-4/+14
|\ \ | |/ |/| | | | | This change fixes `test_bus::test_block` expectations regarding the optional log line mentioning the thread name.
| * <= 1Christian Clauss2020-11-291-1/+1
| |
| * Update test_bus.pyChristian Clauss2020-11-291-1/+1
| |
| * Update test_bus.pyChristian Clauss2020-11-291-1/+5
| |
| * White quotesChristian Clauss2020-11-291-5/+5
| |
| * Fix text_block() to ignore the final messageChristian Clauss2020-11-291-4/+9
|/
* Merge PR #1891Sviatoslav Sydorenko2020-11-281-1/+1
|\ | | | | | | This fixes a typo on the basics page in docs
| * fix typoJürgen Gmach2020-11-241-1/+1
| |
| |
| \
*-. \ Merge PR #1888, PR #1889Sviatoslav Sydorenko2020-11-283-3/+5
|\ \ \ | |_|/ |/| | | | | | | | These changes tweak test_wait_publishes_periodically to xfail under macOS.
| | * Travis CI: deprecated key sudo (The key `sudo` has no effect anymore.)Christian Clauss2020-11-181-2/+0
| |/ |/|
| * Use white quotesChristian Clauss2020-11-191-2/+2
| |
| * Rerun the testChristian Clauss2020-11-181-1/+1
| |
| * pypy3 needs workChristian Clauss2020-11-181-1/+1
| |
| * xfail test_wait_publishes_periodically() on macOSChristian Clauss2020-11-181-0/+4
|/ | | A targeted subset of #1877 which [happens on both CircleCI and Travis CI](https://github.com/cherrypy/cherrypy/pull/1877/files#r524250775).
* Skip running test_2_KeyboardInterrupt with xfailSviatoslav Sydorenko2020-11-171-7/+4
| | | | | | | This change completely skipps the test because neither using pytest-forked, nor using just `xfail` with `raises` seems to be able to isolate the failure without affecting the whole test suite run.
* Make test_2_KeyboardInterrupt run in fork @ POSIXSviatoslav Sydorenko2020-11-171-1/+8
|
* Mark test_2_KeyboardInterrupt as xfailingChristian Clauss2020-11-171-0/+1
|
* Add pytest-forked to the test depsChristian Clauss2020-11-171-0/+1
|
*---. Merge PR #1882, PR #1883 and PR #1884Sviatoslav Sydorenko2020-11-164-9/+6
|\ \ \ | | | | | | | | | | | | | | | | This change upgrades the macOS env in Circle CI, bumps Travis CI env to Ubuntu Focal and drops xfail from test_queue_full.
| | | * Remove pytest.mark.xfail on test_queue_fullChristian Clauss2020-11-161-2/+0
| | | |
| | | * Remove pytest.mark.xfail on test_queue_fullChristian Clauss2020-11-161-1/+0
| |_|/ |/| | | | | | | | | | | Closes #1535 This test passes consistently on Travis CI so perhaps [resolving #1839 fixed #1535](https://github.com/cherrypy/cherrypy/issues/1535#issuecomment-581424282).
| | * def example(): # noqa: F811Christian Clauss2020-11-161-1/+1
| | |
| | * Set lint_python_base to Python 3.9Christian Clauss2020-11-161-1/+1
| | |
| | * Travis CI: Ubuntu has reached end of standard supportChristian Clauss2020-11-161-2/+1
| |/ |/| | | https://wiki.ubuntu.com/Releases
| * python3 -m pip install tox tox-pyenvChristian Clauss2020-11-161-1/+2
| |
| * CircleCI: Reenable macOS testingChristian Clauss2020-11-161-1/+1
|/ | | A minimal subset of #1877
* Revert "Temporary limit pytest<5.4"Sviatoslav Sydorenko2020-11-161-5/+1
| | | | This reverts commit 126eda509ecdcde87aa5c50b092a3638fa15b17a.
* Merge PR #1881Sviatoslav Sydorenko2020-11-161-1/+0
|\ | | | | | | | | This change drops `backports.unittest_mock` from the testing dependencies.
| * setup..py: Remove backports.unittest_mockChristian Clauss2020-11-151-1/+0
| | | | | | Line 112, `python_requires='>=3.5',` means that this backport is no longer required.
* | Drop the deprecated mention bot configSviatoslav Sydorenko2020-11-161-17/+0
|/ | | | This used to be an Fb's integration that's been sunset years ago.
* Only depend on pywin32 under CPythonSviatoslav Sydorenko2020-11-152-1/+7
| | | | Fixes #1874
* Use the new :user: role in changelogSviatoslav Sydorenko2020-11-151-1/+1
|
* Add a :user: role to sphinxSviatoslav Sydorenko2020-11-151-0/+2
|
* Merge branch 'bugfixes/1849-gzip-compression-header-cpython-bug39389'Sviatoslav Sydorenko2020-11-153-2/+46
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | This change implements a fix to compression in gzip tool that CPython applied per https://bugs.python.org/issue39389. It uses proper XFL value in gzip header per https://tools.ietf.org/html/rfc1952, section 2.3.1. Refs: * https://github.com/python/cpython/pull/18077 (CPython 3.9.0+) * https://github.com/python/cpython/pull/18100 (CPython 3.8.2+) * https://github.com/python/cpython/pull/18101 (CPython 3.7.7+) Fixes #1849
| * Fix compression level in meta header in gzip toolbugfixes/1849-gzip-compression-header-cpython-bug39389Sviatoslav Sydorenko2020-11-152-2/+39
|/ | | | | | | | | | * https://bugs.python.org/issue39389 * https://github.com/python/cpython/pull/18077 * https://github.com/python/cpython/pull/18100 * https://github.com/python/cpython/pull/18101 Fixes #1849
* Merge pull request #1864 from ↵Sviatoslav Sydorenko2020-07-291-1/+1
|\ | | | | | | | | cherrypy/dependabot/pip/pytest-gte-5.3.5-and-lt-6.1.0 Update pytest requirement from <5.4.0,>=5.3.5 to >=5.3.5,<6.1.0
| * Update pytest requirement from <5.4.0,>=5.3.5 to >=5.3.5,<6.1.0dependabot-preview[bot]2020-07-291-1/+1
|/ | | | | | | | Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/5.3.5...6.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Set the default role in Sphinx to "any"Sviatoslav Sydorenko2020-06-181-0/+5
|
* Adjust docs banner to indicate that Py 2 is EOLSviatoslav Sydorenko2020-04-291-1/+1
|