Skip to content

Commit

Permalink
Merge pull request #485 from robbievanleeuwen/dependency/uv-0.5.2
Browse files Browse the repository at this point in the history
Bump astral-sh/uv from 0.4.29 to 0.5.2
  • Loading branch information
robbievanleeuwen authored Nov 16, 2024
2 parents 7621409 + 215dfd3 commit da4970a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [opened, reopened, synchronize]

env:
UV_VERSION: "0.4.29"
UV_VERSION: "0.5.2"
DEFAULT_PYTHON_VERSION: "3.12"

concurrency:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
run: uv python install ${{ env.DEFAULT_PYTHON_VERSION }}

- name: Install dependencies
run: uv sync -p ${{ env.DEFAULT_PYTHON_VERSION }} --frozen --all-extras --no-group test --no-group docs
run: uv sync -p ${{ env.DEFAULT_PYTHON_VERSION }} --frozen --all-extras --no-group dev --no-group docs --no-group test

- name: Run pyright
run: uv run -p ${{ env.DEFAULT_PYTHON_VERSION }} --no-sync pyright
Expand Down Expand Up @@ -98,11 +98,11 @@ jobs:

- name: Install test dependencies
if: matrix.session != 'tests-extended'
run: uv sync -p ${{ matrix.python }} --frozen --extra rhino --extra dxf --no-group docs --no-group lint
run: uv sync -p ${{ matrix.python }} --frozen --extra rhino --extra dxf --no-group dev --no-group docs --no-group lint

- name: Install extended test dependencies
if: matrix.session == 'tests-extended'
run: uv sync -p ${{ matrix.python }} --frozen --all-extras --no-group docs --no-group lint
run: uv sync -p ${{ matrix.python }} --frozen --all-extras --no-group dev --no-group docs --no-group lint

- name: Run pytest
run: uv run -p ${{ matrix.python }} --no-sync coverage run --parallel-mode -m pytest -m 'not benchmark_suite' --junitxml=junit.xml -o junit_family=legacy
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
run: uv python install ${{ env.DEFAULT_PYTHON_VERSION }}

- name: Install dependencies
run: uv sync -p ${{ env.DEFAULT_PYTHON_VERSION }} --frozen --extra rhino --extra dxf --no-group test --no-group lint
run: uv sync -p ${{ env.DEFAULT_PYTHON_VERSION }} --frozen --extra rhino --extra dxf --no-group dev --no-group lint --no-group test

- name: Install pandoc
uses: pandoc/actions/setup@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- master

env:
UV_VERSION: "0.4.29"
UV_VERSION: "0.5.2"
DEFAULT_PYTHON_VERSION: "3.12"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ build:
- asdf install uv latest
- asdf global uv latest
- uv python install 3.12
- uv sync -p 3.12 --frozen --extra rhino --extra dxf --no-group test --no-group lint
- uv sync -p 3.12 --frozen --extra rhino --extra dxf --no-group dev --no-group lint --no-group test
- uv run -p 3.12 --no-sync -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
22 changes: 11 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ pardiso = [
]

[dependency-groups]
dev = [
"ipympl==0.9.4",
"notebook==7.2.2",
"sphinx-autobuild==2024.10.03",
]
docs = [
"furo==2024.8.6",
"sphinx==8.1.3",
Expand All @@ -71,25 +76,20 @@ docs = [
"sphinx-copybutton==0.5.2",
"sphinxext-opengraph==0.9.1",
]
test = [
"pytest==8.3.3",
"pytest-benchmark[histogram]==5.1.0",
"pytest-check==2.4.1",
"coverage[toml]==7.6.4",
]
lint = [
"pre-commit==4.0.1",
"ruff==0.7.1",
"pyright==1.1.387",
]
dev = [
"ipympl==0.9.4",
"notebook==7.2.2",
"sphinx-autobuild==2024.10.03",
test = [
"pytest==8.3.3",
"pytest-benchmark[histogram]==5.1.0",
"pytest-check==2.4.1",
"coverage[toml]==7.6.4",
]

[tool.uv]
default-groups = ["docs", "test", "lint", "dev"]
default-groups = ["dev", "docs", "lint", "test"]

[tool.pyright]
venvPath = "."
Expand Down

0 comments on commit da4970a

Please sign in to comment.