mirror of
https://github.com/Hopiu/python-markdown-oembed.git
synced 2026-03-16 22:10:24 +00:00
Bump version to 0.4.0 and update changelog; clean up tests
This commit is contained in:
parent
dd567e7013
commit
7e41514005
4 changed files with 4 additions and 5 deletions
|
|
@ -71,7 +71,7 @@ A Public Domain work. Do as you wish.
|
|||
|
||||
## Changelog
|
||||
|
||||
### 0.3.0
|
||||
### 0.4.0
|
||||
|
||||
- **Breaking:** requires Python >= 3.9 and Markdown >= 3.2
|
||||
- Migrated from deprecated `Pattern` to `InlineProcessor` (Markdown 3.2+ compatible)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
__version__ = "0.3.0"
|
||||
__version__ = "0.4.0"
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
[project]
|
||||
name = "python-markdown-oembed"
|
||||
version = "0.3.0"
|
||||
version = "0.4.0"
|
||||
description = "Markdown extension to allow media embedding using the oEmbed standard."
|
||||
readme = {file = "README.md", content-type = "text/markdown"}
|
||||
license = "Unlicense"
|
||||
requires-python = ">=3.9"
|
||||
authors = [
|
||||
{ name = "Tanner Netterville", email = "tannern@gmail.com" },
|
||||
{ name = "Benedikt Willi", email = "ben.willi@gmail.com" },
|
||||
]
|
||||
keywords = ["markdown", "oembed"]
|
||||
classifiers = [
|
||||
|
|
|
|||
2
tests.py
2
tests.py
|
|
@ -3,11 +3,9 @@ import unittest
|
|||
from unittest.mock import MagicMock, patch
|
||||
|
||||
import markdown
|
||||
|
||||
from mdx_oembed import endpoints
|
||||
from mdx_oembed.inlinepatterns import OEMBED_LINK_RE, _is_image_url, _sanitize_html
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Regex tests
|
||||
# ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue