[BUG] module 'signal' has no attribute 'SIGHUP'
Description
Since version 1.7.0 crewai command is crashing on windows with the error module 'signal' has no attribute 'SIGHUP' It is comming from system_events.py.
According to python doc on signal SIGUP is not supported
On Windows, signal() can only be called with SIGABRT, SIGFPE, SIGILL, SIGINT, SIGSEGV, SIGTERM, or SIGBREAK. A ValueError will be raised in any other case. Note that not all systems define the same set of signal names; an AttributeError will be raised if a signal name is not defined as SIG* module level constant.
Steps to Reproduce
install crewai 1.7.0 on windows. Run any crewai command
Expected behavior
No error
Screenshots/Code snippets
N/A
Operating System
Windows 11
Python Version
3.12
crewAI Version
1.7.0
crewAI Tools Version
Virtual Environment
Venv
Evidence
class SignalType(IntEnum): ...<6 lines>... SIGCONT = signal.SIGCONT File "C:\Users...\AppData\Roaming\uv\tools\crewai\Lib\site-packages\crewai\events\types\system_events.py", line 22, in SignalType SIGHUP = signal.SIGHUP ^^^^^^^^^^^^^ AttributeError: module 'signal' has no attribute 'SIGHUP'
Possible Solution
None
Additional context
None
I am facing the same problem. Seems still don't work.
I am facing the same problem. Seems still don't work.
This will be in the upcoming release. Can you test out with latest on main?