Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
version: 2

updates:
- package-ecosystem: pip
- package-ecosystem: "uv"
directory: "/"
target-branch: "develop"
schedule:
interval: weekly
interval: "weekly"
open-pull-requests-limit: 5
labels:
- dependencies
- python
- "dependencies"
- "python"

- package-ecosystem: github-actions
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "develop"
schedule:
interval: weekly
interval: "weekly"
open-pull-requests-limit: 5
labels:
- dependencies
- github-actions
- "dependencies"
- "github-actions"
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,21 @@ jobs:
uses: actions/setup-python@v6
with:
python-version: "3.12"
cache: pip
cache-dependency-path: requirements.lock.txt

- name: Install dependencies
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
version: "0.11.28"
enable-cache: true

- name: Validate and install locked dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.lock.txt
python -m pip install --no-deps -e .
python -m pip check
uv lock --check
uv sync --frozen
uv pip check

- name: Run repository and focused application checks
env:
MAGICAI_QUIET_EVALUATION: "1"
MAGICAI_CONVERSATION_DB: ${{ runner.temp }}/magicai-ci-conversations.sqlite3
run: python scripts/ci_check.py
run: uv run --frozen python scripts/ci_check.py
10 changes: 4 additions & 6 deletions docs/QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ cd MagicAI

## Python environment

Install `uv`:

```bash
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip check
```
curl -LsSf https://astral.sh/uv/install.sh | sh
source "$HOME/.local/bin/env"

## Local sources

Expand Down
17 changes: 0 additions & 17 deletions requirements.lock.txt

This file was deleted.

Loading