From 657131f86154beef279d1a97e58e92a6b232ee71 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Thu, 14 Mar 2024 13:07:33 -0400 Subject: [PATCH] Don't write commit-file for editable installs --- rapids_build_backend/impls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rapids_build_backend/impls.py b/rapids_build_backend/impls.py index 1ff3dec..0771fa0 100644 --- a/rapids_build_backend/impls.py +++ b/rapids_build_backend/impls.py @@ -341,7 +341,7 @@ def get_requires_for_build_sdist(config_settings): def get_requires_for_build_editable(config_settings): config = Config(config_settings=config_settings) - with _edit_pyproject(config), _edit_git_commit(config): + with _edit_pyproject(config): requires = _process_dependencies(config) if hasattr( @@ -371,7 +371,7 @@ def build_sdist(sdist_directory, config_settings=None): def build_editable(wheel_directory, config_settings=None, metadata_directory=None): config = Config(config_settings=config_settings) - with _edit_pyproject(config), _edit_git_commit(config): + with _edit_pyproject(config): return _get_backend(config.build_backend).build_editable( wheel_directory, config_settings, metadata_directory )