Skip to content

chore(deps): update dependency markdown to v3.8 #19

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 24, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
markdown (changelog) 3.3.6 -> 3.8 age adoption passing confidence

Release Notes

Python-Markdown/markdown (markdown)

v3.8

Compare Source

Changed
  • DRY fix in abbr extension by introducing method create_element (#​1483).
  • Clean up test directory by removing some redundant tests and port
    non-redundant cases to the newer test framework.
  • Improved performance of the raw HTML post-processor (#​1510).
Fixed
  • Backslash Unescape IDs set via attr_list on toc (#​1493).
  • Ensure md_in_html processes content inside "markdown" blocks as they are
    parsed outside of "markdown" blocks to keep things more consistent for
    third-party extensions (#​1503).
  • md_in_html handle tags within inline code blocks better (#​1075).
  • md_in_html fix handling of one-liner block HTML handling (#​1074).
  • Ensure <center> is treated like a block-level element (#​1481).
  • Ensure that abbr extension respects AtomicString and does not process
    perceived abbreviations in these strings (#​1512).
  • Ensure smarty extension correctly renders nested closing quotes (#​1514).

v3.7

Compare Source

Changed
Refactor abbr Extension

A new AbbrTreeprocessor has been introduced, which replaces the now deprecated
AbbrInlineProcessor. Abbreviation processing now happens after Attribute Lists,
avoiding a conflict between the two extensions (#​1460).

The AbbrPreprocessor class has been renamed to AbbrBlockprocessor, which
better reflects what it is. AbbrPreprocessor has been deprecated.

A call to Markdown.reset() now clears all previously defined abbreviations.

Abbreviations are now sorted by length before executing AbbrTreeprocessor
to ensure that multi-word abbreviations are implemented even if an abbreviation
exists for one of those component words. (#​1465)

Abbreviations without a definition are now ignored. This avoids applying
abbr tags to text without a title value.

Added an optional glossary configuration option to the abbreviations extension.
This provides a simple and efficient way to apply a dictionary of abbreviations
to every page.

Abbreviations can now be disabled by setting their definition to "" or ''.
This can be useful when using the glossary option.

Fixed
  • Fixed links to source code on GitHub from the documentation (#​1453).

v3.6

Compare Source

Changed
Refactor TOC Sanitation
  • All postprocessors are now run on heading content.
  • Footnote references are now stripped from heading content. Fixes #​660.
  • A more robust striptags is provided to convert headings to plain text.
    Unlike, the markupsafe implementation, HTML entities are not unescaped.
  • The plain text name, rich html, and unescaped raw data-toc-label are
    saved to toc_tokens, allowing users to access the full rich text content of
    the headings directly from toc_tokens.
  • The value of data-toc-label is sanitized separate from heading content
    before being written to name. This fixes a bug which allowed markup through
    in certain circumstances. To access the raw unsanitized data, retrieve the
    value from token['data-toc-label'] directly.
  • An html.unescape call is made just prior to calling slugify so that
    slugify only operates on Unicode characters. Note that html.unescape is
    not run on name, html, or data-toc-label.
  • The functions get_name and stashedHTML2text defined in the toc extension
    are both deprecated. Instead, third party extensions should use some
    combination of the new functions run_postprocessors, render_inner_html and
    striptags.
Fixed
  • Include scripts/*.py in the generated source tarballs (#​1430).
  • Ensure lines after heading in loose list are properly detabbed (#​1443).
  • Give smarty tree processor higher priority than toc (#​1440).
  • Permit carets (^) and square brackets (]) but explicitly exclude
    backslashes (\) from abbreviations (#​1444).
  • In attribute lists (attr_list, fenced_code), quoted attribute values are
    now allowed to contain curly braces (}) (#​1414).

v3.5.2

Compare Source

Fixed
  • Fix type annotations for convertFile - it accepts only bytes-based buffers.
    Also remove legacy checks from Python 2 (#​1400)
  • Remove legacy import needed only in Python 2 (#​1403)
  • Fix typo that left the attribute AdmonitionProcessor.content_indent unset
    (#​1404)
  • Fix edge-case crash in InlineProcessor with AtomicString (#​1406).
  • Fix edge-case crash in codehilite with an empty code tag (#​1405).
  • Improve and expand type annotations in the code base (#​1401).
  • Fix handling of bogus comments (#​1425).

v3.5.1

Compare Source

Fixed
  • Fix a performance problem with HTML extraction where large HTML input could
    trigger quadratic line counting behavior (#​1392).
  • Improve and expand type annotations in the code base (#​1394).

v3.5

Compare Source

v3.4.4

Compare Source

v3.4.3

Compare Source

v3.4.2

Compare Source

v3.4.1

Compare Source

v3.4

Compare Source

v3.3.7

Compare Source


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/markdown-3.x branch from e4f12a0 to e0c3044 Compare July 15, 2022 18:35
@renovate renovate bot changed the title chore(deps): update dependency markdown to v3.3.7 chore(deps): update dependency markdown to v3.4 Jul 15, 2022
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from e0c3044 to 456c97c Compare July 15, 2022 20:52
@renovate renovate bot changed the title chore(deps): update dependency markdown to v3.4 chore(deps): update dependency markdown to v3.4.1 Jul 15, 2022
@renovate renovate bot force-pushed the renovate/markdown-3.x branch 2 times, most recently from 1cac592 to 628818b Compare January 19, 2023 18:45
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 628818b to 0a8d3fb Compare March 15, 2023 18:16
@renovate renovate bot changed the title chore(deps): update dependency markdown to v3.4.1 chore(deps): update dependency markdown to v3.4.2 Mar 22, 2023
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 0a8d3fb to 7675daa Compare March 22, 2023 18:35
@renovate renovate bot changed the title chore(deps): update dependency markdown to v3.4.2 chore(deps): update dependency markdown to v3.4.3 Mar 23, 2023
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 7675daa to 2de5242 Compare March 23, 2023 13:27
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 2de5242 to a838744 Compare June 2, 2023 08:08
@renovate renovate bot force-pushed the renovate/markdown-3.x branch 2 times, most recently from 3ec175d to 4041fe1 Compare June 30, 2023 12:28
@renovate renovate bot changed the title chore(deps): update dependency markdown to v3.4.3 chore(deps): update dependency markdown to v3.4.4 Jul 26, 2023
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 4041fe1 to f503f67 Compare July 26, 2023 11:38
@renovate renovate bot changed the title chore(deps): update dependency markdown to v3.4.4 chore(deps): update dependency markdown to v3.5 Oct 7, 2023
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from f503f67 to be07def Compare October 7, 2023 09:00
@renovate renovate bot changed the title chore(deps): update dependency markdown to v3.5 chore(deps): update dependency markdown to v3.5.1 Nov 2, 2023
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from be07def to 5c9f2df Compare November 2, 2023 05:37
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 5c9f2df to 789a287 Compare January 12, 2024 08:46
@renovate renovate bot changed the title chore(deps): update dependency markdown to v3.5.1 chore(deps): update dependency markdown to v3.5.2 Jan 12, 2024
@renovate renovate bot changed the title chore(deps): update dependency markdown to v3.5.2 chore(deps): update dependency markdown to v3.6 Mar 15, 2024
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 789a287 to 0058340 Compare March 15, 2024 02:53
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 0058340 to 59f71c5 Compare August 17, 2024 11:34
@renovate renovate bot changed the title chore(deps): update dependency markdown to v3.6 chore(deps): update dependency markdown to v3.7 Aug 17, 2024
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 59f71c5 to 89c783f Compare April 12, 2025 12:06
@renovate renovate bot changed the title chore(deps): update dependency markdown to v3.7 chore(deps): update dependency markdown to v3.8 Apr 12, 2025
Copy link
Contributor Author

renovate bot commented Apr 12, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...

The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
Creating virtualenv todo-bot-p8ErBURW-py3.10 in /home/ubuntu/.cache/pypoetry/virtualenvs

The current project's supported Python range (>=3.8,<3.11) is not compatible with some of the required packages Python requirement:
  - markdown requires Python >=3.9, so it will not be installable for Python >=3.8,<3.9

Because todo-bot depends on markdown (3.8) which requires Python >=3.9, version solving failed.

  * Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties

    For markdown, a possible solution would be to set the `python` property to ">=3.9,<3.11"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants