Skip to content

Bump sphinxcontrib-googleanalytics to 0.6 to fix docs build - #3117

Merged
antonwolfy merged 2 commits into
masterfrom
bump-sphinxcontrib-googleanalytics
Oct 23, 2026
Merged

antonwolfy merged 2 commits into
masterfrom
bump-sphinxcontrib-googleanalytics

Conversation

@antonwolfy

Copy link
Copy Markdown
Contributor

The PR bumps sphinxcontrib-googleanalytics from 0.5 to 0.6 to fix the docs build job, which has been failing on master and all PRs since 2026-10-22 with:

Could not import extension sphinxcontrib.applehelp (exception: No module named 'pkg_resources')

sphinxcontrib-googleanalytics==0.5 ships an old-style sphinxcontrib/__init__.py which calls pkg_resources.declare_namespace(), but pkg_resources is no longer available in setuptools from the docs environment. The issue was hidden by sphinxcontrib-jsmath==1.0.1, whose -nspkg.pth file pre-registered the sphinxcontrib namespace at interpreter startup, so that __init__.py was never executed. sphinxcontrib-jsmath==2.0.0 (pulled in together with Sphinx 9.2.0) dropped the .pth file, which exposed the problem.

sphinxcontrib-googleanalytics==0.6 no longer ships sphinxcontrib/__init__.py, so the namespace package resolves properly.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

@antonwolfy antonwolfy self-assigned this Oct 23, 2026
@antonwolfy antonwolfy added this to the 0.21.0 release milestone Oct 23, 2026
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.21.0dev15=np2py314h8d9cdd5_17 ran successfully.
Passed: 1376
Failed: 0
Skipped: 6

@vlad-perevezentsev vlad-perevezentsev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thank you @antonwolfy

@coveralls

coveralls commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 82.62%. remained the same — bump-sphinxcontrib-googleanalytics into master

@antonwolfy
antonwolfy merged commit 92148c1 into master Oct 23, 2026
124 of 130 checks passed
@antonwolfy
antonwolfy deleted the bump-sphinxcontrib-googleanalytics branch October 23, 2026 14:41
github-actions Bot added a commit that referenced this pull request Oct 23, 2026
The PR bumps `sphinxcontrib-googleanalytics` from `0.5` to `0.6` to fix
the docs build job, which has been failing on master and all PRs since
2026-10-22 with:
```
Could not import extension sphinxcontrib.applehelp (exception: No module named 'pkg_resources')
```

`sphinxcontrib-googleanalytics==0.5` ships an old-style
`sphinxcontrib/__init__.py` which calls
`pkg_resources.declare_namespace()`, but `pkg_resources` is no longer
available in setuptools from the docs environment. The issue was hidden
by `sphinxcontrib-jsmath==1.0.1`, whose `-nspkg.pth` file pre-registered
the `sphinxcontrib` namespace at interpreter startup, so that
`__init__.py` was never executed. `sphinxcontrib-jsmath==2.0.0` (pulled
in together with Sphinx 9.2.0) dropped the `.pth` file, which exposed
the problem.

`sphinxcontrib-googleanalytics==0.6` no longer ships
`sphinxcontrib/__init__.py`, so the namespace package resolves properly. 92148c1
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