Skip to content

fix(docs): update sphinxemoji to fix Python 3.12+ compatibility#2111

Open
thanhlim wants to merge 27 commits intospec-first:mainfrom
ThriveMarket:fix/sphinxemoji-python312
Open

fix(docs): update sphinxemoji to fix Python 3.12+ compatibility#2111
thanhlim wants to merge 27 commits intospec-first:mainfrom
ThriveMarket:fix/sphinxemoji-python312

Conversation

@thanhlim
Copy link

@thanhlim thanhlim commented Mar 8, 2026

Relates to #2032

Summary

Updates sphinxemoji from 0.2.0 to 0.3.1 to fix Python 3.12+ compatibility.

sphinxemoji 0.2.0 uses deprecated pkg_resources which was removed in Python 3.12+, causing docs builds to fail with:

ModuleNotFoundError: No module named 'pkg_resources'

sphinxemoji 0.3.1 uses importlib.resources instead and supports Python >= 3.9, which aligns with connexion's supported Python versions (3.9-3.14).

Changes

feteu and others added 27 commits February 9, 2025 10:57
sphinxemoji 0.2.0 uses `pkg_resources` which is deprecated and not
available by default in Python 3.12+. This causes the docs build to
fail with:

    ModuleNotFoundError: No module named 'pkg_resources'

Update to sphinxemoji 0.3.1 which uses `importlib.resources` instead.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@chrisinmtown
Copy link
Contributor

I think it's great that you're fixing the documentation build. I have not seen any maintainer activity here for a very long time. I don't know if they would prefer a tiny pull request, just the update to the pyproject.TOML file, or if they'll be OK with this large change.

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.

3 participants