File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 139139# as to what was a warning vs an error. In addition, several of the error messages contain similar
140140# content to the warnings (such as encouraging use of .python-version and major version syntax),
141141# which would mean duplicate content if we showed both.
142- python_version::warn_or_error_if_python_version_file_missing " ${python_version_origin} " " ${python_major_version} "
142+ python_version::warn_or_error_if_python_version_file_missing " ${python_version_origin} " " ${python_major_version} " " ${package_manager} "
143143python_version::warn_if_deprecated_major_version " ${python_major_version} " " ${python_version_origin} "
144144python_version::warn_if_patch_update_available " ${python_full_version} " " ${python_major_version} " " ${python_version_origin} "
145145
Original file line number Diff line number Diff line change @@ -539,6 +539,7 @@ function python_version::resolve_python_version() {
539539function python_version::warn_or_error_if_python_version_file_missing() {
540540 local python_version_origin=" ${1} "
541541 local python_major_version=" ${2} "
542+ local package_manager=" ${3} "
542543
543544 if [[ " ${python_version_origin} " == " .python-version" ]]; then
544545 return 0
You can’t perform that action at this time.
0 commit comments