Bump version to 0.4.0 and update changelog; clean up tests

This commit is contained in:
Benedikt Willi 2026-03-02 17:44:08 +01:00
parent dd567e7013
commit 7e41514005
4 changed files with 4 additions and 5 deletions

View file

@ -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)

View file

@ -1 +1 @@
__version__ = "0.3.0"
__version__ = "0.4.0"

View file

@ -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 = [

View file

@ -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
# ---------------------------------------------------------------------------