From 2d43654c81b5629d2b1b94f5356a608404082d06 Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Fri, 16 Jan 2026 14:08:42 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Ignore=20les=20champs=20absents=20du=20sch?= =?UTF-8?q?=C3=A9ma?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils.py b/src/utils.py index add2e81..d7a0606 100644 --- a/src/utils.py +++ b/src/utils.py @@ -334,7 +334,9 @@ def setup_table_columns(dff, hideable: bool = True, exclude: list = None) -> tup if column_object: column_name = column_object.get("title") else: - column_name = column_id + # Si le champ n'est pas dans le schéma, on le skip + print(f"Champ innatendu : {column_id}") + continue column = { "name": column_name, From 337f68f2fc078d565c1d076cc815c5f4a4b0137e Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Fri, 16 Jan 2026 14:10:56 +0100 Subject: [PATCH 2/2] Changelog 2.3.1 --- CHANGELOG.md | 4 ++++ README.md | 2 +- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24096c5..6b19cc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +##### 2.3.1 (16 janvier 2026) + +- Les champs absents du [schéma](https://www.data.gouv.fr/datasets/donnees-essentielles-de-la-commande-publique-consolidees-format-tabulaire?resource_id=9a4144c0-ee44-4dec-bee5-bbef38191d9a) sont ignorés pour éviter les erreurs + #### 2.3.0 (24 décembre 2025) - Possibilité de filtrer, trier etc. dans les vues acheteur et titulaire diff --git a/README.md b/README.md index b38991f..9634c91 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # decp.info -> v2.3.0 +> v2.3.1 > Outil d'exploration et de téléchargement des données essentielles de la commande publique. => [decp.info](https://decp.info) diff --git a/pyproject.toml b/pyproject.toml index 59b5d4c..1be3d03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "decp.info" description = "Interface d'exploration et d'analyse des marchés publics français." -version = "2.3.0" +version = "2.3.1" requires-python = ">= 3.10" authors = [ { name = "Colin Maudry", email = "colin@colmo.tech" }