From 8d57facd5118fc24b5268c1cd973bd170aaff7ce Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Wed, 17 Jan 2024 17:15:33 +0200 Subject: [PATCH] +vanna.ai (#4876) * + * pytest --- projects/vanna.ai/package.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 projects/vanna.ai/package.yml diff --git a/projects/vanna.ai/package.yml b/projects/vanna.ai/package.yml new file mode 100644 index 00000000..e014d4c9 --- /dev/null +++ b/projects/vanna.ai/package.yml @@ -0,0 +1,28 @@ +distributable: + url: git+https://github.com/vanna-ai/vanna.git + ref: ${{version.tag}} + +display-name: Vanna + +versions: + github: vanna-ai/vanna + +dependencies: + python.org: ^3.12 + +runtime: + env: + PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH + +build: + - python -m pip install . --prefix={{prefix}} + - run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}} + working-directory: ${{prefix}}/lib + +test: + dependencies: + curl.se: '*' + script: + - pip install pytest + - curl -L "https://raw.githubusercontent.com/vanna-ai/vanna/main/tests/test_vanna.py" -o test_vanna.py + - python test_vanna.py \ No newline at end of file