aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/language/python.rb2
-rw-r--r--Library/Homebrew/migrator.rb5
-rw-r--r--Library/Homebrew/test/Gemfile.lock32
3 files changed, 22 insertions, 17 deletions
diff --git a/Library/Homebrew/language/python.rb b/Library/Homebrew/language/python.rb
index 898f2ae59..c41e22b5c 100644
--- a/Library/Homebrew/language/python.rb
+++ b/Library/Homebrew/language/python.rb
@@ -9,7 +9,7 @@ module Language
Version.create(version.to_s)
end
- def self.homebrew_site_packages(version = "2.7")
+ def self.homebrew_site_packages(version = "3.6")
HOMEBREW_PREFIX/"lib/python#{version}/site-packages"
end
diff --git a/Library/Homebrew/migrator.rb b/Library/Homebrew/migrator.rb
index 3ccf2f23c..7287a3c88 100644
--- a/Library/Homebrew/migrator.rb
+++ b/Library/Homebrew/migrator.rb
@@ -193,6 +193,11 @@ class Migrator
link_oldname_opt
link_newname unless old_linked_keg.nil?
update_tabs
+ return unless formula.outdated?
+ opoo <<~EOS
+ #{Formatter.identifier(newname)} is outdated! Please run as soon as possible:
+ brew upgrade #{newname}
+ EOS
rescue Interrupt
ignore_interrupts { backup_oldname }
rescue Exception => e # rubocop:disable Lint/RescueException
diff --git a/Library/Homebrew/test/Gemfile.lock b/Library/Homebrew/test/Gemfile.lock
index a3f9c4c47..0d43174e9 100644
--- a/Library/Homebrew/test/Gemfile.lock
+++ b/Library/Homebrew/test/Gemfile.lock
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
- ast (2.3.0)
+ ast (2.4.0)
codecov (0.1.10)
json
simplecov
@@ -9,31 +9,31 @@ GEM
diff-lcs (1.3)
docile (1.1.5)
json (2.1.0)
- parallel (1.12.0)
- parallel_tests (2.17.0)
+ parallel (1.12.1)
+ parallel_tests (2.21.2)
parallel
- parser (2.4.0.2)
- ast (~> 2.3)
+ parser (2.5.0.2)
+ ast (~> 2.4.0)
powerpack (0.1.1)
rainbow (3.0.0)
- rspec (3.6.0)
- rspec-core (~> 3.6.0)
- rspec-expectations (~> 3.6.0)
- rspec-mocks (~> 3.6.0)
- rspec-core (3.6.0)
- rspec-support (~> 3.6.0)
- rspec-expectations (3.6.0)
+ rspec (3.7.0)
+ rspec-core (~> 3.7.0)
+ rspec-expectations (~> 3.7.0)
+ rspec-mocks (~> 3.7.0)
+ rspec-core (3.7.1)
+ rspec-support (~> 3.7.0)
+ rspec-expectations (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.6.0)
+ rspec-support (~> 3.7.0)
rspec-its (1.2.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
- rspec-mocks (3.6.0)
+ rspec-mocks (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.6.0)
+ rspec-support (~> 3.7.0)
rspec-retry (0.5.6)
rspec-core (> 3.3, < 3.8)
- rspec-support (3.6.0)
+ rspec-support (3.7.1)
rspec-wait (0.0.9)
rspec (>= 3, < 4)
rubocop (0.52.1)