Skip to content

CI failures in doctest, examples #1136

Description

@murrayrm

From #1135 (also in #1133):

I see two failures on CI , but I can't see that these changes caused them:

first, in doctest-linux: roryyorke/python-control/actions/runs/13612156165/job/38050709282

Traceback
=========

      File "/home/runner/miniconda3/envs/doctest-env/lib/python3.12/site-packages/sphinx/events.py", line 415, in emit
        raise ExtensionError(
    sphinx.errors.ExtensionError: Handler <function html_collect_pages at 0x7f36a35016c0> for event 'html-collect-pages' threw an exception (exception: module 'sphinx.util' has no attribute 'console')
which seems to be https://github.com/sphinx-doc/sphinx/issues/13352.

Then in install-examples: roryyorke/python-control/actions/runs/13612156159/job/38050709274

ModuleNotFoundError: No module named 'autoreload'

Activity

  1. roryyorke commented on Mar 2, 2025

    @roryyorke
    Contributor

    I think the relevant error is the one you showed in #1133; Internet search on that leads to

    ipython/ipython#14808

    and

    ipython/ipython#14807

    Maybe for both problems we need to limit the version of the relevant package (sphinx-doc, IPython) used in the install? I think Ben's previously used '!=' magic to prevent specific package versions being used, rather than '<' or '<=', but I guess whatever works. See e.g. https://github.com/fpsim/fpsim/pull/493/files which fixes the sphinx-doc error for that project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions