forked from pool/python-stripe
- update to 14.2.0:
* Update generated code
* Add support for event notifications
`V2CoreAccountClosedEvent`, `V2CoreAccountCreatedEvent`, `V2C
oreAccountIncludingConfigurationCustomerCapabilityStatusUpdat
edEvent`,
`V2CoreAccountIncludingConfigurationCustomerUpdatedEvent`, `V
2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpd
atedEvent`,
`V2CoreAccountIncludingConfigurationMerchantUpdatedEvent`, `V
2CoreAccountIncludingConfigurationRecipientCapabilityStatusUp
datedEvent`,
`V2CoreAccountIncludingConfigurationRecipientUpdatedEvent`,
`V2CoreAccountIncludingDefaultsUpdatedEvent`,
`V2CoreAccountIncludingFutureRequirementsUpdatedEvent`,
`V2CoreAccountIncludingIdentityUpdatedEvent`,
`V2CoreAccountIncludingRequirementsUpdatedEvent`, and
`V2CoreAccountUpdatedEvent` with related object
`v2.core.Account`
* Add support for event notification
`V2CoreAccountLinkReturnedEvent`
* Add support for event notifications
`V2CoreAccountPersonCreatedEvent`,
`V2CoreAccountPersonDeletedEvent`, and
`V2CoreAccountPersonUpdatedEvent` with related object
`v2.core.AccountPerson`
* Fix DeprecationWarning when encoding StripeObject
metadata (fixes #1651)
* Update ci to run on Python 3.14 as well
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stripe?expand=0&rev=21
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
398
python-stripe.changes
Normal file
398
python-stripe.changes
Normal file
@@ -0,0 +1,398 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 27 17:22:32 UTC 2026 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 14.2.0:
|
||||
* Update generated code
|
||||
* Add support for event notifications
|
||||
`V2CoreAccountClosedEvent`, `V2CoreAccountCreatedEvent`, `V2C
|
||||
oreAccountIncludingConfigurationCustomerCapabilityStatusUpdat
|
||||
edEvent`,
|
||||
`V2CoreAccountIncludingConfigurationCustomerUpdatedEvent`, `V
|
||||
2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpd
|
||||
atedEvent`,
|
||||
`V2CoreAccountIncludingConfigurationMerchantUpdatedEvent`, `V
|
||||
2CoreAccountIncludingConfigurationRecipientCapabilityStatusUp
|
||||
datedEvent`,
|
||||
`V2CoreAccountIncludingConfigurationRecipientUpdatedEvent`,
|
||||
`V2CoreAccountIncludingDefaultsUpdatedEvent`,
|
||||
`V2CoreAccountIncludingFutureRequirementsUpdatedEvent`,
|
||||
`V2CoreAccountIncludingIdentityUpdatedEvent`,
|
||||
`V2CoreAccountIncludingRequirementsUpdatedEvent`, and
|
||||
`V2CoreAccountUpdatedEvent` with related object
|
||||
`v2.core.Account`
|
||||
* Add support for event notification
|
||||
`V2CoreAccountLinkReturnedEvent`
|
||||
* Add support for event notifications
|
||||
`V2CoreAccountPersonCreatedEvent`,
|
||||
`V2CoreAccountPersonDeletedEvent`, and
|
||||
`V2CoreAccountPersonUpdatedEvent` with related object
|
||||
`v2.core.AccountPerson`
|
||||
* Fix DeprecationWarning when encoding StripeObject
|
||||
metadata (fixes #1651)
|
||||
* Update ci to run on Python 3.14 as well
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 17 01:08:48 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 14.1.0:
|
||||
* Update generated code based on incoming API changes in the
|
||||
2025-12-15.clover API version.
|
||||
* Updated bundled CA certificates
|
||||
* Add create_async method to EphemeralKey
|
||||
- Dropped patch suport-pytest-9.patch, included upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 16 03:57:54 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 14.0.1:
|
||||
* Update generated code based on incoming API changes in the
|
||||
2025-11-17.clover API version.
|
||||
* stripe.error module is now accessible globally
|
||||
* Dramatically improve performance by lazily loading most imports
|
||||
* Re-add tests to our sdist
|
||||
* Add strongly typed EventNotifications
|
||||
* drop support for Python 3.6
|
||||
* migrate from setup.py to pyproject.toml
|
||||
* Deprecated the V1 service accessors living directly under StripeClient
|
||||
* Remove deprecated compatibility exports
|
||||
- Add patch suport-pytest-9.patch:
|
||||
* Do not apply marks to a fixture.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 25 11:28:04 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 12.5.1
|
||||
* #1563 fix: Paginate backwards if `starting_after == None`
|
||||
* Addresses an #1562 where List iteration would be forwards when
|
||||
`starting_after` was set to `None` but backwards if it was not
|
||||
set at all. Now, it will paginate backwards in both cases.
|
||||
- Use Python 3.11 on SLE-15 by default
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 5 20:08:01 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 12.5.0:
|
||||
* #1554 Add section on private preview SDKs in readme
|
||||
* #1544 Update generated code. This release changes the pinned
|
||||
API version to `2025-08-27.basil`.
|
||||
* Add support for `balance_report`, `payout_details`, and
|
||||
`payout_reconciliation_report` on `AccountSession.Component`
|
||||
and `AccountSession.CreateParamsComponent`
|
||||
* Add support for `name` on `BillingPortal.Configuration`,
|
||||
`billing_portal.Configuration.CreateParams`, and
|
||||
`billing_portal.Configuration.ModifyParams`
|
||||
* Add support for `installments` on
|
||||
`Charge.PaymentMethodDetail.Alma`
|
||||
* Add support for `transaction_id` on
|
||||
`Charge.PaymentMethodDetail.Alma`,
|
||||
`Charge.PaymentMethodDetail.AmazonPay`,
|
||||
`Charge.PaymentMethodDetail.Billie`,
|
||||
`Charge.PaymentMethodDetail.KakaoPay`,
|
||||
`Charge.PaymentMethodDetail.KrCard`,
|
||||
`Charge.PaymentMethodDetail.NaverPay`,
|
||||
`Charge.PaymentMethodDetail.Payco`,
|
||||
`Charge.PaymentMethodDetail.RevolutPay`,
|
||||
`Charge.PaymentMethodDetail.SamsungPay`, and
|
||||
`Charge.PaymentMethodDetail.Satispay`
|
||||
* Add support for `location` and `reader` on
|
||||
`Charge.PaymentMethodDetail.Paynow`
|
||||
* Add support for `amount_includes_iof` on
|
||||
`Checkout.Session.PaymentMethodOption.Pix`,
|
||||
`PaymentIntent.ConfirmParamsPaymentMethodOptionPix`,
|
||||
`PaymentIntent.CreateParamsPaymentMethodOptionPix`,
|
||||
`PaymentIntent.ModifyParamsPaymentMethodOptionPix`,
|
||||
`PaymentIntent.PaymentMethodOption.Pix`, and
|
||||
`checkout.Session.CreateParamsPaymentMethodOptionPix`
|
||||
* Add support for new values `block` and `resolution` on enum
|
||||
`Dispute.PaymentMethodDetail.Card.case_type`
|
||||
* Add support for new value `terminal_android_apk` on enums
|
||||
`File.ListParams.purpose` and `File.purpose`
|
||||
* Add support for new value `terminal_android_apk` on enum
|
||||
`File.CreateParams.purpose`
|
||||
* Add support for `metadata` and `period` on `Invoice.CreatePre
|
||||
viewParamsScheduleDetailPhaseAddInvoiceItem`,
|
||||
`Subscription.CreateParamsAddInvoiceItem`,
|
||||
`Subscription.ModifyParamsAddInvoiceItem`,
|
||||
`SubscriptionSchedule.CreateParamsPhaseAddInvoiceItem`,
|
||||
`SubscriptionSchedule.ModifyParamsPhaseAddInvoiceItem`, and
|
||||
`SubscriptionSchedule.Phase.AddInvoiceItem`
|
||||
* Add support for `exp_month` and `exp_year` on
|
||||
`issuing.Card.CreateParams`
|
||||
* Add support for `excluded_payment_method_types` on
|
||||
`PaymentIntent.CreateParams` and `PaymentIntent`
|
||||
* Add support for `payout_method` on `Payout.CreateParams` and
|
||||
`Payout`
|
||||
* Add support for `mxn` on `Terminal.Configuration.Tipping`,
|
||||
`terminal.Configuration.CreateParamsTipping`, and
|
||||
`terminal.Configuration.ModifyParamsTipping`
|
||||
* Add support for `card` on
|
||||
`terminal.Reader.PresentPaymentMethodParams`
|
||||
* Add support for new value `card` on enum
|
||||
`terminal.Reader.PresentPaymentMethodParams.type`
|
||||
* Add support for new value `2025-08-27.basil` on enum
|
||||
`WebhookEndpoint.CreateParams.api_version`
|
||||
* Add support for error codes `customer_session_expired` and
|
||||
`india_recurring_payment_mandate_canceled` on
|
||||
`Invoice.LastFinalizationError`,
|
||||
`PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`,
|
||||
`SetupIntent.LastSetupError`, and `StripeError`
|
||||
* #1553 Import available http libraries more efficiently
|
||||
* #1549 Introduce V1 namespaces in StripeClient
|
||||
* All the top level non-namespaced services under StripeClient
|
||||
services(eg. customers, products) are copied under the new V1
|
||||
namespace. These top level non-namespaced services will be
|
||||
marked as deprecated in the next major release and will be
|
||||
removed in a future release. Eg.
|
||||
* ```diff
|
||||
* client = StripeClient("sk_test...")
|
||||
|
||||
* # Accessing V1 Stripe services on a StripeClient should be
|
||||
through the V1 namespace
|
||||
* client.customers.list()
|
||||
* + client.v1.customers.list()
|
||||
* ```
|
||||
* Refer to the migration guide for help upgrading.
|
||||
|
||||
* ## 12.4.0 - 2025-07-30
|
||||
* This release changes the pinned API version to
|
||||
`2025-07-30.basil`.
|
||||
|
||||
* #1541 Update generated code
|
||||
* Add support for `instant_payouts_promotion` on
|
||||
`AccountSession.Component` and
|
||||
`AccountSession.CreateParamsComponent`
|
||||
* Add support for `adjustable_quantity` on `BillingPortal.Confi
|
||||
guration.Feature.SubscriptionUpdate.Product`, `billing_portal
|
||||
.Configuration.CreateParamsFeatureSubscriptionUpdateProduct`,
|
||||
and `billing_portal.Configuration.ModifyParamsFeatureSubscrip
|
||||
tionUpdateProduct`
|
||||
* Remove support for value `disabled` from enum
|
||||
`Capability.status`
|
||||
* Add support for `transaction_id` on
|
||||
`Charge.PaymentMethodDetail.Cashapp`
|
||||
* Add support for `origin_context` on `Checkout.Session` and
|
||||
`checkout.Session.CreateParams`
|
||||
* Add support for `template` on `Checkout.Session.InvoiceCreati
|
||||
on.InvoiceDatum.RenderingOption`, `PaymentLink.CreateParamsIn
|
||||
voiceCreationInvoiceDatumRenderingOption`,
|
||||
`PaymentLink.InvoiceCreation.InvoiceDatum.RenderingOption`, `
|
||||
PaymentLink.ModifyParamsInvoiceCreationInvoiceDatumRenderingO
|
||||
ption`, and `checkout.Session.CreateParamsInvoiceCreationInvo
|
||||
iceDatumRenderingOption`
|
||||
* Add support for `setup_future_usage` on
|
||||
`Checkout.Session.PaymentMethodOption.Pix` and
|
||||
`checkout.Session.CreateParamsPaymentMethodOptionPix`
|
||||
* Add support for new value `nz_bank_account` on enum
|
||||
`checkout.Session.CreateParams.payment_method_types`
|
||||
* Change `Identity.VerificationSession.RelatedPerson.account`
|
||||
to be required
|
||||
* Change `Identity.VerificationSession.RelatedPerson.person` to
|
||||
be required
|
||||
* Add support for `duration` on
|
||||
`Invoice.CreatePreviewParamsScheduleDetailPhase`,
|
||||
`SubscriptionSchedule.CreateParamsPhase`, and
|
||||
`SubscriptionSchedule.ModifyParamsPhase`
|
||||
* Change type of
|
||||
`Invoice.CreatePreviewParamsSubscriptionDetail.cancel_at`,
|
||||
`Subscription.CreateParams.cancel_at`, and
|
||||
`Subscription.ModifyParams.cancel_at` from `DateTime` to
|
||||
`DateTime | enum('max_period_end'|'min_period_end')`
|
||||
* Add support for `price_data` on
|
||||
`PaymentLink.CreateParamsLineItem`
|
||||
* Change `PaymentLink.CreateParamsLineItem.price` to be
|
||||
optional
|
||||
* Add support for new value `America/Coyhaique` on enum
|
||||
`reporting.ReportRun.CreateParamsParameter.timezone`
|
||||
* Add support for `standard` on
|
||||
`Tax.Registration.CountryOption.Ae`,
|
||||
`Tax.Registration.CountryOption.Au`,
|
||||
`Tax.Registration.CountryOption.Ch`,
|
||||
`Tax.Registration.CountryOption.Gb`,
|
||||
`Tax.Registration.CountryOption.Jp`,
|
||||
`Tax.Registration.CountryOption.No`,
|
||||
`Tax.Registration.CountryOption.Nz`,
|
||||
`Tax.Registration.CountryOption.Sg`,
|
||||
`tax.Registration.CreateParamsCountryOptionAe`,
|
||||
`tax.Registration.CreateParamsCountryOptionAl`,
|
||||
`tax.Registration.CreateParamsCountryOptionAo`,
|
||||
`tax.Registration.CreateParamsCountryOptionAu`,
|
||||
`tax.Registration.CreateParamsCountryOptionAw`,
|
||||
`tax.Registration.CreateParamsCountryOptionB`,
|
||||
`tax.Registration.CreateParamsCountryOptionBa`,
|
||||
`tax.Registration.CreateParamsCountryOptionBb`,
|
||||
`tax.Registration.CreateParamsCountryOptionBd`,
|
||||
`tax.Registration.CreateParamsCountryOptionBf`,
|
||||
`tax.Registration.CreateParamsCountryOptionBh`,
|
||||
`tax.Registration.CreateParamsCountryOptionCd`,
|
||||
`tax.Registration.CreateParamsCountryOptionCh`,
|
||||
`tax.Registration.CreateParamsCountryOptionEt`,
|
||||
`tax.Registration.CreateParamsCountryOptionGb`,
|
||||
`tax.Registration.CreateParamsCountryOptionGn`,
|
||||
`tax.Registration.CreateParamsCountryOptionIs`,
|
||||
`tax.Registration.CreateParamsCountryOptionJp`,
|
||||
`tax.Registration.CreateParamsCountryOptionMe`,
|
||||
`tax.Registration.CreateParamsCountryOptionMk`,
|
||||
`tax.Registration.CreateParamsCountryOptionMr`,
|
||||
`tax.Registration.CreateParamsCountryOptionNo`,
|
||||
`tax.Registration.CreateParamsCountryOptionNz`,
|
||||
`tax.Registration.CreateParamsCountryOptionOm`,
|
||||
`tax.Registration.CreateParamsCountryOptionR`,
|
||||
`tax.Registration.CreateParamsCountryOptionSg`,
|
||||
`tax.Registration.CreateParamsCountryOptionSr`,
|
||||
`tax.Registration.CreateParamsCountryOptionUy`,
|
||||
`tax.Registration.CreateParamsCountryOptionZa`, and
|
||||
`tax.Registration.CreateParamsCountryOptionZw`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 12 03:27:26 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- We must run stripe-mock during check.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 5 05:11:47 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 11.5.0:
|
||||
* Fix regression when using httpx HTTP client
|
||||
* Change the pinned API version to 2024-12-18.acacia.
|
||||
* Deserialize into correct v2 EventData types
|
||||
* update object tags for meter-related classes
|
||||
* Update the class for ThinEvent to include livemode
|
||||
* Add method to list invoice line items
|
||||
* Bump aiohttp from 3.9.0 to 3.9.4
|
||||
* Use stdlib AsyncMock when available
|
||||
* Add TaxIds API
|
||||
* Remove http client base
|
||||
* Testing: unify http client mock
|
||||
* Remove broken child methods
|
||||
* Move StripeClient usage collection onto StripeService
|
||||
* Measure StripeClient usage
|
||||
* Introduce StripeClient and a service-based call pattern.
|
||||
- Do not run stripe-mock during check, the testsuite handles it for us.
|
||||
- Drop patch use-sys-executable.patch, included upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 03:23:20 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Drop patch also-skip-streaming.patch:
|
||||
* No longer needed.
|
||||
- Add BuildRequires on new stripe-mock service, and run it during the
|
||||
check phase.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 17 03:12:47 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 7.12.0:
|
||||
* Add support for new resource `CustomerSession`
|
||||
* Add support for `create` method on resource `CustomerSession`
|
||||
* Remove support for values `obligation_inbound`,
|
||||
`obligation_payout_failure`, `obligation_payout`, and
|
||||
`obligation_reversal_outbound` from enum `BalanceTransaction.type`
|
||||
* Remove support for value `obligation` from enum
|
||||
`Reporting.ReportRunCreateParams.parameters.reporting_category`
|
||||
* Mark defunct and internal methods as deprecated
|
||||
* Do not raise a DeprecationWarning in `stripe.app_info`
|
||||
* Fix __getattr__ to raise AttributeError rather than returning None.
|
||||
* Add missing explicit reexport for `OAuth`, `Webhook`, `WebhookSignature`
|
||||
* `stripe.api_version`, `stripe.multipart_data_generator`,
|
||||
`stripe.request_metrics` are deprecated.
|
||||
* Move resource type exports to stripe.
|
||||
* Add support for new resources `Climate.Order`, `Climate.Product`, and
|
||||
`Climate.Supplier`
|
||||
* Add support for `cancel`, `create`, `list`, `modify`, and `retrieve`
|
||||
methods on resource `Order`
|
||||
* Add support for `exemption_indicator` on resource class
|
||||
`Charge.PaymentMethodDetails.Card.ThreeDSecure`
|
||||
* Add support for `Paypal` on `Checkout.Session.PaymentMethodOptions`
|
||||
* Add support for Python 3.11/3.12
|
||||
* Include `py.typed` and enable type annotations for the package
|
||||
* Behavior change: nested json objects will now deserialize into
|
||||
instances of specific classes that subclass `StripeObject`.
|
||||
* Behavior change: `PromotionCode.restrictions.currency_options` will now
|
||||
deserialize into `dict` and not `StripeObject`.
|
||||
* This release changes the pinned API version to `2023-10-16`. Please read
|
||||
https://stripe.com/docs/upgrades#2023-10-16 and carefully review the API
|
||||
changes.
|
||||
* Require typing_extensions >= 4.0.0
|
||||
* Remove support for Python 2.
|
||||
* https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v6 for
|
||||
more detailed instructions for 6.0.0+.
|
||||
* Dropped support for Python version 3.4 and 3.5.
|
||||
* Add `upcoming_lines` method to the `Invoice` resource.
|
||||
* Add support for new resource `CustomerCashBalanceTransaction`
|
||||
* Fix incorrect handling of additional request parameters
|
||||
* Removed deprecated `AlipayAccount`, `BitcoinReceiver`,
|
||||
`BitcoinTransaction`, `IssuerFraudRecord`, `Recipient`,
|
||||
`RecipientTransfer`, and `ThreeDSecure` classes.
|
||||
* Removed deprecated `Charge.update_dispute` and `Charge.close_dispute`
|
||||
methods that were using legacy REST API endpoint.
|
||||
* https://github.com/stripe/stripe-python/wiki/Migration-Guide-for-v3
|
||||
contains more information for 3.0.0+.
|
||||
- Add patch use-sys-executable.patch:
|
||||
* Use sys.executable when checking exports.
|
||||
- Add patch also-skip-streaming.patch:
|
||||
* Also skip streaming tests.
|
||||
* Switch to autosetup and pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 11 16:24:22 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 2.63.0
|
||||
* skip python2
|
||||
* API Updates
|
||||
** Add support for new resource ShippingRate
|
||||
** Add support for expire method on resource Checkout.Session
|
||||
** Add support for list_payment_methods method on resource Customer
|
||||
* Stop sending raw exception message as part of Stripe user agent.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 13 08:34:39 UTC 2021 - Danilo Spinella <danilo.spinella@suse.com>
|
||||
|
||||
- Update to v2.60.0
|
||||
* Add support for list_computed_upfront_line_items method on resource Quote
|
||||
* Add support for new Quote API.
|
||||
* Add support for new TaxCode API.
|
||||
* Add support for Identity VerificationSession and VerificationReport APIs
|
||||
* Add support for the Billing Portal Configuration API
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 6 05:47:20 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Add examples to packaged docs
|
||||
- Update to v2.55.2
|
||||
* Fix CA bundle path
|
||||
- from v2.55.1
|
||||
* Fix issue where StripeObjects in lists would not be converted to dicts
|
||||
* Start testing Python 3.9
|
||||
* Include the examples in the built sources
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 23 13:45:46 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Activate tests on all platforms
|
||||
- Update to v2.55
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 6 05:25:55 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Activate tests on x86_64
|
||||
- Update to v2.50
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 25 08:17:10 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Update to v2.49
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 17 08:32:11 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Update to v2.48
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 7 11:13:06 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Update to v2.45
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 7 11:13:06 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v2.23
|
||||
78
python-stripe.spec
Normal file
78
python-stripe.spec
Normal file
@@ -0,0 +1,78 @@
|
||||
#
|
||||
# spec file for package python-stripe
|
||||
#
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-stripe
|
||||
Version: 14.2.0
|
||||
Release: 0
|
||||
Summary: Python bindings for the Stripe API
|
||||
License: MIT
|
||||
URL: https://github.com/stripe/stripe-python
|
||||
Source: https://files.pythonhosted.org/packages/source/s/stripe/stripe-%{version}.tar.gz
|
||||
BuildRequires: %{python_module aiohttp >= 3.9.4}
|
||||
BuildRequires: %{python_module anyio}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module httpx}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 6.0}
|
||||
BuildRequires: %{python_module pytest-mock >= 2.0}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module requests >= 2.20}
|
||||
BuildRequires: %{python_module trio}
|
||||
BuildRequires: %{python_module typing_extensions >= 4.5.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: stripe-mock
|
||||
Requires: python-requests >= 2.20
|
||||
Requires: python-typing_extensions >= 4.5.0
|
||||
Conflicts: python-stripe-api
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Python bindings for the Stripe API.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n stripe-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
stripe-mock &
|
||||
pid=$!
|
||||
# Raises invalid request
|
||||
donttest="test_terminal_readers_process_setup_intent_post "
|
||||
donttest+="or test_promotion_codes_post "
|
||||
# Requires network
|
||||
donttest+="or TestLiveHTTPClients or test_async_raw_request_timeout"
|
||||
%pytest -k "not ($donttest)"
|
||||
kill $pid
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/stripe
|
||||
%{python_sitelib}/stripe-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
3
stripe-12.5.1.tar.gz
Normal file
3
stripe-12.5.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5407d092c355c31393e767d2dcb2d5a8c3980caa9a073acb32d0ccb3c01b04b5
|
||||
size 1432826
|
||||
3
stripe-14.0.1.tar.gz
Normal file
3
stripe-14.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f2d56345bf5d41c1f21f814b00174a3173a0b5eb4e8fc46a8f779e3d7a2efc6e
|
||||
size 1362960
|
||||
3
stripe-14.1.0.tar.gz
Normal file
3
stripe-14.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d002ecd2966a984a52a43e865bc9346c389f20e768e13fdbbe9cb9474f917c23
|
||||
size 1449934
|
||||
3
stripe-14.2.0.tar.gz
Normal file
3
stripe-14.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c707cb0503e179c2d9f18731e94f1333705b5cd9dcaae692db09995ad28d411
|
||||
size 1455417
|
||||
12
suport-pytest-9.patch
Normal file
12
suport-pytest-9.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
Index: stripe-14.0.1/tests/test_integration.py
|
||||
===================================================================
|
||||
--- stripe-14.0.1.orig/tests/test_integration.py
|
||||
+++ stripe-14.0.1/tests/test_integration.py
|
||||
@@ -335,7 +335,6 @@ class TestIntegration(object):
|
||||
usage = telemetry["last_request_metrics"]["usage"]
|
||||
assert usage == ["stripe_client", "async"]
|
||||
|
||||
- @pytest.mark.anyio
|
||||
@pytest.fixture(params=["aiohttp", "httpx"])
|
||||
async def async_http_client(self, request, anyio_backend):
|
||||
if request.param == "httpx":
|
||||
Reference in New Issue
Block a user