We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent6d2451d commita76c1beCopy full SHA for a76c1be
providers/pip.rb
@@ -133,7 +133,7 @@ def candidate_version
133
definstall_package(version)
134
# if a version isn't specified (latest), is a source archive (ex. http://my.package.repo/SomePackage-1.0.4.zip),
135
# or from a VCS (ex. git+https://git.repo/some_pkg.git) then do not append a version as this will break the source link
136
-ifversion =='latest' ||@new_resource.name.downcase.start_with?('http:') ||['git','hg','svn'].include?(@new_resource.name.downcase.split('+')[0])
+ifversion =='latest' ||@new_resource.name.downcase.start_with?('http:','https:') ||['git','hg','svn'].include?(@new_resource.name.downcase.split('+')[0])
137
version=''
138
else
139
version="==#{version}"