Skip to content

fix: sphinxcontrib-redoc still uses deprecated pkg_resources #960#968

Open
pcerqua-ipzs wants to merge 11 commits into
versione-correntefrom
960-sphinxcontrib-redoc-still-uses-deprecated-pkg_resources
Open

fix: sphinxcontrib-redoc still uses deprecated pkg_resources #960#968
pcerqua-ipzs wants to merge 11 commits into
versione-correntefrom
960-sphinxcontrib-redoc-still-uses-deprecated-pkg_resources

Conversation

@pcerqua-ipzs

@pcerqua-ipzs pcerqua-ipzs commented Jan 13, 2026

Copy link
Copy Markdown
Collaborator

fix: sphinxcontrib-redoc still uses deprecated pkg_resources

fixes #960

@pcerqua-ipzs pcerqua-ipzs linked an issue Jan 13, 2026 that may be closed by this pull request
@github-actions

Copy link
Copy Markdown
Contributor

✅ Preview for this PR has been manually generated and is available here:

github-actions Bot pushed a commit that referenced this pull request Jan 13, 2026
@pcerqua-ipzs pcerqua-ipzs changed the title fix: requirements-dev fix: sphinxcontrib-redoc still uses deprecated pkg_resources #960 Jan 13, 2026
@pcerqua-ipzs pcerqua-ipzs self-assigned this Jun 22, 2026
…nxcontrib-redoc-still-uses-deprecated-pkg_resources

# Conflicts:
#	requirements-dev.txt
…es-deprecated-pkg_resources' into 960-sphinxcontrib-redoc-still-uses-deprecated-pkg_resources
@pcerqua-ipzs pcerqua-ipzs added the bug Something isn't working label Jun 22, 2026
@pcerqua-ipzs pcerqua-ipzs added this to the 1.4.3 milestone Jun 22, 2026
@pcerqua-ipzs pcerqua-ipzs marked this pull request as ready for review June 22, 2026 19:59
@peppelinux

Copy link
Copy Markdown
Member

The documentation build depends on sphinxcontrib-redoc (v1.6.0), which still imports pkg_resources to read its own version. That API is deprecated and was removed in setuptools 82+.

  • With setuptools < 82: builds succeed but emit deprecation warnings.
  • With setuptools ≥ 82: the extension fails at import with ModuleNotFoundError: No module named 'pkg_resources'.

No fix has been released. PyPI latest remains 1.6.0 (April 2020). The upstream repository still uses pkg_resources; related issue #53 is open.

Keep the setuptools pin until upstream replaces pkg_resources (e.g. with importlib.metadata) or we migrate to an alternative OpenAPI/Sphinx renderer.

@pcerqua-ipzs may we evaluate alternatives to OpenAPI/Sphinx renderer?

@peppelinux peppelinux removed this from the 1.4.3 milestone Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sphinxcontrib-redoc still uses deprecated pkg_resources

3 participants