Skip to content
Snippets Groups Projects
Unverified Commit 8c0229a3 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #6858 from bayandin/patch-1

Add python@3.8 handling to virtualenv_install_with_resources
parents 08cc5574 c92a3d3f
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment