From 97ea0a8bea3dac44628e4bce6875e29848df8ae3 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Wed, 31 Dec 2025 11:50:24 +0100 Subject: [PATCH 1/5] chore: update install docs and typing setup --- .github/workflows/main.yml | 8 ++++++-- README.md | 4 ++-- justfile | 2 +- pyproject.toml | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a9c99c3..41ed904 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,7 +26,9 @@ jobs: - uses: astral-sh/setup-uv@v7 with: enable-cache: true - - run: uv run --extra typing --extra test ty check src/ tests/ + - name: Install just + uses: extractions/setup-just@v3 + - run: just typing run-tests: @@ -47,10 +49,12 @@ jobs: with: enable-cache: true python-version: ${{ matrix.python-version }} + - name: Install just + uses: extractions/setup-just@v3 - name: Run tests shell: bash -l {0} - run: uv run --extra test pytest --cov=./ --cov-report=xml -n auto + run: just test-cov - name: Upload coverage report if: runner.os == 'Linux' && matrix.python-version == '3.10' diff --git a/README.md b/README.md index 9e2ece3..5a2ba54 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,11 @@ pytask-latex is available on [PyPI](https://pypi.org/project/pytask-latex) and [Anaconda.org](https://anaconda.org/conda-forge/pytask-latex). Install it with ```console -$ pip install pytask-latex +$ uv add pytask-latex # or -$ conda install -c conda-forge pytask-latex +$ pixi add pytask-latex ``` You also need to have `latexmk` installed which determines the necessary number of diff --git a/justfile b/justfile index a95f3b4..8dc776a 100644 --- a/justfile +++ b/justfile @@ -12,7 +12,7 @@ test-cov *FLAGS: # Run type checking typing: - uv run --group typing --group test ty check src/ tests/ + uv run --group typing --group test --isolated ty check src/ tests/ # Run linting lint: diff --git a/pyproject.toml b/pyproject.toml index 7a83c76..dce761d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ Documentation = "https://github.com/pytask-dev/pytask-latex" Github = "https://github.com/pytask-dev/pytask-latex" Tracker = "https://github.com/pytask-dev/pytask-latex/issues" -[project.optional-dependencies] +[dependency-groups] test = ["pytest", "pytest-cov", "pytest-xdist"] typing = [ "pytask-parallel", From 7044665dcbd66cb83bf83bdc2b77ef559815baa7 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Wed, 31 Dec 2025 12:49:23 +0100 Subject: [PATCH 2/5] chore: bump ty minimum to 0.0.8 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index dce761d..12d5821 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ Tracker = "https://github.com/pytask-dev/pytask-latex/issues" test = ["pytest", "pytest-cov", "pytest-xdist"] typing = [ "pytask-parallel", - "ty>=0.0.7", + "ty>=0.0.8", ] [project.entry-points.pytask] From d788e201ebf9dea34db9a9636f02507ec443bd32 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Wed, 31 Dec 2025 12:54:22 +0100 Subject: [PATCH 3/5] chore: add weekly dependabot for uv --- .github/dependabot.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 718572b..6483b1d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,6 @@ version: 2 - updates: - - package-ecosystem: "github-actions" + - package-ecosystem: "uv" directory: "/" schedule: interval: "weekly" From 3e7242437a9decb32fd810975a8ba880d23d7174 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Wed, 31 Dec 2025 13:06:52 +0100 Subject: [PATCH 4/5] chore: add github-actions dependabot updates --- .github/dependabot.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6483b1d..c766b7e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,5 +1,9 @@ version: 2 updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" - package-ecosystem: "uv" directory: "/" schedule: From 740b453e9807e12c976b81dce280e44e6ae11b13 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Wed, 31 Dec 2025 15:42:08 +0100 Subject: [PATCH 5/5] chore: group github-actions dependabot updates --- .github/dependabot.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c766b7e..be4ca53 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,9 +1,14 @@ version: 2 + updates: - package-ecosystem: "github-actions" directory: "/" schedule: interval: "weekly" + groups: + github-actions: + patterns: + - "*" - package-ecosystem: "uv" directory: "/" schedule: