Skip to content

Commit 7e5ba4b

Browse files
authored
ci: fix issue with git security fix (#302)
* ci: fix issue with git security fix Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix: more specific limits for skbuild Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 60a2807 commit 7e5ba4b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[build-system]
22
requires = [
3-
"scikit-build>=0.12",
3+
"scikit-build>=0.12; python_version>='3.6'",
4+
"scikit-build>=0.12,<0.16; python_version<'3.6'",
45
"setuptools>=42",
56
]
67
build-backend = "setuptools.build_meta"
@@ -16,7 +17,10 @@ before-all = [
1617
before-build = "pip install -r requirements-repair.txt"
1718
repair-wheel-command = "python scripts/repair_wheel.py -w {dest_dir} {wheel}"
1819
test-extras = "test"
19-
test-command = "pytest --ignore={project}/tests/test_distribution.py {project}/tests"
20+
test-command = [
21+
"git config --global protocol.file.allow always",
22+
"pytest --ignore={project}/tests/test_distribution.py {project}/tests",
23+
]
2024
build-verbosity = "1"
2125

2226
[tool.cibuildwheel.linux]

0 commit comments

Comments
 (0)