Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade to 3.12 #483

Merged
merged 5 commits into from
May 10, 2024
Merged

upgrade to 3.12 #483

merged 5 commits into from
May 10, 2024

Conversation

giovanni-guidini
Copy link
Contributor

Purpose/Motivation

What is the feature? Why is this being done?

Links to relevant tickets

What does this PR do?

Include a brief description of the changes in this PR. Bullet points are your friend.

Notes to Reviewer

Anything to note to the team? Any tips on how to review, or where to start?

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@giovanni-guidini giovanni-guidini marked this pull request as ready for review April 4, 2024 12:01
@giovanni-guidini giovanni-guidini requested review from a team as code owners April 4, 2024 12:01
@codecov-notifications
Copy link

codecov-notifications bot commented Apr 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codecov-qa
Copy link

codecov-qa bot commented Apr 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.54%. Comparing base (1f86f07) to head (4daf15c).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #483      +/-   ##
==========================================
+ Coverage   91.52%   91.54%   +0.01%     
==========================================
  Files         602      601       -1     
  Lines       16396    16409      +13     
==========================================
+ Hits        15006    15021      +15     
+ Misses       1390     1388       -2     
Flag Coverage Δ
unit 91.54% <ø> (+0.01%) ⬆️
unit-latest-uploader 91.54% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

codecov-public-qa bot commented Apr 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.54%. Comparing base (1f86f07) to head (4daf15c).

✅ All tests successful. No failed tests found ☺️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #483      +/-   ##
==========================================
+ Coverage   91.52%   91.54%   +0.01%     
==========================================
  Files         602      601       -1     
  Lines       16396    16409      +13     
==========================================
+ Hits        15006    15021      +15     
+ Misses       1390     1388       -2     
Flag Coverage Δ
unit 91.54% <ø> (+0.01%) ⬆️
unit-latest-uploader 91.54% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
codecov/settings_prod.py 0.00% <ø> (ø)

... and 8 files with indirect coverage changes

Impacted file tree graph

@giovanni-guidini giovanni-guidini changed the title upgrade packages until the project builds and tests run upgrade to 3.12 Apr 8, 2024
nora-codecov
nora-codecov previously approved these changes Apr 25, 2024
Copy link

codecov bot commented Apr 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.82%. Comparing base (1f86f07) to head (4daf15c).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##            main    #483     +/-   ##
=======================================
+ Coverage   95.79   95.82   +0.03     
=======================================
  Files        777     777             
  Lines      17252   17266     +14     
=======================================
+ Hits       16525   16544     +19     
+ Misses       727     722      -5     
Flag Coverage Δ
unit 91.54% <ø> (+0.01%) ⬆️
unit-latest-uploader 91.54% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -15,7 +15,7 @@ _start_gunicorn() {
if [[ "$STATSD_HOST" ]]; then
suffix="--statsd-host ${STATSD_HOST}:${STATSD_PORT}"
fi
if [[ "$RUN_ENV" == "ENTERPRISE" ]] || [[ "$RUN_ENV" == "enterprise" ]] || [[ "$RUN_ENV" == "DEV" ]]; then
if [ "$RUN_ENV" == "ENTERPRISE" ] || [ "$RUN_ENV" == "DEV" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you verify this works? Doing docker-compose up and ensuring the api pod runs the migrations script on its own would do it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did run the docker compose and verified that the api was running / I was able to access it. So... if that would do it I'd say I verified that it works, yes.

@@ -1,11 +1,5 @@
import os

import sentry_sdk
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this never used or?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All these imports already exist in settings_base.py.
I assumed they were reduntant because settings_base is imported in settings_prod

adrian-codecov
adrian-codecov previously approved these changes Apr 29, 2024
Copy link
Contributor

@adrian-codecov adrian-codecov left a comment

Choose a reason for hiding this comment

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

Left some quick comments/questions, otherwise lgtm

@giovanni-guidini giovanni-guidini added this pull request to the merge queue May 10, 2024
Merged via the queue into main with commit 5aa4b11 May 10, 2024
21 of 22 checks passed
@giovanni-guidini giovanni-guidini deleted the gio/update-3.12 branch May 10, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants