fix(openinterpreter)

closes #3629
This commit is contained in:
Jacob Heider 2023-10-12 13:50:27 -04:00 committed by Jacob Heider
parent b3c3aae2e4
commit 64417eff5c

View file

@ -12,7 +12,16 @@ dependencies:
github.com/mattrobenolt/jinja2-cli: '*'
build:
python-venv.sh {{prefix}}/bin/interpreter
- python-venv.sh {{prefix}}/bin/interpreter
# ooba calls the github api, which has frequent rate-limit failures
# returning the current value isn't the best, but it should fix this.
- run: |
OOBA_VERSION=$(echo ooba-*-dist.info | sed 's/ooba-\(.*\)-dist.info/\1/')
cd ooba/utils
sed -i.bak -e"s/raise Exception.*/return \"v1.7\"/" get_latest_release.py
rm get_latest_release.py.bak
working-directory: ${{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages/
provides:
- bin/interpreter