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

chore: Update Stripe and pin API to latest version #981

Merged
merged 2 commits into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sentry-sdk[celery]
SQLAlchemy
SQLAlchemy-Utils
statsd
stripe>=9.6.0
stripe>=11.4.1
time-machine
urllib3>=1.26.18
vcrpy
Expand Down
31 changes: 18 additions & 13 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in -o requirements.txt
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile requirements.in
#
amqp==5.2.0
# via kombu
analytics-python==1.3.0b1
Expand Down Expand Up @@ -73,7 +77,7 @@ codecov-ribs==0.1.18
# shared
colour==0.1.5
# via shared
coverage==7.5.0
coverage[toml]==7.5.0
# via
# -r requirements.in
# pytest-cov
Expand Down Expand Up @@ -107,7 +111,7 @@ filelock==3.12.4
# via virtualenv
freezegun==1.5.0
# via pytest-freezegun
google-api-core==2.23.0
google-api-core[grpc]==2.23.0
# via
# google-cloud-core
# google-cloud-pubsub
Expand All @@ -134,7 +138,7 @@ google-crc32c==1.1.2
# google-resumable-media
google-resumable-media==2.7.2
# via google-cloud-storage
googleapis-common-protos==1.59.1
googleapis-common-protos[grpc]==1.59.1
# via
# google-api-core
# grpc-google-iam-v1
Expand Down Expand Up @@ -324,19 +328,17 @@ requests==2.32.3
# stripe
respx==0.20.2
# via -r requirements.in
rfc3986==1.4.0
rfc3986[idna2008]==1.4.0
# via httpx
rsa==4.7.2
# via google-auth
s3transfer==0.10.1
# via boto3
sentry-sdk==2.13.0
sentry-sdk[celery]==2.13.0
# via
# -r requirements.in
# shared
setuptools==75.6.0
# via nodeenv
shared @ https://github.com/codecov/shared/archive/2674ae99811767e63151590906691aed4c5ce1f9.tar.gz#egg=shared
shared @ https://github.com/codecov/shared/archive/2674ae99811767e63151590906691aed4c5ce1f9.tar.gz
# via -r requirements.in
six==1.16.0
# via
Expand Down Expand Up @@ -364,15 +366,15 @@ sqlparse==0.5.0
# via django
statsd==3.3.0
# via -r requirements.in
stripe==9.6.0
stripe==11.4.1
# via -r requirements.in
test-results-parser @ https://github.com/codecov/test-results-parser/archive/c840502d1b4dd7d05b2efc2c1328affaf2acd27c.tar.gz#egg=test-results-parser
test-results-parser @ https://github.com/codecov/test-results-parser/archive/c840502d1b4dd7d05b2efc2c1328affaf2acd27c.tar.gz
# via -r requirements.in
text-unidecode==1.3
# via faker
time-machine==2.14.1
# via -r requirements.in
timestring @ https://github.com/codecov/timestring/archive/d37ceacc5954dff3b5bd2f887936a98a668dda42.tar.gz#egg=timestring
timestring @ https://github.com/codecov/timestring/archive/d37ceacc5954dff3b5bd2f887936a98a668dda42.tar.gz
# via -r requirements.in
tqdm==4.66.1
# via openai
Expand Down Expand Up @@ -410,3 +412,6 @@ zstandard==0.23.0
# via
# -r requirements.in
# shared

# The following packages are considered to be unsafe in a requirements file:
# setuptools
2 changes: 1 addition & 1 deletion services/stripe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from shared.config import get_config

stripe.api_key = get_config("services", "stripe", "api_key")
stripe.api_version = "2024-04-10"
stripe.api_version = "2024-12-18.acacia"

client = stripe.http_client.RequestsClient()
stripe.default_http_client = client
Loading