mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Migrate from poetry to uv for dependency and package management (#986)
This commit is contained in:
12
RELEASING.md
12
RELEASING.md
@@ -33,21 +33,21 @@ git checkout -b release/$NEW_RELEASE
|
||||
### Update the version number
|
||||
|
||||
```bash
|
||||
poetry version $NEW_RELEASE
|
||||
sed -i "0,/version = /{s/version = .*/version = \"${NEW_RELEASE}\"/}" pyproject.toml
|
||||
```
|
||||
|
||||
### Update dependencies
|
||||
|
||||
```bash
|
||||
poetry install --all-extras --sync
|
||||
poetry update
|
||||
uv sync --all-extras
|
||||
uv lock --upgrade
|
||||
```
|
||||
|
||||
### Run pre-commit and tests
|
||||
|
||||
```bash
|
||||
pre-commit run --all-files
|
||||
pytest kasa
|
||||
uv run pre-commit run --all-files
|
||||
uv run pytest
|
||||
```
|
||||
|
||||
### Create release summary (skip for dev releases)
|
||||
@@ -215,7 +215,7 @@ git cherry-pick commitSHA2 -S
|
||||
### Update the version number
|
||||
|
||||
```bash
|
||||
poetry version $NEW_RELEASE
|
||||
sed -i "0,/version = /{s/version = .*/version = \"${NEW_RELEASE}\"/}" pyproject.toml
|
||||
```
|
||||
|
||||
### Manually edit the changelog
|
||||
|
Reference in New Issue
Block a user