diff --git a/.github/workflows/create-executables.yaml b/.github/workflows/create-executables.yaml index 4ceb6ac0..92f0764d 100644 --- a/.github/workflows/create-executables.yaml +++ b/.github/workflows/create-executables.yaml @@ -28,7 +28,7 @@ jobs: uses: taiki-e/install-action@just - name: Install the project - run: just sync + run: just sync-locked - name: Create executable run: just create-executable diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/deploy-docs.yaml index 30e01bc3..180a8dca 100644 --- a/.github/workflows/deploy-docs.yaml +++ b/.github/workflows/deploy-docs.yaml @@ -35,7 +35,7 @@ jobs: uses: taiki-e/install-action@just - name: Install the project - run: just sync + run: just sync-locked - name: Build docs run: just build-docs diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9d120f09..47251dd3 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -33,7 +33,7 @@ jobs: uses: taiki-e/install-action@just - name: Install the project - run: just sync + run: just sync-locked - name: Test run: just test-coverage diff --git a/.github/workflows/update-files.yaml b/.github/workflows/update-files.yaml index 7f3a2f4d..852eea02 100644 --- a/.github/workflows/update-files.yaml +++ b/.github/workflows/update-files.yaml @@ -23,7 +23,7 @@ jobs: uses: taiki-e/install-action@just - name: Install the project - run: just sync + run: just sync-locked - name: Set Git credentials run: | diff --git a/justfile b/justfile index d9a091c5..05ad9419 100644 --- a/justfile +++ b/justfile @@ -2,6 +2,9 @@ sync: uv sync --all-extras --all-groups +sync-locked: + uv sync --locked --all-extras --all-groups + format: uv run --locked black src tests uv run --locked ruff check --fix src tests diff --git a/pyproject.toml b/pyproject.toml index d4c7e2e6..5137ce3d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,14 +27,6 @@ requires = ["uv_build>=0.9.5,<0.10.0"] # Packages needed to build RenderCV # See https://peps.python.org/pep-0517/ build-backend = "uv_build" # Build-backend object for building RenderCV -[tool.hatch.build.targets.sdist] -# In the sdist, what do we want to exclude? GIF files are large. -exclude = ["*.gif"] - -[tool.hatch.build.targets.wheel] -# In the wheel, what do we want to include and exclude? -packages = ["rendercv"] - [project] # Metadata about RenderCV. name = 'rendercv' @@ -123,6 +115,12 @@ docs = [ # RenderCV uses various tools to check code quality, format code, build docs, and package the project. # Their configurations are specified below so contributors and IDEs can pick them up automatically. +[tool.uv] +default-groups = "all" + +[tool.uv.pip] +all-extras = true + [tool.ruff] line-length = 88