diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a8164c1..4894d35 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.11"] + python-version: ["3.9", "3.11"] os: [windows-latest, macos-latest, ubuntu-latest] steps: diff --git a/README.md b/README.md index 6af00b0..f6c5cd0 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Ultra Markdown -Ultra Markdown, an ultra fast (high performance) Markdown parser compliant with the markdown [spec](https://spec.commonmark.org/) written in pure C with bindings for Python 3.8+. Unlike others, **Ultra Markdown** is written using Python's C API and uses [CMark](https://github.com/commonmark/cmark), an ultra fast Markdown parser written in C. +Ultra Markdown, an ultra fast (high performance) Markdown parser compliant with the markdown [spec](https://spec.commonmark.org/) written in pure C with bindings for Python 3.9+. Unlike others, **Ultra Markdown** is written using Python's C API and uses [CMark](https://github.com/commonmark/cmark), an ultra fast Markdown parser written in C. --- diff --git a/docs/index.md b/docs/index.md index 4722838..2037e33 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,7 +2,7 @@ Ultra Markdown -

Ultra Markdown, an ultra fast (high performance) Markdown parser written in pure C with bindings for Python 3.8+.

+

Ultra Markdown, an ultra fast (high performance) Markdown parser written in pure C with bindings for Python 3.9+.

