mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-08 17:09:33 +08:00
change: update changelog
This commit is contained in:
+1
-2
@@ -5,9 +5,8 @@
|
|||||||
**go version**
|
**go version**
|
||||||
|
|
||||||
- feat #1342: support specify custom python3 venv, priority is greater than $HOME/.hrp/venv
|
- 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
|
- refactor: build plugin mechanism, cancel automatic installation of dependencies
|
||||||
- fix: pip upgrade httprunner when installing hrp
|
|
||||||
- fix #1352: avoid conversion to exponential notation
|
- fix #1352: avoid conversion to exponential notation
|
||||||
|
|
||||||
**python version**
|
**python version**
|
||||||
|
|||||||
@@ -18,9 +18,7 @@ func getPython3Executable(venvDir string) string {
|
|||||||
return filepath.Join(venvDir, "Scripts", "python3.exe")
|
return filepath.Join(venvDir, "Scripts", "python3.exe")
|
||||||
}
|
}
|
||||||
|
|
||||||
// EnsurePython3Venv ensures python3 venv for hashicorp python plugin
|
func ensurePython3Venv(venvDir string, packages ...string) (python3 string, err error) {
|
||||||
// venvDir should be directory path of target venv
|
|
||||||
func EnsurePython3Venv(venvDir string, packages ...string) (python3 string, err error) {
|
|
||||||
python3 = getPython3Executable(venvDir)
|
python3 = getPython3Executable(venvDir)
|
||||||
log.Info().
|
log.Info().
|
||||||
Str("python3", python3).
|
Str("python3", python3).
|
||||||
|
|||||||
Reference in New Issue
Block a user