diff --git a/resources/install.rb b/resources/install.rb index 7f88cd8..5e8f01a 100644 --- a/resources/install.rb +++ b/resources/install.rb @@ -38,7 +38,7 @@ def pyversion(binary) action :install do converge_if_changed :version, :pip_version do - valid_name_regex = /^python3\.?\d?$/ + valid_name_regex = /^python3\.?(\d+)?$/ if new_resource.source == 'portable_pypy3' package 'bzip2'