Skip to content

Commit cd0c8c7

Browse files
committed
[16.0][FIX] Remove dependencies already specified in the Odoo requirements
The following dependencies: cryptography, zeep, and requests are used in different modules, but we remove them from being required because they are already included in Odoo's requirements.txt. Having them in both places creates maintenance overhead and potential conflicts.
1 parent 68296f6 commit cd0c8c7

File tree

7 files changed

+5
-8
lines changed

7 files changed

+5
-8
lines changed

l10n_es_aeat/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"development_status": "Mature",
2424
"depends": ["l10n_es", "account_tax_balance"],
2525
# odoo_test_helper is needed for the tests
26-
"external_dependencies": {"python": ["unidecode", "cryptography==3.4.8"]},
26+
"external_dependencies": {"python": ["unidecode"]},
2727
"data": [
2828
"security/aeat_security.xml",
2929
"security/ir.model.access.csv",

l10n_es_aeat_sii_match/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"website": "https://github.com/OCA/l10n-spain",
1010
"author": "Studio73, Odoo Community Association (OCA)",
1111
"license": "AGPL-3",
12-
"external_dependencies": {"python": ["deepdiff<8", "zeep"]},
12+
"external_dependencies": {"python": ["deepdiff<8"]},
1313
"depends": ["l10n_es_aeat_sii_oca"],
1414
"data": [
1515
"security/ir.model.access.csv",

l10n_es_aeat_sii_oca/__manifest__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"installable": True,
3737
"development_status": "Mature",
3838
"maintainers": ["pedrobaeza"],
39-
"external_dependencies": {"python": ["zeep", "requests"]},
4039
"depends": [
4140
"account_invoice_refund_link",
4241
"l10n_es",

l10n_es_facturae/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"views/account_move_view.xml",
4545
"views/account_journal_view.xml",
4646
],
47-
"external_dependencies": {"python": ["pycountry", "xmlsig", "cryptography==3.4.8"]},
47+
"external_dependencies": {"python": ["pycountry", "xmlsig"]},
4848
"installable": True,
4949
"maintainers": ["etobella"],
5050
}

l10n_es_facturae_face/__manifest__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"views/res_partner.xml",
2525
"views/edi_exchange_record.xml",
2626
],
27-
"external_dependencies": {"python": ["zeep", "cryptography==3.4.8"]},
2827
"installable": True,
2928
"maintainers": ["etobella"],
3029
}

requirements.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
# generated from manifests external_dependencies
22
chardet
3-
cryptography==3.4.8
43
deepdiff<8
54
pycountry
65
pycryptodome
76
qrcode
8-
requests
97
requests_pkcs12
108
suds-py3
119
unidecode
1210
xmlsig
1311
xmltodict
14-
zeep

test-requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
odoo_test_helper
2+
cryptography==3.4.8; python_version < '3.12' # incompatibility between pyopenssl 19.0.0 and cryptography>=37.0.0
3+
cryptography==42.0.8 ; python_version >= '3.12' # (Noble) min 41.0.7, pinning 42.0.8 for security fixes

0 commit comments

Comments
 (0)