chore: update litellm (#613)
<!-- .github/pull_request_template.md --> ## Description <!-- Provide a clear description of the changes in this PR --> ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Adjusted a dependency version range for improved compatibility with newer releases. - Enhanced dependency management workflow by integrating Poetry and adding a commit step for tracking changes. - Updated Python version in the workflow to 3.12 and improved repository checkout steps. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: vasilije <vas.markovic@gmail.com> Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
This commit is contained in:
parent
6ca40355ad
commit
1b5c059b8d
3 changed files with 623 additions and 102 deletions
27
.github/workflows/autoupdate.yml
vendored
27
.github/workflows/autoupdate.yml
vendored
|
|
@ -30,24 +30,33 @@ jobs:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PAT_FOR_CROSS_REPOS_CICD_TRIGGERING }} # Personal Access Token with repo scope
|
token: ${{ secrets.PAT_FOR_CROSS_REPOS_CICD_TRIGGERING }} # Personal Access Token with repo scope
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.12'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install Poetry
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install pip-tools
|
pip install "poetry>=2.0.0"
|
||||||
|
|
||||||
- name: Update dependencies
|
- name: Update dependencies with Poetry
|
||||||
run: |
|
run: |
|
||||||
pip-compile --upgrade requirements.txt
|
poetry update
|
||||||
|
# If you still need a requirements.txt synced from Poetry:
|
||||||
|
poetry export --without-hashes --format requirements.txt --output requirements.txt
|
||||||
|
|
||||||
|
- name: Commit changes
|
||||||
|
run: |
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
git add pyproject.toml poetry.lock requirements.txt
|
||||||
|
git diff --quiet && git diff --staged --quiet || git commit -m "chore: update dependencies"
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
|
|
@ -55,6 +64,6 @@ jobs:
|
||||||
token: ${{ secrets.PAT_FOR_CROSS_REPOS_CICD_TRIGGERING }} # Personal Access Token with repo scope
|
token: ${{ secrets.PAT_FOR_CROSS_REPOS_CICD_TRIGGERING }} # Personal Access Token with repo scope
|
||||||
commit-message: "chore: update dependencies"
|
commit-message: "chore: update dependencies"
|
||||||
title: "chore: update dependencies"
|
title: "chore: update dependencies"
|
||||||
body: "Automated dependency updates"
|
body: "Automated dependency updates via Poetry"
|
||||||
branch: "chore/dependency-updates"
|
branch: "chore/dependency-updates"
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
686
poetry.lock
generated
686
poetry.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -57,7 +57,7 @@ langsmith = {version = "0.2.3", optional = true}
|
||||||
langdetect = "1.0.9"
|
langdetect = "1.0.9"
|
||||||
posthog = {version = "^3.5.0", optional = true}
|
posthog = {version = "^3.5.0", optional = true}
|
||||||
lancedb = "0.16.0"
|
lancedb = "0.16.0"
|
||||||
litellm = "1.57.2"
|
litellm = ">=1.57.4"
|
||||||
groq = {version = "0.8.0", optional = true}
|
groq = {version = "0.8.0", optional = true}
|
||||||
langfuse = "^2.32.0"
|
langfuse = "^2.32.0"
|
||||||
pydantic-settings = "^2.2.1"
|
pydantic-settings = "^2.2.1"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue