Skip to content

Port sage.doctest to Windows #1076

@mkoeppe

Description

@mkoeppe

Single-worker version would be good enough

Currently:

py310-norequirements: 26145 W commands[2]> bash -c "cd $(python -c \"import sys; \\\"\\\" in sys.path and sys.path.remove(\\\"\\\"); from sage.env import SAGE_LIB; print(SAGE_LIB)\") && sage-runtests -p --force-lib --initial --environment=sage.all__sagemath_categories --probe all --baseline-stats-path=$KNOWN_TEST_FAILURES --optional=sage --installed" [tox\tox_env\api.py:427]
Traceback (most recent call last):
  File "D:\a\sage\sage\pkgs\sagemath-categories\.tox\py310-norequirements\Scripts\sage-runtests", line 9, in <module>
    sys.exit(main())
  File "D:\a\sage\sage\pkgs\sagemath-categories\.tox\py310-norequirements\lib\site-packages\sage\doctest\__main__.py", line 191, in main
    from sage.doctest.control import DocTestController
  File "D:\a\sage\sage\pkgs\sagemath-categories\.tox\py310-norequirements\lib\site-packages\sage\doctest\control.py", line 54, in <module>
    from sage.doctest.reporting import DocTestReporter
  File "D:\a\sage\sage\pkgs\sagemath-categories\.tox\py310-norequirements\lib\site-packages\sage\doctest\reporting.py", line 46, in <module>
    from signal import (SIGABRT, SIGALRM, SIGBUS, SIGFPE, SIGHUP, SIGILL,
ImportError: cannot import name 'SIGALRM' from 'signal' (C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\signal.py)
py310-norequirements: 27193 C exit 1 (1.05 seconds) D:\a\sage\sage\pkgs\sagemath-categories> bash -c "cd $(python -c \"import sys; \\\"\\\" in sys.path and sys.path.remove(\\\"\\\"); from sage.env import SAGE_LIB; print(SAGE_LIB)\") && sage-runtests -p --force-lib --initial --environment=sage.all__sagemath_categories --probe all --baseline-stats-path=$KNOWN_TEST_FAILURES --optional=sage --installed" pid=5844 [tox\execute\api.py:280]

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions