Skip to content

Commit

Permalink
add django-jsonfield and kombu dependency manually
Browse files Browse the repository at this point in the history
  • Loading branch information
Luka Lüdicke committed Jan 4, 2017
1 parent 56ca3fd commit 6c3df10
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
["django-bcrypt", "0.9.2"],
["django-sendmail-backend", "0.1.2"],
]
if Gem::Version.new(node['sentry']['version']) < Gem::Version.new('8.0')
# pin some necessary packages so that database migration on older versions can work
# The sentry team did not backport these dependency changes so gotta install it manually
default['sentry']['plugins'] << ['django-jsonfield', '0.9.13'] # https://github.com/getsentry/sentry/issues/1648
default['sentry']['plugins'] << ['kombu', '3.0.37'] # similar issue
end

# dependencies per: https://docs.getsentry.com/on-premise/server/installation/python/
default["sentry"]["dependency"]["packages"] = [
"python-dev",
Expand Down

0 comments on commit 6c3df10

Please sign in to comment.