We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16bc5b4 commit 40347a0Copy full SHA for 40347a0
tools/distribution/test_dist.sh
@@ -79,7 +79,7 @@ enable_py_version() {
79
80
# The latest installed Python version that matches the partial version number
81
# (e.g. "3.9.5").
82
- local version="$(pyenv versions --bare | grep "${partial_version}" | tail -1)"
+ local version="$(pyenv versions --bare | grep "${partial_version}\." | tail -1)"
83
if [[ -z "${version}" ]]; then
84
# Install the latest available non-dev version.
85
version="$(pyenv install --list | grep " ${partial_version}\." | tail -1 \
0 commit comments