virtualenv_install_with_resources: add python@3.8 handling
This commit is contained in:
parent
08cc557491
commit
c92a3d3f84
@ -153,7 +153,8 @@ module Language
|
||||
def virtualenv_install_with_resources(options = {})
|
||||
python = options[:using]
|
||||
if python.nil?
|
||||
wanted = %w[python python@2 python2 python3 python@3 pypy pypy3].select { |py| needs_python?(py) }
|
||||
pythons = %w[python python@2 python2 python3 python@3 python@3.8 pypy pypy3]
|
||||
wanted = pythons.select { |py| needs_python?(py) }
|
||||
raise FormulaAmbiguousPythonError, self if wanted.size > 1
|
||||
|
||||
python = wanted.first || "python2.7"
|
||||
|
Loading…
x
Reference in New Issue
Block a user