Skip to content

Commit 650e80f

Browse files
kkraus14cursoragent
andcommitted
Remove uv workspace and lockfile
The CI uses uv pip install (not uv sync), so the workspace root pyproject.toml and uv.lock provided no practical value. Remove them along with workspace-only artifacts: - Root pyproject.toml (workspace definition, cross-package conflicts) - uv.lock and its .gitattributes / .pre-commit-config.yaml exclusions - { workspace = true } source mappings in cuda_core and cuda_bindings - cuda-pathfinder from cuda_core build-system.requires (was only needed for the workspace resolver) Per-package [tool.uv] conflicts (e.g. cu12 vs cu13 extras) are retained in their respective pyproject.toml files. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 0e87fc1 commit 650e80f

File tree

6 files changed

+2
-5259
lines changed

6 files changed

+2
-5259
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ cuda_core/cuda/core/_cpp/*.hpp -binary text diff
1414
*.svg binary
1515
# SCM syntax highlighting & preventing 3-way merges
1616
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
17-
uv.lock merge=binary linguist-language=TOML linguist-generated=true
1817
# "export-subst" specifies that this file will get filled in with the current
1918
# commit and tag information when running `git archive`. This allows
2019
# `setuptools-scm` to correctly determine the version when building from a git

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
language: python
3030
additional_dependencies:
3131
- https://files.pythonhosted.org/packages/cc/20/ff623b09d963f88bfde16306a54e12ee5ea43e9b597108672ff3a408aad6/pathspec-0.12.1-py3-none-any.whl
32-
exclude: '(.*pixi\.lock)|(\.git_archival\.txt)|uv\.lock'
32+
exclude: '(.*pixi\.lock)|(\.git_archival\.txt)'
3333
args: ["--fix"]
3434

3535
- id: no-markdown-in-docs-source
@@ -46,7 +46,7 @@ repos:
4646
rev: "3e8a8703264a2f4a69428a0aa4dcb512790b2c8c" # frozen: v6.0.0
4747
hooks:
4848
- id: check-added-large-files
49-
exclude: 'cuda_bindings/cuda/bindings/nvml\.pyx|uv\.lock'
49+
exclude: 'cuda_bindings/cuda/bindings/nvml\.pyx'
5050
- id: check-case-conflict
5151
- id: check-docstring-first
5252
- id: check-merge-conflict

cuda_bindings/pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ include-package-data = false
6868
[tool.setuptools.dynamic]
6969
readme = { file = ["DESCRIPTION.rst"], content-type = "text/x-rst" }
7070

71-
[tool.uv.sources]
72-
cuda-pathfinder = { workspace = true }
73-
7471
[tool.cibuildwheel]
7572
build-frontend = "build[uv]"
7673
skip = "*-musllinux_*"

cuda_core/pyproject.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ requires = [
77
"setuptools>=80",
88
"setuptools-scm[simple]>=8",
99
"Cython>=3.2,<3.3",
10-
# cuda-pathfinder is a transitive build dependency via cuda-bindings (which
11-
# is dynamically added by the build backend). Listing it here as a direct
12-
# requirement lets uv's workspace resolver see it during lock.
13-
"cuda-pathfinder",
1410
]
1511
build-backend = "build_hooks"
1612
backend-path = ["."]
@@ -98,10 +94,6 @@ git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--mat
9894
[tool.uv]
9995
conflicts = [[{ extra = "cu12" }, { extra = "cu13" }]]
10096

101-
[tool.uv.sources]
102-
cuda-bindings = { workspace = true }
103-
cuda-pathfinder = { workspace = true }
104-
10597
[tool.cibuildwheel]
10698
build-frontend = "build[uv]"
10799
skip = "*-musllinux_*"

pyproject.toml

Lines changed: 0 additions & 132 deletions
This file was deleted.

0 commit comments

Comments
 (0)