Skip to content

CI failing on OS X python 3.9 #1216

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

Closed
hyanwong opened this issue Feb 24, 2021 · 2 comments · Fixed by #1217
Closed

CI failing on OS X python 3.9 #1216

hyanwong opened this issue Feb 24, 2021 · 2 comments · Fixed by #1217

Comments

@hyanwong
Copy link
Member

From https://github.com/tskit-dev/tskit/pull/1215/checks?check_run_id=1968865308 it seems like we are getting:

tests/test_cli.py:523: 
125
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
126
tests/test_cli.py:63: in capture_output
127
    func(*args, **kwargs)
128
tskit/cli.py:278: in tskit_main
129
    set_sigpipe_handler()
130
tskit/cli.py:39: in set_sigpipe_handler
131
    signal.signal(signal.SIGPIPE, signal.SIG_DFL)
132
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
133

134
signalnum = <Signals.SIGPIPE: 13>, handler = <Handlers.SIG_DFL: 0>
135

136
    @_wraps(_signal.signal)
137
    def signal(signalnum, handler):
138
>       handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
139
E       ValueError: signal only works in main thread of the main interpreter
140

I can't replicate this on my Mac running the latest OS 11.2.1, Python (anaconda installed) 3.9.1.

@hyanwong
Copy link
Member Author

There's a long thread at pytest-dev/pytest-timeout#8 which doesn't seem OS X specific.

jeromekelleher added a commit to jeromekelleher/tskit that referenced this issue Feb 24, 2021
@jeromekelleher
Copy link
Member

#1217

@mergify mergify bot closed this as completed in #1217 Feb 24, 2021
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 a pull request may close this issue.

2 participants