Skip to content

Commit

Permalink
show pypdfium2
Browse files Browse the repository at this point in the history
pip show pypdfium2 on install

explicitly install pypdfium2

remove additional pip shows

try venv

try not installing pypdfium2

try poetry run prefix

try poetry virtualenvs

try poetry add for openai jupyter nbconvert
  • Loading branch information
CalebCourier authored and zsimjee committed Nov 21, 2023
1 parent e8ab11a commit 010700a
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/examples_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,26 @@ jobs:

- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

- name: Install dependencies
run: make full; pip install openai==0.28.1 jupyter nbconvert; pip install .
run: |
make full;
poetry add openai==0.28.1 jupyter nbconvert;
# pip install openai==0.28.1 jupyter nbconvert;
# pip install .;
- name: Check for pypdfium2
run: poetry run pip show pypdfium2

- name: Execute notebooks and check for errors
run: |
cd docs/examples
for notebook in $(ls *.ipynb); do
jupyter nbconvert --to notebook --execute "$notebook"
poetry run jupyter nbconvert --to notebook --execute "$notebook"
if [ $? -ne 0 ]; then
echo "Error found in $notebook"
exit 1
Expand Down

0 comments on commit 010700a

Please sign in to comment.