From dd1f3b130cbee24e3a726d4c2e6f828fb025d959 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sat, 29 Oct 2022 10:29:50 -0400 Subject: [PATCH 1/2] ci: fix issue with git security fix Signed-off-by: Henry Schreiner --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ad071708..2bf6a5fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,10 @@ before-all = [ before-build = "pip install -r requirements-repair.txt" repair-wheel-command = "python scripts/repair_wheel.py -w {dest_dir} {wheel}" test-extras = "test" -test-command = "pytest --ignore={project}/tests/test_distribution.py {project}/tests" +test-command = [ + "git config --global protocol.file.allow always", + "pytest --ignore={project}/tests/test_distribution.py {project}/tests", +] build-verbosity = "1" [tool.cibuildwheel.linux] From 082abf56584237828357a63b37a3b4b97395e20f Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sat, 29 Oct 2022 12:04:22 -0400 Subject: [PATCH 2/2] fix: more specific limits for skbuild --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2bf6a5fc..a43f6869 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,7 @@ [build-system] requires = [ - "scikit-build>=0.12", + "scikit-build>=0.12; python_version>='3.6'", + "scikit-build>=0.12,<0.16; python_version<'3.6'", "setuptools>=42", ] build-backend = "setuptools.build_meta"