semgrep icon indicating copy to clipboard operation
semgrep copied to clipboard

Windows wheel missing from Semgrep 1.179.0; uvx cannot find semgrep-core.exe

Open ryo-whaletech opened this issue 2 months ago • 1 comments

Describe the bug

On Windows, Semgrep 1.179.0 installs with uvx, but semgrep --version fails at startup because semgrep-core.exe cannot be found. The same command works with 1.178.0.

The PyPI files for 1.179.0 do not include a Windows wheel, while 1.178.0 includes a win_amd64 wheel. This looks like a packaging regression, although I have not verified the release build itself.

To Reproduce

Environment: Windows, Python 3.12.14, uv 0.7.13.

uvx --from semgrep==1.179.0 semgrep --version

After dependency installation, this exits with code 2:

Failed to find semgrep-core.exe in PATH or in the semgrep package.

Control case under the same conditions:

uvx --from semgrep==1.178.0 semgrep --version

This starts successfully and prints version 1.178.0.

Expected behavior

semgrep --version starts successfully on Windows with 1.179.0 and prints its version.

What is the priority of the bug to you?

  • [ ] P0: blocking your adoption of Semgrep or workflow
  • [x] P1: important to fix or quite annoying
  • [ ] P2: regular bug that should get fixed

Environment

Windows with Python 3.12.14 and uv 0.7.13; installed via uvx. Linux and macOS were not tested.

Use case

Running the current Semgrep release from uvx on Windows. Pinning to 1.178.0 is a working temporary workaround.

ryo-whaletech avatar Oct 02 '26 07:10 ryo-whaletech

This should be present for both 1.180.0 and 1.181.0; I think it was related to the amount of space we had avaliable on PyPI. Let me know if you're still encountering issues.

kopecs avatar Oct 14 '26 21:10 kopecs