Skip to content

OS X: some doctests fail with extra text "ninja: warning: Ignoring jobserver: Pipe-based protocol is not supported!" #40869

@jhpalmieri

Description

@jhpalmieri

Steps To Reproduce

Running doctests in OS X 15.6.1, Sage 10.8.beta3, with various homebrew packages installed, I see doctest failures of this sort:

**********************************************************************
File "src/sage/env.py", line 22, in sage.env
Failed example:
    out = check_output([sys.executable, "-c", cmd], env=env).decode().strip()   # long time
Expected nothing
Got:
    ninja: warning: Ignoring jobserver: Pipe-based protocol is not supported! [ --jobserver-fds=3,4 -j -- TEST_FLAGS=--long TEST_TARGET=testlong]
**********************************************************************

and

**********************************************************************
File "src/sage/misc/sagedoc.py", line 32, in sage.misc.sagedoc
Failed example:
    os.system("sage -c \"if 'sphinx' in sys.modules: sys.exit(1)\"")
Expected:
    0
Got:
    ninja: warning: Ignoring jobserver: Pipe-based protocol is not supported! [ --jobserver-fds=3,4 -j -- TEST_FLAGS=--long TEST_TARGET=testlong]
    0
**********************************************************************

and several other files.

Expected Behavior

Doctests should pass.

Actual Behavior

Doctests fail.

Additional Information

One solution would be to add the appropriate string to the do_fixup method in src/sage/doctest/parsing.py.

Environment

  • OS: OS X 15.6.1, Xcode 26.0, with many homebrew packages
  • Sage Version: 10.8.beta3

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions