Skip to content
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

[Bug] Building wheels failed in self hosted runner [windows] #3936

Closed
sohamwaglekar opened this issue Aug 1, 2024 · 1 comment
Closed

[Bug] Building wheels failed in self hosted runner [windows] #3936

sohamwaglekar opened this issue Aug 1, 2024 · 1 comment
Labels
bug Something isn't working community Team: TRADE

Comments

@sohamwaglekar
Copy link

Describe the Bug

I am encountering an issue with the pip install .[dev] command while running it on a self-hosted runner using Windows. The command fails during the wheel creation process for some packages, resulting in a subprocess-exited-with-error error.

The error output indicates that the process exits unexpectedly when attempting to build wheels for packages such as detection_rules. Despite following standard troubleshooting steps, such as upgrading pip, setuptools, and wheel, and ensuring all necessary build tools are installed, the issue persists.

Interestingly, the same pip install .[dev] command runs without any issues on an Ubuntu-based general runner provided by GitHub Actions. The installation completes successfully, and all packages are correctly installed with their dependencies.

To Reproduce

  • name: Install Dependencies
    run: |
    python -m pip install --upgrade pip
    pip cache purge
    pip install .[dev]

Expected Behavior

No response

Screenshots

Building wheels for collected packages: detection_rules
Building wheel for detection_rules (pyproject.toml): started
error: subprocess-exited-with-error

Building wheel for detection_rules (pyproject.toml) did not run successfully.
exit code: 1

Desktop - OS

Windows

Desktop - Version

10

Additional Context

No response

@sohamwaglekar sohamwaglekar added bug Something isn't working Team: TRADE labels Aug 1, 2024
@sohamwaglekar
Copy link
Author

Describe the Bug

I am encountering an issue with the pip install .[dev] command while running it on a self-hosted runner using Windows. The command fails during the wheel creation process for some packages, resulting in a subprocess-exited-with-error error.

The error output indicates that the process exits unexpectedly when attempting to build wheels for packages such as detection_rules. Despite following standard troubleshooting steps, such as upgrading pip, setuptools, and wheel, and ensuring all necessary build tools are installed, the issue persists.

Interestingly, the same pip install .[dev] command runs without any issues on an Ubuntu-based general runner provided by GitHub Actions. The installation completes successfully, and all packages are correctly installed with their dependencies.

To Reproduce

  • name: Install Dependencies
    run: |
    python -m pip install --upgrade pip
    pip cache purge
    pip install .[dev]

Expected Behavior

No response

Screenshots

Building wheels for collected packages: detection_rules Building wheel for detection_rules (pyproject.toml): started error: subprocess-exited-with-error

Building wheel for detection_rules (pyproject.toml) did not run successfully. exit code: 1

Desktop - OS

Windows

Desktop - Version

10

Additional Context

No response

Solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community Team: TRADE
Projects
None yet
Development

No branches or pull requests

1 participant