Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency sphinx to v6 #8545

Merged
merged 1 commit into from Feb 3, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 29, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Sphinx (changelog) ==5.3.0 -> ==6.1.3 age adoption passing confidence

Release Notes

sphinx-doc/sphinx

v6.1.3

Compare Source

=====================================

Bugs fixed

  • #​11116: Reverted to previous Sphinx 5 node copying method
  • #​11117: Reverted changes to parallel image processing from Sphinx 6.1.0
  • #​11119: Supress ValueError in the linkcheck builder

v6.1.2

Compare Source

=====================================

Bugs fixed

v6.1.1

Compare Source

=====================================

Bugs fixed

  • #​11091: Fix util.nodes.apply_source_workaround for literal_block nodes
    with no source information in the node or the node's parents.

v6.1.0

Compare Source

=====================================

Dependencies

Incompatible changes

  • #​10979: gettext: Removed support for pluralisation in get_translation.
    This was unused and complicated other changes to sphinx.locale.

Deprecated

  • sphinx.util functions:

    • Renamed sphinx.util.typing.stringify()
      to sphinx.util.typing.stringify_annotation()
    • Moved sphinx.util.xmlname_checker()
      to sphinx.builders.epub3._XML_NAME_PATTERN

    Moved to sphinx.util.display:

    • sphinx.util.status_iterator
    • sphinx.util.display_chunk
    • sphinx.util.SkipProgressMessage
    • sphinx.util.progress_message

    Moved to sphinx.util.http_date:

    • sphinx.util.epoch_to_rfc1123
    • sphinx.util.rfc1123_to_epoch

    Moved to sphinx.util.exceptions:

    • sphinx.util.save_traceback
    • sphinx.util.format_exception_cut_frames

Features added

  • Cache doctrees in the build environment during the writing phase.
  • Make all writing phase tasks support parallel execution.
  • #​11072: Use PEP 604 (X | Y) display conventions for typing.Optional
    and typing.Optional types within the Python domain and autodoc.
  • #​10700: autodoc: Document typing.NewType() types as classes rather than
    'data'.
  • Cache doctrees between the reading and writing phases.

Bugs fixed

  • #​10962: HTML: Fix the multi-word key name lookup table.
  • Fixed support for Python 3.12 alpha 3 (changes in the enum module).
  • #​11069: HTML Theme: Removed outdated "shortcut" link relation keyword.
  • #​10952: Properly terminate parallel processes on programme interuption.
  • #​10988: Speed up TocTree.resolve() through more efficient copying.
  • #​6744: LaTeX: support for seealso directive should be via an environment
    to allow styling.
  • #​11074: LaTeX: Can't change sphinxnote to use sphinxheavybox starting with
    5.1.0

v6.0.1

Compare Source

=====================================

Dependencies

  • Require Pygments 2.13 or later.

Bugs fixed

  • #​10944: imgmath: Fix resolving image paths for files in nested folders.

v6.0.0

Compare Source

=====================================

Dependencies

  • #​10468: Drop Python 3.6 support
  • #​10470: Drop Python 3.7, Docutils 0.14, Docutils 0.15, Docutils 0.16, and
    Docutils 0.17 support. Patch by Adam Turner

Incompatible changes

  • #​7405: Removed the jQuery and underscore.js JavaScript frameworks.

    These frameworks are no longer be automatically injected into themes from
    Sphinx 6.0. If you develop a theme or extension that uses the
    jQuery, $, or $u global objects, you need to update your
    JavaScript to modern standards, or use the mitigation below.

    The first option is to use the sphinxcontrib.jquery_ extension, which has been
    developed by the Sphinx team and contributors. To use this, add
    sphinxcontrib.jquery to the extensions list in conf.py, or call
    app.setup_extension("sphinxcontrib.jquery") if you develop a Sphinx theme
    or extension.

    The second option is to manually ensure that the frameworks are present.
    To re-add jQuery and underscore.js, you will need to copy jquery.js and
    underscore.js from the Sphinx repository_ to your static directory,
    and add the following to your layout.html:

    .. code-block:: html+jinja

    {%- block scripts %} <script src="{{ pathto('_static/jquery.js', resource=True) }}"></script> <script src="{{ pathto('_static/underscore.js', resource=True) }}"></script>
    {{ super() }}
    {%- endblock %}

    .. _sphinxcontrib.jquery: https://github.com/sphinx-contrib/jquery/

    Patch by Adam Turner.

  • #​10471, #​10565: Removed deprecated APIs scheduled for removal in Sphinx 6.0. See
    :ref:dev-deprecated-apis for details. Patch by Adam Turner.

  • #​10901: C Domain: Remove support for parsing pre-v3 style type directives and
    roles. Also remove associated configuration variables c_allow_pre_v3 and
    c_warn_on_allowed_pre_v3. Patch by Adam Turner.

Features added

  • #​10924: LaTeX: adopt better looking defaults for tables and code-blocks.
    See :confval:latex_table_style and the pre_border-radius and
    pre_background-TeXcolor :ref:additionalcss for the former defaults
    and how to re-enact them if desired.

Bugs fixed

  • #​10984: LaTeX: Document :confval:latex_additional_files behavior for files
    with .tex extension.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Third-party library dependencies. label Dec 29, 2022
@renovate renovate bot enabled auto-merge (rebase) December 29, 2022 16:37
@codecov
Copy link

codecov bot commented Dec 29, 2022

Codecov Report

Merging #8545 (5a5aa8b) into main (041f49b) will increase coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8545      +/-   ##
==========================================
+ Coverage   90.88%   90.90%   +0.01%     
==========================================
  Files         703      703              
  Lines       52319    52319              
  Branches     7944     7944              
==========================================
+ Hits        47551    47558       +7     
+ Misses       3317     3313       -4     
+ Partials     1451     1448       -3     
Impacted Files Coverage Δ
weblate/metrics/models.py 95.23% <0.00%> (+2.85%) ⬆️
weblate/wladmin/tasks.py 89.28% <0.00%> (+3.57%) ⬆️

@renovate renovate bot force-pushed the renovate/sphinx-6.x branch 8 times, most recently from 39939ab to a5d92ce Compare January 4, 2023 11:23
@nijel
Copy link
Member

nijel commented Jan 4, 2023

Needs sphinx-rtd-theme update first.

@renovate renovate bot force-pushed the renovate/sphinx-6.x branch 18 times, most recently from eaaa0c9 to f562550 Compare January 8, 2023 11:08
@renovate renovate bot force-pushed the renovate/sphinx-6.x branch 5 times, most recently from c5b8c8e to b380a94 Compare January 10, 2023 12:00
@renovate renovate bot requested a review from orangesunny as a code owner January 10, 2023 12:00
@renovate renovate bot force-pushed the renovate/sphinx-6.x branch 2 times, most recently from dab221a to 2967344 Compare January 10, 2023 16:43
@nijel
Copy link
Member

nijel commented Feb 1, 2023

Should work once #8717 is merged.

@renovate renovate bot force-pushed the renovate/sphinx-6.x branch 7 times, most recently from 22b428e to 1267d21 Compare February 2, 2023 16:32
@renovate renovate bot merged commit bb1a323 into main Feb 3, 2023
@renovate renovate bot deleted the renovate/sphinx-6.x branch February 3, 2023 00:36
@nijel nijel added this to the 4.16 milestone Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Third-party library dependencies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant