Skip to content

Commit

Permalink
Fix: Update package references and CI workflow for proper dependency …
Browse files Browse the repository at this point in the history
…resolution

Co-Authored-By: [email protected] <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and nedtwigg committed Dec 11, 2024
1 parent 44284d9 commit b0c7596
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Set up Python environment
shell: bash
run: |
Expand All @@ -34,7 +37,7 @@ jobs:
. .venv/bin/activate
fi
python -m pip install --upgrade pip
pip install uv
uv pip install --system
- name: selfie-lib - install dependencies
shell: bash
Expand Down Expand Up @@ -90,8 +93,7 @@ jobs:
else
. ../../.venv/bin/activate
fi
python -m pip install -e . -e ../selfie-lib
python -m pip install -r requirements.txt -r dev-requirements.txt
uv pip install -r requirements.txt -r dev-requirements.txt
- name: pytest-selfie - pyright
shell: bash
Expand Down Expand Up @@ -124,8 +126,7 @@ jobs:
else
. ../../.venv/bin/activate
fi
python -m pip install -e . -e ../selfie-lib -e ../pytest-selfie
python -m pip install -r requirements.txt -r dev-requirements.txt
uv pip install -r requirements.txt -r dev-requirements.txt
- name: example-pytest-selfie - pytest
shell: bash
Expand Down
5 changes: 3 additions & 2 deletions python/example-pytest-selfie/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
file:../selfie-lib
file:../pytest-selfie
pytest>=8.0.0,<9.0.0
flask>=3.0.3
openai>=1.0.0
-e ../selfie-lib
-e ../pytest-selfie
4 changes: 2 additions & 2 deletions python/pytest-selfie/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest>=8.0.0
-e ../selfie-lib
file:../selfie-lib
pytest>=8.0.0,<9.0.0

0 comments on commit b0c7596

Please sign in to comment.