File old_importlib_metadata.patch of Package python3-Markdown.29613
---
markdown/util.py | 2 +-
setup.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/markdown/util.py
+++ b/markdown/util.py
@@ -85,7 +85,7 @@ Constants you probably do not need to ch
"""
# Only load extension entry_points once.
-INSTALLED_EXTENSIONS = metadata.entry_points(group='markdown.extensions')
+INSTALLED_EXTENSIONS = metadata.entry_points()['markdown.extensions']
RTL_BIDI_RANGES = (
('\u0590', '\u07FF'),
# Hebrew (0590-05FF), Arabic (0600-06FF),
--- a/setup.py
+++ b/setup.py
@@ -74,7 +74,7 @@ setup(
license='BSD License',
packages=['markdown', 'markdown.extensions'],
python_requires='>=3.6',
- install_requires=["importlib-metadata>=4.4;python_version<'3.10'"],
+ install_requires=["importlib-metadata"],
extras_require={
'testing': [
'coverage',