Skip to content

Commit

Permalink
Merge pull request #128 from ssciwr/use_dep_group_in_ci_remove_requir…
Browse files Browse the repository at this point in the history
…ements_dev

use dev dependency-group in CI
  • Loading branch information
dokempf authored Feb 3, 2025
2 parents b870c30 + c47ba40 commit 20694ff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ jobs:
with:
python-version: '3.13'

- uses: astral-sh/setup-uv@v5

- uses: actions/download-artifact@v4
with:
name: artifacts-sdist
Expand All @@ -157,7 +159,8 @@ jobs:

- name: Install test requirements
run:
python -m pip install -r requirements-dev.txt
# temporary workaround until pip supports installing dependency-groups:
uvx dependency-groups dev | xargs python -m pip install

- name: Set up Git identity
run: |
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ wheel.packages = ["clang_format"]
wheel.py-api = "py2.py3"
cmake.version = ">=3.16.0"
ninja.version = ">=1.10.0"
cmake.verbose = true
build.verbose = true
logging.level = "DEBUG"

[dependency-groups]
dev = ["pytest"]
dev = ["pytest", "pytest-git"]

[tool.cibuildwheel]
# Super-verbose output for debugging purpose
Expand All @@ -52,9 +52,9 @@ build-verbosity = 3
environment = "CMAKE_GENERATOR=Ninja"

# Testing commands for our wheels
test-groups = ["dev"]
before-test = [
"git config --global user.name Name",
"git config --global user.email [email protected]"
]
test-requires = ["pytest", "pytest-git"]
test-command = "pytest {package}/test"
1 change: 0 additions & 1 deletion requirements-dev.txt

This file was deleted.

0 comments on commit 20694ff

Please sign in to comment.