From dd8c991014c36831598b3f0b8bd9a4a57adfba43 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 12 Oct 2024 06:14:00 -0300 Subject: [PATCH] Bump the python-requirements group across 1 directory with 5 updates (#584) * Bump the python-requirements group across 1 directory with 5 updates Bumps the python-requirements group with 5 updates in the /requirements directory: | Package | From | To | | --- | --- | --- | | [sphinx](https://github.com/sphinx-doc/sphinx) | `8.0.2` | `8.1.0` | | [sphinx-tabs](https://github.com/executablebooks/sphinx-tabs) | `3.4.5` | `3.4.7` | | [cibuildwheel](https://github.com/pypa/cibuildwheel) | `2.21.2` | `2.21.3` | | [coverage](https://github.com/nedbat/coveragepy) | `7.6.1` | `7.6.2` | | [pyright](https://github.com/RobertCraigie/pyright-python) | `1.1.383` | `1.1.384` | Updates `sphinx` from 8.0.2 to 8.1.0 - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v8.0.2...v8.1.0) Updates `sphinx-tabs` from 3.4.5 to 3.4.7 - [Release notes](https://github.com/executablebooks/sphinx-tabs/releases) - [Changelog](https://github.com/executablebooks/sphinx-tabs/blob/master/CHANGELOG.md) - [Commits](https://github.com/executablebooks/sphinx-tabs/compare/v3.4.5...v3.4.7) Updates `cibuildwheel` from 2.21.2 to 2.21.3 - [Release notes](https://github.com/pypa/cibuildwheel/releases) - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md) - [Commits](https://github.com/pypa/cibuildwheel/compare/v2.21.2...v2.21.3) Updates `coverage` from 7.6.1 to 7.6.2 - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.1...7.6.2) Updates `pyright` from 1.1.383 to 1.1.384 - [Release notes](https://github.com/RobertCraigie/pyright-python/releases) - [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.383...v1.1.384) --- updated-dependencies: - dependency-name: sphinx dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-requirements - dependency-name: sphinx-tabs dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-requirements - dependency-name: cibuildwheel dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-requirements - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-requirements - dependency-name: pyright dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-requirements ... Signed-off-by: dependabot[bot] * Add coverage version exception for Python 3.8 * Fix docs --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nycholas de Oliveira e Oliveira --- docs/conf.py | 43 ++++++++++++++++++++++++++++++++++++++--- requirements/cbuild.txt | 2 +- requirements/docs.txt | 4 ++-- requirements/tests.txt | 6 ++++-- requirements/typing.txt | 2 +- 5 files changed, 48 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index af0d3a74..674cbf2f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,23 +1,60 @@ +# Copyright (c) 2012-2024, Cenobit Technologies, Inc. http://cenobit.es/ +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# * Neither the name of the Cenobit Technologies nor the names of +# its contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. from pallets_sphinx_themes import ProjectLink, get_version project = 'Flask-JSONRPC' -copyright = '2021, Nycholas de Oliveira e Oliveira' # pylint: disable=W0622 +copyright = '2021-2024, Nycholas de Oliveira e Oliveira' author = 'Nycholas de Oliveira e Oliveira' release, version = get_version('Flask-JSONRPC') master_doc = 'index' +default_role = 'code' extensions = [ 'sphinx.ext.autodoc', + 'sphinx.ext.extlinks', 'sphinx.ext.intersphinx', 'sphinxcontrib.log_cabinet', - 'pallets_sphinx_themes', - 'sphinx_issues', 'sphinx_tabs.tabs', + 'pallets_sphinx_themes', ] +autodoc_member_order = 'bysource' autodoc_typehints = 'description' +autodoc_preserve_defaults = True templates_path = ['_templates'] exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] issues_github_path = 'cenobites/flask-jsonrpc' +extlinks = { + 'issue': ('https://github.com/cenobites/flask-jsonrpc/issues/%s', '#%s'), + 'pr': ('https://github.com/cenobites/flask-jsonrpc/pull/%s', '#%s'), +} +intersphinx_mapping = { + 'python': ('https://docs.python.org/3/', None), + 'flask': ('https://flask.palletsprojects.com/', None), +} html_theme = 'flask' html_theme_options = {'index_sidebar_logo': False} diff --git a/requirements/cbuild.txt b/requirements/cbuild.txt index caad6e8d..dffe7882 100644 --- a/requirements/cbuild.txt +++ b/requirements/cbuild.txt @@ -2,7 +2,7 @@ # Tools # ------------------------------------------------------------------------------ -cibuildwheel==2.21.2 # https://github.com/pypa/cibuildwheel +cibuildwheel==2.21.3 # https://github.com/pypa/cibuildwheel setuptools==75.1.0 # https://github.com/pypa/setuptools # Mypyc diff --git a/requirements/docs.txt b/requirements/docs.txt index 5767bb53..e4b57b35 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,7 +1,7 @@ # Documentation # ------------------------------------------------------------------------------ -Sphinx==8.0.2 # https://github.com/sphinx-doc/sphinx -sphinx-tabs==3.4.5 # https://github.com/executablebooks/sphinx-tabs +Sphinx==8.1.0 # https://github.com/sphinx-doc/sphinx +sphinx-tabs==3.4.7 # https://github.com/executablebooks/sphinx-tabs sphinx-issues==4.1.0 # https://github.com/sloria/sphinx-issues sphinxcontrib-log-cabinet==1.0.1 # https://github.com/davidism/sphinxcontrib-log-cabinet diff --git a/requirements/tests.txt b/requirements/tests.txt index c7f5a1ca..656fcf1d 100644 --- a/requirements/tests.txt +++ b/requirements/tests.txt @@ -13,8 +13,10 @@ typeguard==4.3.0 # https://github.com/agronholm/typeguard # Code quality # ------------------------------------------------------------------------------ -coverage==7.6.1 # https://github.com/nedbat/coveragepy +coverage==7.6.2;python_version>"3.8" # https://github.com/nedbat/coveragepy +coverage==7.6.1;python_version=="3.8" + # Tools # ------------------------------------------------------------------------------ -requests==2.32.3 # https://github.com/psf/requests +requests==2.32.3 # https://github.com/psf/requests; diff --git a/requirements/typing.txt b/requirements/typing.txt index 63b3b7ea..274510c3 100644 --- a/requirements/typing.txt +++ b/requirements/typing.txt @@ -4,4 +4,4 @@ mypy==1.11.2;python_version>="3.11" # https://github.com/python/mypy pytype==2024.1.5;python_version>="3.11" and python_version<"3.12" # https://github.com/google/pytype types_setuptools==75.1.0.20240917 # https://github.com/python/typeshed typeguard==4.3.0 # https://github.com/agronholm/typeguard -pyright==1.1.383;python_version>="3.11" # https://github.com/microsoft/pyright +pyright==1.1.384;python_version>="3.11" # https://github.com/microsoft/pyright