From 9f3f702c9fea67b9b43ab9f2245a2f314f1fc3a9 Mon Sep 17 00:00:00 2001 From: SatoDri Date: Mon, 20 Jul 2026 00:06:39 +0200 Subject: [PATCH] Declare ecdsa as the module Python dependency The bundled BTCPay client (models/libs) imports ecdsa, while the manifest and requirements only listed btcpay-python, which is not used (the client is vendored). Installations that did not already have ecdsa available failed the external-dependency check. Declare ecdsa instead and bump the module version. --- payment_btcpayserver/__manifest__.py | 6 ++++-- payment_btcpayserver/requirements.txt | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/payment_btcpayserver/__manifest__.py b/payment_btcpayserver/__manifest__.py index b42e809..a34bb4c 100644 --- a/payment_btcpayserver/__manifest__.py +++ b/payment_btcpayserver/__manifest__.py @@ -25,7 +25,7 @@ 'author': 'BTCPay Server team and contributors', 'website': 'https://github.com/btcpayserver/odoo', 'category': 'Accounting/Payment Providers', - 'version': '19.0.1.0', + 'version': '19.0.1.1', 'license': 'GPL-3', 'currency': 'USD', 'application': False, @@ -39,8 +39,10 @@ 'data/payment_provider_data.xml', ], 'images': ['static/description/BTCPay-Odoo-17-featured.png'], + # The BTCPay client (legacy BitPay API) is vendored in models/libs and + # only requires 'ecdsa' (plus 'requests', shipped with Odoo). 'external_dependencies': { - 'python': ['btcpay-python'] + 'python': ['ecdsa'] }, 'post_init_hook': 'post_init_hook', 'uninstall_hook': 'uninstall_hook', diff --git a/payment_btcpayserver/requirements.txt b/payment_btcpayserver/requirements.txt index eeda1dc..aa5efdb 100644 --- a/payment_btcpayserver/requirements.txt +++ b/payment_btcpayserver/requirements.txt @@ -1 +1 @@ -btcpay-python \ No newline at end of file +ecdsa