Skip to content
← Back to activity

Public problem

Semgrep setup.py install throws exception pip install semgrep 0.31.1

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

Installing semgrep via python setup.py install (e.g. as a dependency of Mobile-Security-Framework-MobSF) throws a traceback during the install: the setup.py unconditionally depends on the wheel package, which fails in environments where it should not be required.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Fixed in semgrep 0.37.0: the setup.py no longer depends on the wheel package unless you are explicitly building wheels. Upgrade to 0.37.0 or later and the setup.py install path works. (The Gentoo ebuild maintainers also confirmed that the SEMGREPSKIPBIN env var works around the binary-install step on their side.)

Source: https://github.com/semgrep/semgrep/issues/2054

Source: https://github.com/semgrep/semgrep/issues/2054