mirror of
https://github.com/microsoft/autogen.git
synced 2025-11-02 02:40:21 +00:00
docs(python): add instructions for syncing dependencies and checking samples (#5362)
Address some common questions.
This commit is contained in:
parent
40d74a32a1
commit
68cc2e1019
@ -50,12 +50,24 @@ To create a pull request (PR), ensure the following checks are met. You can run
|
||||
- Pyright: `poe pyright`
|
||||
- Build docs: `poe --directory ./packages/autogen-core/ docs-build`
|
||||
- Auto rebuild+serve docs: `poe --directory ./packages/autogen-core/ docs-serve`
|
||||
- Check samples in `python/samples`: `poe samples-code-check`
|
||||
Alternatively, you can run all the checks with:
|
||||
- `poe check`
|
||||
|
||||
> [!NOTE]
|
||||
> These need to be run in the virtual environment.
|
||||
|
||||
### Syncing Dependencies
|
||||
|
||||
When you pull new changes, you may need to update the dependencies.
|
||||
To do so, first make sure you are in the virtual environment, and then in the `python` directory, run:
|
||||
|
||||
```sh
|
||||
uv sync --all-extras
|
||||
```
|
||||
|
||||
This will update the dependencies in the virtual environment.
|
||||
|
||||
### Creating a New Package
|
||||
|
||||
To create a new package, similar to `autogen-core` or `autogen-chat`, use the following:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user