Pip is unable to install new pywin32 v309 with the following warning:

  WARNING: The scripts pywin32_postinstall.exe and pywin32_testall.exe
  are installed in 'C:\Python312-x64\Scripts' which is not on PATH.

This now fails all the windows builds.

It looks like this directory is generally required for pip and some
other packages to work properly, we just didn't hit the issue until
it became required for pywin32.

Let's add it to the PATH.

Signed-off-by: Ilya Maximets <[email protected]>
---
 appveyor.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/appveyor.yml b/appveyor.yml
index d0293b211..5ddbde0ca 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -10,7 +10,7 @@ clone_folder: C:\openvswitch_compile
 shallow_clone: true
 
 init:
-- ps: $env:PATH ="C:\Python312-x64;"+$env:PATH
+- ps: $env:PATH ="C:\Python312-x64;C:\Python312-x64\Scripts;"+$env:PATH
 - ps: New-Item -Type HardLink -Path  "C:\Python312-x64\python3.exe"
                               -Value "C:\Python312-x64\python.exe"
 
-- 
2.47.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to