提交

ci: make use of Pipenv 2022.7.24 and skip lock on Windows

这个提交包含在:
louistiti
2022-10-13 00:53:58 +08:00
父节点 42a3130394
当前提交 08d7fdf0dd
修改 2 个文件,包含 11 行新增2 行删除
+10 -1
查看文件
@@ -140,7 +140,13 @@ SPACY_MODELS.set('fr', {
}
try {
await command(`pipenv install --deploy`, {
let pipenvInstallCommand = `pipenv install --site-packages`
if (osType === OSTypes.Windows) {
pipenvInstallCommand = `${pipenvInstallCommand} --skip-lock`
}
await command(pipenvInstallCommand, {
shell: true,
stdio: 'inherit'
})
@@ -153,6 +159,9 @@ SPACY_MODELS.set('fr', {
LogHelper.error(
'Please check the error above. It might be related to Microsoft C++ Build Tools. If it is, you can check here: "https://stackoverflow.com/a/64262038/1768162" then restart your machine and retry'
)
LogHelper.error(
'If it is related to some hash mismatch, you can try by installing Pipenv 2022.7.24: pip install pipenv==2022.7.24'
)
}
process.exit(1)