Skip to content

Conversation

@asottile-sentry
Copy link
Contributor

need to get off setuptools so we can get to python 3.12 -- and so we can conditionally do the js build only for self-hosted (since we do it twice for getsentry for no reason!)

@asottile-sentry asottile-sentry requested review from a team May 17, 2024 10:05
@asottile-sentry asottile-sentry requested a review from a team as a code owner May 17, 2024 10:05
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label May 17, 2024
@codecov
Copy link

codecov bot commented May 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.90%. Comparing base (5849309) to head (7b69a4c).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #71098   +/-   ##
=======================================
  Coverage   77.89%   77.90%           
=======================================
  Files        6522     6522           
  Lines      290576   290539   -37     
  Branches    50275    50265   -10     
=======================================
- Hits       226339   226338    -1     
+ Misses      57996    57956   -40     
- Partials     6241     6245    +4     

see 15 files with indirect coverage changes

// this is the path to the django "sentry" app, we output the webpack build here to `dist`
// so that `django collectstatic` and so that we can serve the post-webpack bundles
const sentryDjangoAppPath = path.join(__dirname, 'src/sentry/static/sentry');
const distPath = env.SENTRY_STATIC_DIST_PATH || path.join(sentryDjangoAppPath, 'dist');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this environment variable never used?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was only ever set to exactly the same value as this

Comment on lines +32 to +33
parser = argparse.ArgumentParser()
parser.parse_args()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we planning to make use of this in the future?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's mostly so thing --help doesn't make it just do it -- even though there's no options

@asottile-sentry asottile-sentry merged commit ee461ce into master May 17, 2024
@asottile-sentry asottile-sentry deleted the asottile-build-non-setuptools branch May 17, 2024 11:03
cmanallen pushed a commit that referenced this pull request May 21, 2024
need to get off setuptools so we can get to python 3.12 -- and so we can
conditionally do the js build only for self-hosted (since we do it twice
for getsentry for no reason!)

<!-- Describe your PR here. -->
@github-actions github-actions bot locked and limited conversation to collaborators Jun 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants