From 9bd92bb9a1e3addded6baf077451642d5dbb6774 Mon Sep 17 00:00:00 2001 From: Ljzd-PRO <63289359+Ljzd-PRO@users.noreply.github.com> Date: Wed, 22 May 2024 19:21:54 +0800 Subject: [PATCH] test: try to fix Current Python version (3.11.9) is not allowed by the project (~3.10). --- tests/plugin_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/plugin_test.py b/tests/plugin_test.py index d586ed59..7448f3fc 100644 --- a/tests/plugin_test.py +++ b/tests/plugin_test.py @@ -215,7 +215,7 @@ async def create_poetry_project(self) -> None: if not self.path.exists(): self.path.mkdir(parents=True) proc = await create_subprocess_shell( - f"""poetry init --name=plugin-test --python=">=3.9,<4.0" -n && sed -i "s/\\^/~/g" pyproject.toml && poetry env info --ansi && poetry add {self.whl_path}""", + f"""poetry init --name=plugin-test --python=">=3.9,<4.0" -n""", stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=self.path,