fix(docs): update sphinxemoji to fix Python 3.12+ compatibility#2111
Open
thanhlim wants to merge 27 commits intospec-first:mainfrom
Open
fix(docs): update sphinxemoji to fix Python 3.12+ compatibility#2111thanhlim wants to merge 27 commits intospec-first:mainfrom
thanhlim wants to merge 27 commits intospec-first:mainfrom
Conversation
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>
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_resourceswhich was removed in Python 3.12+, causing docs builds to fail with:sphinxemoji 0.3.1 uses
importlib.resourcesinstead and supports Python >= 3.9, which aligns with connexion's supported Python versions (3.9-3.14).Changes