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.
This commit is contained in:
1 parent
b935000fda
commit
dc6b7a5758
2 files changed
+5
-3
No files matched your search
@@ -25,7 +25,7 @@
|
||||
'author': 'BTCPay Server team and contributors',
|
||||
'website': 'https://github.com/btcpayserver/odoo',
|
||||
'category': 'Accounting/Payment Providers',
|
||||
'version': '18.0.1.0',
|
||||
'version': '18.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',
|
||||
|
||||
@@ -1 +1 @@
|
||||
btcpay-python
|
||||
ecdsa
|
||||