Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
requires = [
"setuptools",
"setuptools_scm[toml]",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When asking AI whether it is safe to remove the git_archive, it recommends "setuptools_scm[toml]>=7.0.0"

Longer version of comment:

It was originally created as a plugin to allow setuptools_scm to read version numbers from .git_archival.txt files when building from a downloaded GitHub .tar.gz or .zip source archive (where the .git directory is missing).  However, starting with setuptools_scm version 7.0.0, this functionality was built directly into the core package.  If you remove it, you should ideally pin your setuptools_scm requirement to version 7.0.0 or higher to ensure the native git archive fallback still works.

"setuptools_scm_git_archive",
"wheel",
]
build-backend = 'setuptools.build_meta'
Expand Down
Loading