Skip to content

Markdown 3.4 causes TypeError due to breaking changes #36

@catch-21

Description

@catch-21

Markdown 3.4 has just been released and it brings breaking changes to v0.0.15

...lib/python3.7/site-packages/sphinx_markdown_tables/__init__.py", line 24, in process_tables
    table_processor = markdown.extensions.tables.TableProcessor(md.parser)
TypeError: __init__() missing 1 required positional argument: 'config'

See Python-Markdown 3.4 Release Notes

Fix required here: https://github.com/ryanfox/sphinx-markdown-tables/blob/master/sphinx_markdown_tables/__init__.py#L24

Activity

Dzordzu

Dzordzu commented on Jul 15, 2022

@Dzordzu
Contributor
Dzordzu

Dzordzu commented on Jul 15, 2022

@Dzordzu
Contributor

For now I suggest pip install git+https://github.com/Dzordzu/sphinx-markdown-tables.git@markdown-patch

frgfm

frgfm commented on Jul 16, 2022

@frgfm

I can confirm, I experienced the same problem today. Adding markdown<3.4.0 to the version specifiers for now!

tdene

tdene commented on Jul 16, 2022

@tdene

Also experiencing the same issue, as is elyra-ai/elyra#2837

17 remaining items

added a commit that references this issue on Jul 25, 2022
tsibley

tsibley commented on Jul 25, 2022

@tsibley

If you're now experiencing similar TypeErrors because you worked around this issue by pinning markdown<3.4 (or equivalent), see #38.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @tsibley@ryanfox@Dzordzu@frgfm@tdene

        Issue actions

          Markdown 3.4 causes TypeError due to breaking changes · Issue #36 · ryanfox/sphinx-markdown-tables