Skip to content

Re-enable Cygwin CI for Python 3.12 - #68

Draft
DWesl wants to merge 25 commits into
mainfrom
patch-7
Draft

DWesl wants to merge 25 commits into
mainfrom
patch-7

Conversation

@DWesl

@DWesl DWesl commented Jan 6, 2025 •

Copy link
Copy Markdown
Owner

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

DWesl commented Jan 29, 2025

Copy link
Copy Markdown
Owner Author

The last four tests have hung just after

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

DWesl added 6 commits April 21, 2025 13:08
Rust compilation also ran into segfaults during pthread_exit, and this is one of the fixes (the other was in libcurl, which python doesn't seem to use), so let's see if this resolves the issues.
I think libssl3 is actually the relevant bit.
@DWesl

DWesl commented Jun 27, 2025

Copy link
Copy Markdown
Owner Author

There's now a silent failure in ../_core/tests/test_dtype.py::TestMonsterType::test_list_recursion, so progress, I guess?

@DWesl

DWesl commented Oct 25, 2025

Copy link
Copy Markdown
Owner Author

The silent failure is still there.

The sysconfigdata failure isn't, which means that's just on my system.

@DWesl

DWesl commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Silent failure changed to a segfault, in probably the same spot. Not sure how to debug that, still.

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