Skip to content

Commit ed3a483

Browse files
authored
dev: Upgrade stripe to v6 (#91270)
This PR aims to upgrade our stripe version from 5.5 -> 6.7 One interesting thing with this version is that now stripe pins the API to the latest version with each new version of the python SDK that gets released. We can "opt-out" of this by explicitly setting the API version to be whatever we want, allowing us to upgrade the python SDK independently of the stripe API. Which I _think_ will give us better typing on the SDK when we accurately type the code. And auto completion, etc. [Notion](https://www.notion.so/sentry/Upgrading-Stripe-from-v3-to-latest-1c88b10e4b5d80adbf87f574c2929d27) [Change log](https://github.com/stripe/stripe-python/blob/v6.7.0/CHANGELOG.md) Our API version is pinned here: https://github.com/getsentry/getsentry/blob/084007241f7138359786fa0efa23dbf372be59f3/getsentry/settings.py#L29-L30 <!-- Sentry employees and contractors can delete or ignore the following. --> ### 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. and is gonna need some rights from me in order to utilize my contributions in this here 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.
1 parent 7a5c954 commit ed3a483

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

requirements-dev-frozen.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ sortedcontainers==2.4.0
203203
soupsieve==2.3.2.post1
204204
sqlparse==0.5.0
205205
statsd==3.3.0
206-
stripe==5.5.0
206+
stripe==6.7.0
207207
structlog==22.1.0
208208
supervisor==4.2.5
209209
symbolic==12.14.1

requirements-frozen.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ snuba-sdk==3.0.43
140140
soupsieve==2.3.2.post1
141141
sqlparse==0.5.0
142142
statsd==3.3.0
143-
stripe==5.5.0
143+
stripe==6.7.0
144144
structlog==22.1.0
145145
symbolic==12.14.1
146146
tiktoken==0.8.0

requirements-getsentry.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ iso3166
1111
pycountry==17.5.14
1212
pyvat==1.3.15
1313
reportlab==4.4.0
14-
stripe==5.5.0
14+
stripe==6.7.0

0 commit comments

Comments
 (0)