mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-07-08 15:14:40 +02:00
fix(deps): replace optional dependencies with dependency groups
Definition: https://packaging.python.org/en/latest/specifications/dependency-groups The optional dependency table ([project.optional-dependencies]) is supposed to be user-facing for installs of TagStudio. Meanwhile, the replacement dependency groups is explicitly meant for extra development tools, so lets use that. This does mean the command for a full development environment has changed from: ```sh pip install -e '.[dev]' ``` To: ```sh pip install -e . --group all ``` The documentation has been adjusted for a quick replacement, but probably should have more information on a later time.
This commit is contained in:
@@ -36,7 +36,7 @@ jobs:
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade uv
|
||||
uv pip install --system .[mkdocs]
|
||||
uv pip install --system . --group mkdocs
|
||||
|
||||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade uv
|
||||
uv pip install --system .[pyright,pytest]
|
||||
uv pip install --system . --group pyright --group pytest
|
||||
|
||||
- name: Execute Pyright
|
||||
uses: jordemort/action-pyright@v1
|
||||
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
name: Install Python dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade uv
|
||||
uv pip install --system .[pytest]
|
||||
uv pip install --system . --group pytest
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade uv
|
||||
uv pip install --system .[pyinstaller]
|
||||
uv pip install --system . --group pyinstaller
|
||||
|
||||
- name: Execute PyInstaller
|
||||
run: |
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade uv
|
||||
uv pip install --system .[pyinstaller]
|
||||
uv pip install --system . --group pyinstaller
|
||||
|
||||
- name: Execute PyInstaller
|
||||
run: |
|
||||
@@ -117,7 +117,7 @@ jobs:
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade uv
|
||||
uv pip install --system .[pyinstaller]
|
||||
uv pip install --system . --group pyinstaller
|
||||
|
||||
- name: Execute PyInstaller
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user