From bea663f5948c829c191e8c4671085e98a3f878bc Mon Sep 17 00:00:00 2001 From: debugtalk Date: Tue, 14 Jun 2022 13:29:08 +0800 Subject: [PATCH] change: update changelog --- docs/CHANGELOG.md | 3 +-- hrp/internal/builtin/utils_windows.go | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 9262a3f3..d7ea9f40 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -5,9 +5,8 @@ **go version** - feat #1342: support specify custom python3 venv, priority is greater than $HOME/.hrp/venv -- feat: assert python3 package is ready with specified version +- feat: assert python3 package installed and version matched - refactor: build plugin mechanism, cancel automatic installation of dependencies -- fix: pip upgrade httprunner when installing hrp - fix #1352: avoid conversion to exponential notation **python version** diff --git a/hrp/internal/builtin/utils_windows.go b/hrp/internal/builtin/utils_windows.go index db1c2b59..1946ba0c 100644 --- a/hrp/internal/builtin/utils_windows.go +++ b/hrp/internal/builtin/utils_windows.go @@ -18,9 +18,7 @@ func getPython3Executable(venvDir string) string { return filepath.Join(venvDir, "Scripts", "python3.exe") } -// EnsurePython3Venv ensures python3 venv for hashicorp python plugin -// venvDir should be directory path of target venv -func EnsurePython3Venv(venvDir string, packages ...string) (python3 string, err error) { +func ensurePython3Venv(venvDir string, packages ...string) (python3 string, err error) { python3 = getPython3Executable(venvDir) log.Info(). Str("python3", python3).