From a8a7d7e19c8d7e67e57c55d0de04e2e9238c17ba Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Thu, 11 Apr 2024 01:57:14 -0700 Subject: [PATCH] Migrate away from setuptools_scm_git_archive (#1345) Co-authored-by: Abhinav Singh <126065+abhinavsingh@users.noreply.github.com> --- .git_archival.txt | 3 +++ pyproject.toml | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.git_archival.txt b/.git_archival.txt index 95cb3eea..3994ec0a 100644 --- a/.git_archival.txt +++ b/.git_archival.txt @@ -1 +1,4 @@ +node: $Format:%H$ +node-date: $Format:%cI$ +describe-name: $Format:%(describe:tags=true)$ ref-names: $Format:%D$ diff --git a/pyproject.toml b/pyproject.toml index 4f368f7b..b584de1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,8 +4,7 @@ requires = [ "setuptools", # Plugins - "setuptools-scm[toml]>=6,!=7.0.0,!=7.0.1,!=7.0.2", - "setuptools-scm-git-archive>=1.1", + "setuptools-scm[toml]>=7.0.5", ] build-backend = "setuptools.build_meta"