Skip to content
Merged
2 changes: 0 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# fetch all history so that setuptools-scm works
fetch-depth: 0
persist-credentials: false

- name: Get current week number of year
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/cache_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# fetch all history so that setuptools-scm works
fetch-depth: 0
persist-credentials: false

# Install Micromamba with conda-forge dependencies
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# fetch all history so that setuptools-scm works
fetch-depth: 0
persist-credentials: false

- name: Get current week number of year
Expand Down Expand Up @@ -197,8 +195,6 @@ jobs:
ref: gh-pages
# Checkout to this folder instead of the current one
path: deploy
# Download the entire history
fetch-depth: 0
persist-credentials: true
if: (github.event_name == 'release' || github.event_name == 'push') && (matrix.os == 'ubuntu-latest')

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci_doctests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# fetch all history so that setuptools-scm works
fetch-depth: 0
persist-credentials: false

# Install Micromamba with conda-forge dependencies
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# fetch all history so that setuptools-scm works
fetch-depth: 0
persist-credentials: false
lfs: false

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci_tests_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# fetch all history so that setuptools-scm works
fetch-depth: 0
persist-credentials: false
lfs: false

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci_tests_legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# fetch all history so that setuptools-scm works
fetch-depth: 0
persist-credentials: false

# Install Micromamba with conda-forge dependencies
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# fetch all history so that setuptools-scm works
fetch-depth: 0
persist-credentials: false

- name: Set up Python
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=80", "setuptools-scm>=9.2"]
requires = ["setuptools>=80", "setuptools-scm>=10.0.4"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -70,6 +70,9 @@ version_scheme = "release-branch-semver"
local_scheme = "node-and-date"
fallback_version = "999.999.999+unknown"

[tool.setuptools_scm.scm.git]
pre_parse = "fetch_on_shallow"

[tool.codespell]
ignore-words-list = "astroid,te,tripel,trough"

Expand Down
Loading