Skip to content

deps: Update stripe requirement from <16,>=15.6.1 to >=16.0.0,<17 - #204

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/stripe-gte-16.0.0-and-lt-17
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/stripe-gte-16.0.0-and-lt-17

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 8, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on stripe to permit the latest version.

Release notes

Sourced from stripe's releases.

v16.0.0

See the changelog for the full release notes.

Changelog

Sourced from stripe's changelog.

16.0.0 - 2026-09-30

This release changes the pinned API version to 2026-09-30.endive.

  • #1904 Support EventNotifications with singleton related objects

  • #1909 Allow suppressing Stripe notices

    Set the STRIPE_SUPPRESS_NOTICES environment variable to true to suppress Stripe notices in test and sandbox environments when not running under a detected AI agent. Notices remain enabled by default and continue to be shown to AI agents.

  • #1911 Fix account scoping for event notification handler callback clients

    • Fix callback clients to use the event's Stripe context and preserve the original client's non-account configuration.
    • Fix API errors when using an event notification handler with a client configured with a Stripe account.
  • ⚠️ #1914 Remove deprecated StripeObject.request() method

    The deprecated StripeObject.request() method has been removed. Use StripeClient.raw_request() to make custom API requests.

  • ⚠️ #1915 Rename stripe.Reversal to stripe.TransferReversal

    • ⚠️ Rename the stripe.Reversal resource class to stripe.TransferReversal. Update references and type annotations to use stripe.TransferReversal.
  • ⚠️ #1920 Make path parameters positional-only in all service methods

    Path parameters must now be passed positionally to service methods. Passing them by keyword is no longer supported. This prevents parameter names derived from the API specification from becoming part of the public interface.

    Resource methods are unaffected by this change.

  • ⚠️ #1924 Make path parameters positional-only in all service methods

    Path parameters must now be passed positionally on resource methods that support both classmethod and instance-method call styles (e.g. Coupon.delete). Passing them by keyword is no longer supported.

  • ⚠️ #1899 Update generated code

    • Add support for new resources apps.Install, product_catalog.TrialOffer, tax.Location, and three_d_secure.Authentication
    • Add support for create, list, modify, retrieve, and uninstall methods on resource apps.Install
    • Add support for create, list, modify, and retrieve methods on resource product_catalog.TrialOffer
    • Add support for create, list, and retrieve methods on resource tax.Location
    • Add support for cancel, create, list, retrieve, and submit methods on resource three_d_secure.Authentication
    • Add support for pause method on resource Subscription
    • ⚠️ Add support for new values invalid_address_cmra_address and invalid_address_registered_agent_address on enums Account.FutureRequirement.Error.code, Account.Requirement.Error.code, BankAccount.FutureRequirement.Error.code, BankAccount.Requirement.Error.code, Capability.FutureRequirement.Error.code, Capability.Requirement.Error.code, Person.FutureRequirement.Error.code, and Person.Requirement.Error.code
    • Add support for performance_location on Tax.CalculationLineItem and tax.CalculationCreateParamsLineItem
    • Add support for new value performance on enums Tax.Calculation.ShippingCost.TaxBreakdown.sourcing, Tax.CalculationLineItem.TaxBreakdown.sourcing, and Tax.Transaction.ShippingCost.TaxBreakdown.sourcing
    • Add support for new values admissions_tax, attendance_tax, digital_excise_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, recycling_fee, resort_tax, tourism_tax, and utility_users_tax on enums Tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type, Tax.Calculation.TaxBreakdown.TaxRateDetail.tax_type, Tax.CalculationLineItem.TaxBreakdown.TaxRateDetail.tax_type, and Tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type
    • Add support for destination on Reserve.Hold, Reserve.Plan, and Reserve.Release
    • Add support for manual_release on Reserve.Plan
    • ⚠️ Add support for new value other on enum Reserve.Plan.status
    • ⚠️ Add support for new values manual_release and other on enum Reserve.Plan.type
    • ⚠️ Add support for new value hold_expired on enum Reserve.Release.reason
    • ⚠️ Remove support for value bulk_hold_expiry from enum Reserve.Release.reason
    • Add support for specified_commercial_transactions_act_url on Account.BusinessProfile, AccountCreateParamsBusinessProfile, and AccountModifyParamsBusinessProfile
    • Add support for blik_recurring_payments and sequra_payments on Account.Capability, AccountCreateParamsCapability, AccountModifyParamsCapability, V2.Core.Account.Configuration.Merchant.Capability, v2.core.AccountCreateParamsConfigurationMerchantCapability, and v2.core.AccountModifyParamsConfigurationMerchantCapability
    • Add support for paypay_payments on Account.Capability, Account.Setting, AccountCreateParamsCapability, AccountCreateParamsSetting, AccountModifyParamsCapability, and AccountModifyParamsSetting
    • Add support for sepa_debit_payments on AccountCreateParamsSetting, v2.core.AccountCreateParamsConfigurationMerchant, and v2.core.AccountModifyParamsConfigurationMerchant
    • ⚠️ Change type of AccountRejectParams.reason from string to enum
    • Add support for new values issuing_dispute_provisional_credit_reversal and issuing_dispute_provisional_credit on enum BalanceTransaction.type
    • Add support for paypay on Charge.PaymentMethodDetail, ConfirmationToken.PaymentMethodPreview, ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentAttemptRecord.PaymentMethodDetail, PaymentIntent.PaymentMethodOption, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentConfirmParamsPaymentMethodOption, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodOption, PaymentIntentModifyParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodOption, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationModifyParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.PaymentMethodDetail, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, and SetupIntentModifyParamsPaymentMethodDatum
    • Add support for sequra on Charge.PaymentMethodDetail, Checkout.Session.PaymentMethodOption, ConfirmationToken.PaymentMethodPreview, ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentAttemptRecord.PaymentMethodDetail, PaymentIntent.PaymentMethodOption, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentConfirmParamsPaymentMethodOption, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodOption, PaymentIntentModifyParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodOption, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationModifyParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.PaymentMethodDetail, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, SetupIntentModifyParamsPaymentMethodDatum, and checkout.SessionCreateParamsPaymentMethodOption
    • Add support for electronic_commerce_indicator on Charge.PaymentMethodDetail.Card
    • ⚠️ Change type of Charge.PaymentMethodDetail.Card.mandate from string to expandable($Mandate)

