Skip to content

Commit 7cca4b2

Browse files
committed
Fix fetch-depth configuration in build workflow and update scikit-build provider in pyproject.toml
1 parent e32d990 commit 7cca4b2

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717
steps:
1818
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
1921

2022
- uses: actions/setup-python@v5
2123
with:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ minimum-version = "3.21"
4242
# pip install . -C cmake.define.HF_USE_OPENMP=ON -C cmake.define.HF_USE_FFTW_THREADS=ON
4343

4444
[tool.scikit-build.metadata.version]
45-
provider = "scikit_build_core.setuptools_scm"
45+
provider = "setuptools_scm"
4646

4747
[tool.setuptools_scm]
4848
# Strip leading 'v' from tags like v1.2.3 automatically

0 commit comments

Comments
 (0)