Skip to content

Commit

Permalink
Empty commit for CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
hameerabbasi committed Feb 7, 2025
1 parent ce6ed35 commit ce628b1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,19 @@ cmake.define.CMAKE_CXX_FLAGS = "/MT"

[tool.cibuildwheel]
build = "cp310-* cp311-* cp312-* cp313-*"
build-frontend = { name = "build[uv]", args = ["--no-isolation"] }
build-frontend = { name = "build", args = ["--no-isolation"] }
build-verbosity = 1
test-requires = ["pytest", "pytest-cov", "PyYAML", "scipy"]
before-build = [
"pip install pip-tools && pip-compile --all-build-deps -o \"{project}/build-reqs.txt\" && pip install -r \"{project}/build-reqs.txt\""
# These two lines get the build requirements from `pyproject.toml`
"pip install pip-tools",
"pip-compile --all-build-deps -o \"{project}/build-reqs.txt\" \"{project}/pyproject.toml\"",
# We install them since we're building without isolation.
"pip install -r \"{project}/build-reqs.txt\"",
# We remove the residual *.so files specific to a CPython version from the last build.
"find \"{project}\" -name *.cpython-*.so -type f -delete"
]
before-test = "uv pip install --no-deps sparse@git+https://github.com/pydata/sparse.git"
before-test = "pip install --no-deps sparse@git+https://github.com/pydata/sparse.git"
test-command = "SPARSE_BACKEND=\"MLIR\" python -m pytest --pyargs sparse.mlir_backend"

[tool.cibuildwheel.linux]
Expand Down

0 comments on commit ce628b1

Please sign in to comment.