... (truncated)

Commits
  • 2936309 Bump version to 16.0.0
  • 797b959 Add v16 migration guidance links (#1935)
  • 4848f6f Merge pull request #1932 from stripe/latest-codegen-master
  • 000b6f2 Update generated code for v2526 and 588801ef34f7b5f7d6a784d3354f5f93d2a26ffb
  • 78aebc7 Update generated code for v2526 and adad04916772f880317eac10d8c026b401863f1d ...
  • b48375a Pin stripe-mock to the SDK OpenAPI version (#1927)
  • b7ba58e Merge pull request #1917 from stripe/sdk-release/next-major
  • 8427c15 Revise migration guide for SDK v16 API changes
  • 6529349 Make remaining overloaded method args positional only and remove unecessary s...
  • 872b1ae Rename Reversal to TransferReversal (#1915)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [stripe](https://github.com/stripe/stripe-python) to permit the latest version.
- [Release notes](https://github.com/stripe/stripe-python/releases)
- [Changelog](https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-python@v15.6.1...v16.0.0)

---
updated-dependencies:
- dependency-name: stripe
  dependency-version: 16.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

MrChengLen added a commit that referenced this pull request Oct 8, 2026
…ntil their ports

Both majors need code changes first: WeasyPrint 70 reworks the url_fetcher
interface the SSRF guard relies on, and stripe 16 pins an API version that
rejects payment_method_types on Checkout session creation. Excluded from the
python-all group, they arrived as standalone PRs (#191, #204) that could only
sit red. Like the existing cyclonedx-bom and pikepdf caps, they are now
`ignore`d by version range (>=70, >=16); Dependabot raises floors below a cap
and keeps the cap (seen with b75b56c on pikepdf/cyclonedx-bom). Patch and minor
releases below the caps now come in the weekly batch.

New guard test_dependabot_ignores_sit_on_live_caps: every pip ignore range
must match a cap in requirements*.txt, so a port that lifts a cap but forgets
the ignore fails CI instead of freezing the package silently (mutation-
checked). requirements.txt's cap comments say so too. Two earlier unreleased
fragments and the dependabot.yml header are corrected for the new behaviour.

Dependabot security updates and alerts are off on this repo, so the ignores
suppress nothing security-wise; pip-audit on requirements.lock stays the
CVE gate.

Verified: full suite 1734 passed / 123 skipped; ruff clean; gitleaks and the
pre-commit scope guard clean. Code review done, findings applied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dependabot @github

dependabot Bot commented on behalf of github Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

Looks like stripe is no longer being updated by Dependabot, so this is no longer needed.

@dependabot dependabot Bot closed this Oct 8, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/stripe-gte-16.0.0-and-lt-17 branch October 8, 2026 09:14
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.

0 participants