Skip to content

Conversation

@dweindl
Copy link
Member

@dweindl dweindl commented Aug 20, 2025

Use myst-parser instead of m2r2.

Fixes the following warning when building docs:

lib/python3.13/site-packages/m2r2.py:20: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  from pkg_resources import get_distribution
  • We also need md->rst outside sphinx for the README which does not work with myst

Use `myst-parser` instead of `m2r2`.

Fixes the following warning when building docs:
```
lib/python3.13/site-packages/m2r2.py:20: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  from pkg_resources import get_distribution
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants