-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace extra-dependencies by dependency groups (#598)
* Use PEP 735 groups instead of extra-dependencies in pyproject.toml Doc, test and CI dependencies are not useful for published package. CI includes doc group with hatch-vcs when publishing documentation. Signed-off-by: Patrick ZAJDA <[email protected]> * Update workflows to use dependencies groups Signed-off-by: Patrick ZAJDA <[email protected]> --------- Signed-off-by: Patrick ZAJDA <[email protected]>
- Loading branch information
Showing
4 changed files
with
31 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
cache-suffix: lint | ||
|
||
- name: 📦 Install dependencies | ||
run: uv sync --frozen --extra lint | ||
run: uv sync --frozen --group lint | ||
|
||
- name: Pre-commit cache | ||
uses: actions/[email protected] | ||
|
@@ -76,7 +76,7 @@ jobs: | |
run: uv python install ${{ matrix.python-version }} | ||
|
||
- name: 📦 Install dependencies | ||
run: uv sync --frozen --extra test | ||
run: uv sync --frozen --group test | ||
|
||
- name: 🏃 Run tests | ||
run: uv run pytest tests | ||
|
@@ -152,7 +152,7 @@ jobs: | |
id: python | ||
|
||
- name: 📦 Install dependencies | ||
run: uv sync --frozen --extra doc | ||
run: uv sync --frozen --group doc | ||
|
||
- name: Build documentation using sphinx | ||
run: uv run make -C docs html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.