Which code branch is the stable version?

I want to see how sentry running with source code, so I clone branch ‘releases/9.0.x’ and , set development environment(https://docs.sentry.io/internal/environment/#development-environment) , but when I run “sentry upgrade”, I got this error:

  File "***/sentry/src/sentry/models/sentryapp.py", line 11, in <module>
ImportError: cannot import name ParanoidModel

I can run ‘sentry run web’ with pip installed version, so I guess this branch is not the pip stable version, and I tried master branch, it running but can’t show web page normally. So which branch I can run with source code ?

That branch relates to what we ship. Specificallly the tagged version 9.0.0.

I’m not sure why you’d be having that issue though. Did you have Sentry running before on a different branch?

What version of python and OS?

Thanks ! The main branch and 9.0 branch all running well in a new , clean environment.