From 9f456bedf6ca7b082e5ca5428091eaa565d0040c Mon Sep 17 00:00:00 2001 From: Mirko Galimberti Date: Tue, 28 Nov 2023 13:43:19 +0100 Subject: [PATCH] Revert a specific commit in Kivy, as looks the offending one. --- ci/windows_ci.ps1 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ci/windows_ci.ps1 b/ci/windows_ci.ps1 index a5279f2..a1c1251 100644 --- a/ci/windows_ci.ps1 +++ b/ci/windows_ci.ps1 @@ -49,7 +49,12 @@ function Test-kivy() { python -m pip config set install.find-links "$(pwd)\dist" - git clone --depth 1 https://github.com/kivy/kivy.git kivy_src + git clone https://github.com/kivy/kivy.git kivy_src + + cd kivy_src + git revert adb8344227d3095be026ad27fa9c07e130e7418a -n # revert Kivy PR #8342 + cd .. + # use the current kivy_deps just built, not the older version specified in the reqs ((get-content -Path kivy_src/pyproject.toml -Raw) -replace "kivy_deps.$env:PACKAGE_TARGET`_dev~.+;","kivy_deps.$env:PACKAGE_TARGET`_dev;") | set-content -Path kivy_src/pyproject.toml ((get-content -Path kivy_src/pyproject.toml -Raw) -replace "kivy_deps.$env:PACKAGE_TARGET~.+;","kivy_deps.$env:PACKAGE_TARGET;") | set-content -Path kivy_src/pyproject.toml @@ -62,7 +67,7 @@ function Test-kivy() { echo "[run]`nplugins = kivy.tools.coverage`n" > .coveragerc - python -m pytest . --deselect=test_clipboard.py::test_clipboard_copy_paste_with_emoji + python -m pytest . }