diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2f02399..24a6010 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true - name: install tools and run Pester diff --git a/bootstrap.ps1 b/bootstrap.ps1 index 37801e2..e715be9 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -26,6 +26,7 @@ function Convert-CustomObjectToHashtable { function Get-BootstrapConfig { $bootstrapConfig = @{ python_version = "3.11" + python_package_manager = "poetry" scoop_installer = "https://raw.githubusercontent.com/xxthunder/ScoopInstall/v1.0.0/install.ps1" scoop_installer_with_repo_arg = $false scoop_default_bucket_base_url = "https://raw.githubusercontent.com/ScoopInstaller/Main/master/bucket" diff --git a/bootstrap.py b/bootstrap.py index f97718c..e68703e 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -375,7 +375,7 @@ def run(self) -> int: if pypi_source: pip_args.extend(["--trusted-host", urlparse(pypi_source.url).hostname]) self.virtual_env.pip(pip_args) - self.virtual_env.run([self.package_manager_name, "install", *package_manager_args]) + self.virtual_env.run(["python", "-m", self.package_manager_name, "install", *package_manager_args]) return 0 @staticmethod