Skip to content

Commit d8db7d6

Browse files
authored
Merge pull request #20376 from mrclary/fix-icp
PR: Fix patch for conda-based installers
2 parents 00a9702 + 0510ab5 commit d8db7d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

installers-conda/build_conda_pkgs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ class SpyderCondaPkg(BuildCondaPkg):
200200
def _patch_source(self):
201201
self.logger.info("Creating Spyder source patch...")
202202

203-
patch = self.repo.git.format_patch(
204-
"..origin/installers-conda-patch", "--stdout", "-U3"
203+
patch = self.repo.git.diff(
204+
"...origin/installers-conda-patch"
205205
)
206206
# newline keyword is not added to pathlib until Python>=3.10,
207207
# so we must use open to ensure LF on Windows

0 commit comments

Comments
 (0)