@@ -19,7 +19,7 @@ --- -_Ultra Markdown, an ultra fast (high performance) Markdown parser compliant with the markdown [spec](https://spec.commonmark.org/) written in pure C with bindings for Python 3.8+. Unlike others, **Ultra Markdown** is written using Python's C API and uses [CMark](https://github.com/commonmark/cmark), an ultra fast Markdown parser written in C._ +_Ultra Markdown, an ultra fast (high performance) Markdown parser compliant with the markdown [spec](https://spec.commonmark.org/) written in pure C with bindings for Python 3.9+. Unlike others, **Ultra Markdown** is written using Python's C API and uses [CMark](https://github.com/commonmark/cmark), an ultra fast Markdown parser written in C._ --- @@ -54,7 +54,7 @@ $ python -m pip install umarkdown[cli] > ### Prerequisites - Compiler: gcc or clang on Linux and MacOS, MSVC for Windows. -- Python: 3.8 or greater +- Python: 3.9 or greater > ### Installation Process diff --git a/mkdocs.yml b/mkdocs.yml index 11b723a..5b43074 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,5 +1,5 @@ site_name: Ultra Markdown -site_description: Ultra Markdown, ultra fast (high performance) Markdown parser compliant with the markdown written in pure C with bindings for Python 3.8+. +site_description: Ultra Markdown, ultra fast (high performance) Markdown parser compliant with the markdown written in pure C with bindings for Python 3.9+. site_url: https://umarkdown.netlify.app/ theme: name: material diff --git a/requirements.txt b/requirements.txt index bbde916..2268f64 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,48 +1,48 @@ -attrs==22.2.0 -certifi==2022.12.7 -cfgv==3.3.1 -charset-normalizer==2.1.1 -click==8.1.3 +attrs==23.2.0 +certifi==2024.2.2 +cfgv==3.4.0 +charset-normalizer==3.3.2 +click==8.1.7 colorama==0.4.6 -contourpy==1.0.6 -coverage==7.2.1 -cycler==0.11.0 -distlib==0.3.6 -filelock==3.12.2 -fonttools==4.39.4 +contourpy==1.2.1 +coverage==7.5.2 +cycler==0.12.1 +distlib==0.3.8 +filelock==3.14.0 +fonttools==4.52.1 ghp-import==2.1.0 -identify==2.5.10 -idna==3.4 +identify==2.5.36 +idna==3.7 iniconfig==2.0.0 -Jinja2==3.1.2 -kiwisolver==1.4.4 -Markdown==3.3.7 -markdown2==2.4.6 -MarkupSafe==2.1.1 -matplotlib==3.6.2 +Jinja2==3.1.4 +kiwisolver==1.4.5 +Markdown==3.6 +markdown2==2.4.13 +MarkupSafe==2.1.5 +matplotlib==3.9.0 mergedeep==1.3.4 -mkdocs==1.4.2 -mkdocs-material==8.5.11 -mkdocs-material-extensions==1.1.1 -nodeenv==1.7.0 -numpy==1.24.1 -packaging==22.0 -Pillow==9.4.0 +mkdocs==1.6.0 +mkdocs-material==9.5.25 +mkdocs-material-extensions==1.3.1 +nodeenv==1.8.0 +numpy==1.26.4 +packaging==24.0 +Pillow==10.3.0 pip-upgrade==0.0.6 -platformdirs==2.6.2 -pluggy==1.0.0 -pre-commit==2.20.0 -Pygments==2.15.1 -pymdown-extensions==9.9 -pyparsing==3.0.9 -pytest==7.3.1 -pytest-cov==4.1.0 -python-dateutil==2.8.2 -PyYAML==6.0 +platformdirs==4.2.2 +pluggy==1.5.0 +pre-commit==3.7.1 +Pygments==2.18.0 +pymdown-extensions==10.8.1 +pyparsing==3.1.2 +pytest==8.2.1 +pytest-cov==5.0.0 +python-dateutil==2.9.0.post0 +PyYAML==6.0.1 pyyaml_env_tag==0.1 -requests==2.31.0 +requests==2.32.2 six==1.16.0 toml==0.10.2 -urllib3==1.26.15 -virtualenv==20.17.1 -watchdog==2.2.0 +urllib3==2.2.1 +virtualenv==20.26.2 +watchdog==4.0.1 diff --git a/setup.cfg b/setup.cfg index 200e72f..3f2fa36 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,4 +12,4 @@ ignore = profile = black [mypy] ignore_missing_imports = True -python_version = 3.8 +python_version = 3.9 diff --git a/setup.py b/setup.py index 8be5796..15e24c9 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,6 @@ def run(self): "Programming Language :: C", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython", @@ -69,8 +68,8 @@ def run(self): "License :: OSI Approved :: BSD License", ], use_scm_version=True, - python_requires=">=3.8", + python_requires=">=3.9", extras_require={ - "cli": ["click==8.0.3"], + "cli": ["click==8.1.7"], }, ) diff --git a/umarkdown/__init__.py b/umarkdown/__init__.py index 6d62281..dfb2924 100644 --- a/umarkdown/__init__.py +++ b/umarkdown/__init__.py @@ -5,7 +5,7 @@ -------------- Ultra Markdown is an ultrafast Markdown parser written in -pure C with bindings for Python3.8+. It internally uses CMark, +pure C with bindings for Python3.9+. It internally uses CMark, an ultrafast C library for parsing Markdown to HTML. Unlike others, Ultra Markdown is written using Python's C API which makes it ultrafast for parsing Markdown. diff --git a/umarkdown/_internal.c b/umarkdown/_internal.c index 01fb97d..710fd23 100644 --- a/umarkdown/_internal.c +++ b/umarkdown/_internal.c @@ -12,7 +12,7 @@ PyDoc_STRVAR(_internal_markdown_doc, "Converts Markdown to HTML\n \ "); PyDoc_STRVAR(_internal_doc, "Ultra Markdown is an ultrafast Markdown parser written in\ -pure C with bindings for Python3.8+. It internally uses CMark,\ +pure C with bindings for Python3.9+. It internally uses CMark,\ an ultrafast C library for parsing Markdown to HTML.\ Unlike others, Ultra Markdown is written using Python's C API\ which makes it ultrafast for parsing Markdown."); diff --git a/umarkdown/cli.py b/umarkdown/cli.py index 6bcf175..a0f6868 100644 --- a/umarkdown/cli.py +++ b/umarkdown/cli.py @@ -86,7 +86,7 @@ def main( || Ultra Markdown Command Line Interface || =========================================== Ultra Markdown is an ultrafast Markdown parser written in - pure C with bindings for Python3.8+. It internally + pure C with bindings for Python3.9+. It internally uses CMark, an ultrafast C library for parsing Markdown to HTML. """