We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See reproduction notes.
When DeprecationWarnings are set to raise and not just warn (e.g. in our test setup), this causes an immediate test failure.
DeprecationWarning
root@ed5bfe3d7af7:/# pip install stripe Successfully installed certifi-2023.11.17 charset-normalizer-3.3.2 idna-3.6 requests-2.31.0 stripe-7.8.1 typing-extensions-4.9.0 urllib3-2.1.0 root@ed5bfe3d7af7:/# python -Xdev -c 'import stripe' /usr/local/lib/python3.12/site-packages/stripe/app_info.py:5: DeprecationWarning: The stripe.app_info package is deprecated, please change your imports to import from stripe directly. From: from stripe.app_info import AppInfo To: from stripe import AppInfo warn( root@ed5bfe3d7af7:/#
No deprecation warning simply from importing the package.
import stripe
Any
stripe-python v7.8.1
Doesn't matter
No response
The text was updated successfully, but these errors were encountered:
Do not needlessly import stripe.app_info
stripe.app_info
2ad13f1
Fixes stripe#1167
980d4b5
Released in 7.8.2
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
See reproduction notes.
When
DeprecationWarning
s are set to raise and not just warn (e.g. in our test setup), this causes an immediate test failure.To Reproduce
Expected behavior
No deprecation warning simply from importing the package.
Code snippets
OS
Any
Language version
Any
Library version
stripe-python v7.8.1
API version
Doesn't matter
Additional context
No response
The text was updated successfully, but these errors were encountered: