Describe the bug
Using ghas-cli version 1.6.2, I receive this import error:
ghas-cli --help
Traceback (most recent call last):
File "/Users/<user>/.pyenv/versions/ghas-cli/bin/ghas-cli", line 5, in <module>
from src.cli import main
ModuleNotFoundError: No module named 'src'
This does not occur with version 1.6.1.
To Reproduce
I am using pyenv to setup an isolated virtualenv.
pyenv virtualenv 3.10.12 ghas-cli
pyenv activate ghas-cli
pip install ghas-cli
ghas-cli --help
Expected behavior
The help message is expected e.g.
ghas-cli --help
Usage: ghas-cli [OPTIONS] COMMAND [ARGS]...
ghas-cli is a Python3 utility to interact with GitHub Advanced Security.
{snip}
Screenshots
Snippets above should be sufficient.
Setup (please complete the following information):
- OS: macOS
- Version: 15.3
- Python version: 3.10.12
Additional context
I took a peek at the diff between 1.6.1 and 1.6.2 and nothing jumps out to me which would cause this error.
Describe the bug
Using ghas-cli version 1.6.2, I receive this import error:
This does not occur with version 1.6.1.
To Reproduce
I am using pyenv to setup an isolated virtualenv.
Expected behavior
The help message is expected e.g.
Screenshots
Snippets above should be sufficient.
Setup (please complete the following information):
Additional context
I took a peek at the diff between 1.6.1 and 1.6.2 and nothing jumps out to me which would cause this error.