Skip to content

fix: Fix NameError

fix: Fix NameError #70

Triggered via push March 20, 2026 08:30
Status Failure
Total duration 32s
Artifacts

pages.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
pages
Process completed with exit code 1.
Sphinx traceback
Versions ======== * Platform: linux; (Linux-6.14.0-1017-azure-x86_64-with-glibc2.39) * Python version: 3.12.13 (CPython) * Sphinx version: 9.1.0 * Docutils version: 0.22.4 * Jinja2 version: 3.1.6 * Pygments version: 2.19.2 Last Messages ============= None. Loaded Extensions ================= None. Traceback ========= Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/sphinx/cmd/build.py", line 414, in build_main app = Sphinx( ^^^^^^^ File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/sphinx/application.py", line 299, in __init__ self.setup_extension(extension) File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/sphinx/application.py", line 505, in setup_extension self.registry.load_extension(self, extname) File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/sphinx/registry.py", line 569, in load_extension metadata = setup(app) ^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/sphinxnotes/project/__init__.py", line 25, in setup anyobjtypes.setup(app) File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/sphinxnotes/project/anyobjtypes.py", line 90, in setup app.setup_extension('sphinxnotes.any') File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/sphinx/application.py", line 505, in setup_extension self.registry.load_extension(self, extname) File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/sphinx/registry.py", line 550, in load_extension mod = import_module(extname) ^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 999, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/sphinxnotes/any/__init__.py", line 16, in <module> from sphinxnotes.render import Schema File "/home/runner/work/render/render/src/sphinxnotes/render/__init__.py", line 12, in <module> from .data import ( File "/home/runner/work/render/render/src/sphinxnotes/render/data.py", line 110, in <module> class Registry: File "/home/runner/work/render/render/src/sphinxnotes/render/data.py", line 115, in Registry convs: dict[type, Callable[[str], PlainValue]] ^^^^^^^^ NameError: name 'Callable' is not defined. Did you mean: 'callable'?
pages
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/