Skip to content

Commit 051f2a0

Browse files
ksundenmeeseeksmachine
authored andcommitted
Backport PR matplotlib#32242: ci: Force-enable long path support on AppVeyor
1 parent b301a38 commit 051f2a0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.appveyor.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ cache:
4040
- '%USERPROFILE%\.cache\matplotlib'
4141

4242
init:
43+
# Force enable long path support, because micromamba isn't doing it correctly.
44+
# https://github.com/mamba-org/mamba/issues/4392
45+
- ps:
46+
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem"
47+
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
4348
- ps:
4449
Invoke-Webrequest
4550
-URI https://micro.mamba.pm/api/micromamba/win-64/latest

0 commit comments

Comments
 (0)