This also means, the code is unable to extract the version number from setup.py to inject it into the frontend build.
Steps to reproduce
see above, tested on macOS Ventura 13.4.1.
Possible solution
The problem stems from Perl-style regexes not being supported by the default macOS grep. One could install a more compatible grep via Homebrew, but fixing the grep expression seems simpler for users. This can be done with the following patch that just avoids perl-style expressions:
Please check that this issue hasn't been reported before.
Expected Behavior
Running
make compile_frontend
should not emit an error.Current behaviour
...it however does on macOS:
This also means, the code is unable to extract the version number from
setup.py
to inject it into the frontend build.Steps to reproduce
see above, tested on macOS Ventura 13.4.1.
Possible solution
The problem stems from Perl-style regexes not being supported by the default macOS grep. One could install a more compatible grep via Homebrew, but fixing the grep expression seems simpler for users. This can be done with the following patch that just avoids perl-style expressions:
Which Operating Systems are you using?
Programming Version
irrelevant
gpt-code-ui Version
https://github.com/ricklamers/gpt-code-ui/commit/6bdc463722dc662b184ce318fd2a10a13ae2098e
Acknowledgements