From c290c7fd76ddf8470b164b55c2ea0ffac01a10eb Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Fri, 25 Sep 2026 04:14:18 -0400 Subject: [PATCH] [UPD] requirement: raise the factur-x floor to 6.8 outside s390x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The lock already resolves factur-x 6.8 on every architecture but s390x, which keeps its <4 branch; >=4.2 let a regeneration fall back to a 4.x or 5.x that no install has run. The floor now matches what is locked, so no installed version changes. Checked: the lock changes only its content-hash; the calls OCA_edi makes (generate_from_file, xml_check_xsd, get_flavor, get_level, get_xml_namespaces, get_facturx_level) match the 6.8 signatures. --- FR --- [UPD] requirement : plancher de factur-x à 6.8 hors s390x Le lock résout déjà factur-x 6.8 sur toute architecture sauf s390x, qui garde sa branche <4 ; >=4.2 laissait une régénération retomber sur une 4.x ou 5.x qu'aucune installation n'a fait tourner. Le plancher suit désormais le lock : aucune version installée ne change. Vérifié : le lock ne change que son content-hash ; les appels d'OCA_edi (generate_from_file, xml_check_xsd, get_flavor, get_level, get_xml_namespaces, get_facturx_level) collent aux signatures de 6.8. Assisted-by: Claude Opus 5.5 --- requirement/poetry.odoo18.0_python3.12.10.lock | 2 +- requirement/pyproject.odoo18.0_python3.12.10.toml | 2 +- requirement/requirements.odoo18.0_python3.12.10.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirement/poetry.odoo18.0_python3.12.10.lock b/requirement/poetry.odoo18.0_python3.12.10.lock index a5a8fea..ee4fd00 100644 --- a/requirement/poetry.odoo18.0_python3.12.10.lock +++ b/requirement/poetry.odoo18.0_python3.12.10.lock @@ -9565,4 +9565,4 @@ bindings = ["ghostscript"] [metadata] lock-version = "2.1" python-versions = ">=3.12.10,<3.13" -content-hash = "0d5f25bb32481ba8b3c917b42bbab385dba2d5f1b0142c05d69665e1febb7a93" +content-hash = "621f0b10ca2a376f1eba4545d51dff7c1c84718f6d29af463963f9a196c5201c" diff --git a/requirement/pyproject.odoo18.0_python3.12.10.toml b/requirement/pyproject.odoo18.0_python3.12.10.toml index d02ef2e..9670b79 100644 --- a/requirement/pyproject.odoo18.0_python3.12.10.toml +++ b/requirement/pyproject.odoo18.0_python3.12.10.toml @@ -208,7 +208,7 @@ xmltodict = "0.13.0" zeep = "4.2.1" zklib = "^0.1.1" [[tool.poetry.dependencies.factur-x]] -version = ">=4.2" +version = ">=6.8" markers = "platform_machine != \"s390x\"" [[tool.poetry.dependencies.factur-x]] diff --git a/requirement/requirements.odoo18.0_python3.12.10.txt b/requirement/requirements.odoo18.0_python3.12.10.txt index 59bec8c..af1f9bb 100644 --- a/requirement/requirements.odoo18.0_python3.12.10.txt +++ b/requirement/requirements.odoo18.0_python3.12.10.txt @@ -96,7 +96,7 @@ boto3==1.43.49 # en amont, GraalVM Native Image ne ciblant pas s390x. # La 3.x n'exige que lxml et pypdf. On y retombe là où saxonche n'existe pas, # au prix de la validation Schematron. -factur-x>=4.2 ; platform_machine != 's390x' +factur-x>=6.8 ; platform_machine != 's390x' factur-x<4 ; platform_machine == 's390x' # PyMuPDF (OCA_edi) : MuPDF ne se construit pas sur s390x. On l'y écarte, au