mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Handle case where ruby needs an upgrade, but openssl also needs to be upgraded, and other M106 fixes. (#9912)
* handle case where ruby needs an upgrade, but openssl also needs to be upgraded Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update gcc_dev package for older glibc versions Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update libssp Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update py3_packaging Signed-off-by: Satadru Pramanik <satadru@gmail.com> * rerun upgrade on openssl upgrade too Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fixup pip for older ruby versions Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fixup pip logic Signed-off-by: Satadru Pramanik <satadru@gmail.com> * do not break rubocop install with older ruby Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fix json gem breakage during ruby upgrade Signed-off-by: Satadru Pramanik <satadru@gmail.com> * py3_pip => 24.0 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * add comment Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fixup Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f93d19bdee
commit
7ef6d70736
@@ -37,7 +37,9 @@ class Pip < Package
|
||||
@pip_files_lines = @pip_files[/(?<=Files:\n)[\W|\w]*/, 0].split
|
||||
@pip_files_lines.each do |pip_file|
|
||||
@pip_path = File.expand_path("#{@pip_files_base}#{pip_file}")
|
||||
@destpath = "#{CREW_DEST_DIR.chomp('/')}#{@pip_path}"
|
||||
@destpath = File.join(CREW_DEST_DIR, @pip_path)
|
||||
# Handle older FileUtils from older ruby versions.
|
||||
FileUtils.mkdir_p File.dirname(@destpath) if Gem::Version.new(RUBY_VERSION.to_s) < Gem::Version.new('3.3')
|
||||
FileUtils.install @pip_path, @destpath
|
||||
end
|
||||
eval @pip_install_extras if @pip_install_extras
|
||||
|
||||
Reference in New Issue
Block a user