audit: temporarily allow python3.9 rc

This commit is contained in:
Dustin Rodrigues 2020-09-16 11:32:32 -04:00
parent 164f0f0ee0
commit 04504d119a

View File

@ -712,6 +712,11 @@ module Homebrew
"vbindiff" => "3.0_beta",
}.freeze
# used for formulae that are unstable but need CI run without being in homebrew/core
UNSTABLE_DEVEL_ALLOWLIST = {
"python@3.9" => "3.9.0rc",
}.freeze
GNOME_DEVEL_ALLOWLIST = {
"libart" => "2.3",
"gtk-mac-integration" => "2.1",
@ -784,6 +789,7 @@ module Homebrew
matched = Regexp.last_match(1)
version_prefix = stable_version_string.sub(/\d+$/, "")
return if UNSTABLE_ALLOWLIST[formula.name] == version_prefix
return if UNSTABLE_DEVEL_ALLOWLIST[formula.name] == version_prefix
problem "Stable version URLs should not contain #{matched}"
when %r{download\.gnome\.org/sources}, %r{ftp\.gnome\.org/pub/GNOME/sources}i