Skip to content

Re-enable Cygwin CI for Python 3.12 #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft

Re-enable Cygwin CI for Python 3.12 #68

wants to merge 15 commits into from

Conversation

DWesl
Copy link
Owner

@DWesl DWesl commented Jan 6, 2025

Will become numpy#28107

@DWesl DWesl changed the title Patch 7 Re-enable Cygwin CI for Python 3.12 Jan 8, 2025
DWesl added 5 commits January 16, 2025 21:24
CI:Cygwin: Install packages one at a time to see which one hangs

FIX:CI:Cygwin: Fix quotes in install loop.

CI:Cygwin: Increase timeout on dependency installs
BUG: Include python-including headers first in npstd.hpp

BUG: Include Python-including headers first in fast_loop_macros.h

BUG: Include Python-including headers first in npy_hashtable.cpp

BUG: Import Python.h first in dispatching.cpp

BUG: Include Python.h first in _pocketfft_umath.cpp
DWesl added 3 commits January 17, 2025 08:17
https://sourceware.org/pipermail/cygwin/2025-January/257025.html suggests the known problems in Cygwin 3.5.5 might be alleviated by rolling back to Cygwin 3.5.4:

https://sourceware.org/pipermail/cygwin/2025-January/257085.html
suggests this occurs after some step completes.

Running the Python tests suggest the child processes are doing *something*, but attaching gdb to find out what fails: attempts to inspect the stack imply they converted the NULL pointer to a function pointer then called it recursively, which seems unlikely.
It'll take forever, but it might say which tests fail now.
Something's gone wonky with the threading/multiprocessing code.
Not sure how to figure out what, since the debugger shows null backtrace.
@DWesl
Copy link
Owner Author

DWesl commented Jan 29, 2025

The last four tests have hung just after

../_core/tests/test_arrayprint.py::test_scalar_void_float_str

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant