#33753: documentation build failing with "ValueError: Empty module name"
-----------------------------------------+------------------------
               Reporter:  dhellmann      |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  Documentation  |        Version:  4.0
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 Checking out a clean copy of the `main` branch and running `tox -e docs`
 is failing with

 {{{
 $ tox -e docs
 docs installed: alabaster==0.7.12,Babel==2.10.1,certifi==2022.5.18.1
 ,charset-
 
normalizer==2.0.12,docutils==0.18.1,idna==3.3,imagesize==1.3.0,Jinja2==3.1.2,MarkupSafe==2.1.1,packaging==21.3,pyenchant==3.2.2,Pygments==2.12.0,pyparsing==3.0.9,pytz==2022.1,requests==2.27.1,snowballstemmer==2.2.0,Sphinx==5.0.0
 ,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-devhelp==1.0.2
 ,sphinxcontrib-htmlhelp==2.0.0,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-
 qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.5,sphinxcontrib-
 spelling==7.4.1,urllib3==1.26.9
 docs run-test-pre: PYTHONHASHSEED='4280851028'
 docs run-test: commands[0] | make spelling
 sphinx-build -b spelling -n -d _build/doctrees -D language=   .
 _build/spelling
 Running Sphinx v5.0.0
 loading translations []... not available for built-in messages
 Initializing Spelling Checker 7.4.1
 making output directory... done
 Ignoring wiki words
 Ignoring acronyms
 Ignoring Python builtins
 Ignoring importable module names
 Ignoring contributor names
 Looking for custom word list in /Users/dhellmann/Devel/sphinxcontrib-
 spelling/django/docs/spelling_wordlist
 Scanning contributors
 WARNING: extlinks: Sphinx-6.0 will require a caption string to contain
 exactly one '%s' and all other '%' need to be escaped as '%%'.
 WARNING: extlinks: Sphinx-6.0 will require a caption string to contain
 exactly one '%s' and all other '%' need to be escaped as '%%'.
 WARNING: extlinks: Sphinx-6.0 will require a caption string to contain
 exactly one '%s' and all other '%' need to be escaped as '%%'.
 WARNING: extlinks: Sphinx-6.0 will require a caption string to contain
 exactly one '%s' and all other '%' need to be escaped as '%%'.
 WARNING: extlinks: Sphinx-6.0 will require a caption string to contain
 exactly one '%s' and all other '%' need to be escaped as '%%'.
 loading intersphinx inventory from
 https://docs.python.org/3/objects.inv...
 loading intersphinx inventory from https://www.sphinx-
 doc.org/en/master/objects.inv...
 loading intersphinx inventory from
 https://www.psycopg.org/docs/objects.inv...
 building [mo]: targets for 0 po files that are out of date
 building [spelling]: all documents
 updating environment: [new config] 537 added, 0 changed, 0 removed
 reading sources... [  0%] contents

 Exception occurred:
   File "<frozen importlib._bootstrap>", line 981, in _sanity_check
 ValueError: Empty module name
 The full traceback has been saved in
 /var/folders/5q/8gk0wq888xlggz008k8dr7180000hg/T/sphinx-err-5nedfmq7.log,
 if you want to report the issue to the developers.
 Please also report this if it was a user error, so that a better error
 message can be provided next time.
 A bug report can be filed in the tracker at <https://github.com/sphinx-
 doc/sphinx/issues>. Thanks!
 make: *** [spelling] Error 2
 }}}

 Sphinx 5.0.0 was just released, and this build was working yesterday, so I
 suspect it's a backwards-incompatible change in Sphinx's behavior.

 This failure is blocking changes in `sphinxcontrib-spelling` (see
 https://github.com/sphinx-
 contrib/spelling/runs/6657712458?check_suite_focus=true for example), so I
 have removed that job from the required list for now. When the docs build
 here is working again, I'll restore it.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33753>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018115a68f3c-0dd46598-b9bf-4bf4-bcfd-f74b0b71c062-000000%40eu-central-1.amazonses.com.

Reply via email to