⬆️ Migrate to uv (#1688)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Jonathan Ehwald
2026-01-04 20:54:22 +01:00
committed by GitHub
parent f0d4d4b51f
commit 00754c4dee
17 changed files with 2617 additions and 106 deletions

View File

@@ -6,18 +6,14 @@ First, you might want to see the basic ways to [help SQLModel and get help](help
If you already cloned the <a href="https://github.com/fastapi/sqlmodel" class="external-link" target="_blank">sqlmodel repository</a> and you want to deep dive in the code, here are some guidelines to set up your environment.
### Virtual Environment
### Install Requirements Using `uv`
Follow the instructions to create and activate a [virtual environment](virtual-environments.md){.internal-link target=_blank} for the internal code of `sqlmodel`.
### Install Requirements Using `pip`
After activating the environment, install the required packages:
Create a virtual environment and install the required packages in one command:
<div class="termy">
```console
$ pip install -r requirements.txt
$ uv sync
---> 100%
```