Closed Uporaba1 closed 5 years ago
@joshuarli can u fix it pls?
master
's being made compatible with Django 1.9, which sentry master will be on soon. I should have done it in a backwards compatible manner though. For now, you can just install https://github.com/getsentry/sentry-auth-saml2/archive/e519afe24bfc8778ca7797a1878a62bff4b29dfd.zip
which doesn't have those changes.
I won't be changing it to be backwards compatible; we're going to be moving these external plugin repositories into sentry very soon anyways.
For people running the open source version, does this mean we'll be seeing a tagged version of Sentry 10.0 soon, or are we expected to install from HEAD of sentry master (with the corresponding lack of documentation)?
Having this barely documented workaround for people running from the most recently tagged Sentry would be a poor user experience. At the minimum this should be mentioned in the README for people running/installing Sentry 9.1.2.
@mbarrien I looked into this more and turns out Sentry 9.1.2 is running on Django 1.6 - keeping backwards compat for that version of Django totally went over my head, haha. So sorry about that. You're right that that workaround is a poor user experience; fIxed in https://github.com/getsentry/sentry-auth-saml2/pull/46.
Thanks for restoring the backwards compatibility! Would be even more excited if there was an update announced about https://forum.sentry.io/t/when-will-a-new-version-be-tagged-for-sentry-open-source/5622 for Sentry 10.0!
I'd guess at the very latest, by december :) Stay tuned.
There was a problem when adding the sentry-auth-saml2 module through the command specified in the documentation:
pip install https://github.com/getsentry/sentry-auth-saml2/archive/master.zip
after installing the module, the sentry crashed with an error:
In file sentry_auth_saml2 / forms.py need to change:
django.forms.utils import ErrorList
ondjango.forms.util import ErrorList
After change:
You broke it 22 days ago. I created a pull request to fix this error.