From e07cf948467e6ffeb52fad28a8c2881a707ecc87 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sun, 21 Jun 2026 18:34:00 +0200 Subject: [PATCH] fix: rougail dependencies --- README.fr.md | 16 +++++++--------- README.md | 16 +++++++--------- pyproject.toml | 4 ++-- 3 files changed, 16 insertions(+), 20 deletions(-) diff --git a/README.fr.md b/README.fr.md index 18eede0..aa515f6 100644 --- a/README.fr.md +++ b/README.fr.md @@ -11,13 +11,11 @@ include_toc: true > L'objectif n'est pas d'afficher toutes les variables de la configuration, mais seulement une sélection à l'aide du mécanisme d'étiquetage.\ > **Chemin** : table\ > *`désactivé`*\ -> **Désactivé** : si table n'est pas mis dans "[Sélection pour sortie](#step.output)" - -| Variable | Description | Valeur par défaut | Type | Validateur | -|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------| -| **table.first_column**
**Ligne de commande** : --table.first_column
**Variable d'environnement** : TABLE.FIRST_COLUMN | Contenu de la première colonne. | La première colonne est description si "[Noms des étiquettes](#table.columns)" n'a qu'une valeur, sinon c'est namespace | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` | Le nom de l'étiquette ne doit pas avoir le même nom que la première colonne.
**Choix** :
• description
• namespace | -| **table.columns**
**Ligne de commande** : --table.columns
**Variable d'environnement** : TABLE.COLUMNS | Noms des étiquettes.
Chaque étiquette créée une colonne. Le contenu des colonnes viennent des variables avec les étiquettes définis. | | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `obligatoire` | `unique` | -| **table.output_format**
**Ligne de commande** : --table.output_format
**Variable d'environnement** : TABLE.OUTPUT_FORMAT | Noms des étiquettes. | console | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` | **Choix** :
• console
• github
• asciidoc
• html
• rst | -| **table.header**
**Ligne de commande** :
• --table.header
• --table.no-header
**Variable d'environnement** : TABLE.HEADER | Ajouter l'entête dans le tableau. | true | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` | | - +> **Désactivé** : si table n'est pas mis dans "[sélection pour sortie](#step.output)". +| Variable | Description | Valeur par défaut | Type | Validateur | +|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------| +| **table.first_column**
**Ligne de commande** :
--table.first_column
**Variable d'environnement** : ROUGAILCLI_TABLE.FIRST_COLUMN | Contenu de la première colonne. | La première colonne est description si "[Noms des étiquettes](#table.columns)" n'a qu'une valeur, sinon c'est namespace. | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` | Le nom de l'étiquette ne doit pas avoir le même nom que la première colonne.
**Choix** :
• description
• namespace | +| **table.columns**
**Ligne de commande** :
--table.columns
**Variable d'environnement** : ROUGAILCLI_TABLE.COLUMNS | Noms des étiquettes.
Chaque étiquette créée une colonne. Le contenu des colonnes viennent des variables avec les étiquettes définis. | | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `obligatoire` | `unique` | +| **table.output_format**
**Ligne de commande** :
--table.output_format
**Variable d'environnement** : ROUGAILCLI_TABLE.OUTPUT_FORMAT | Noms des étiquettes. | console | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` | **Choix** :
• console
• github
• asciidoc
• html
• rst | +| **table.header**
**Ligne de commande** :
• --table.header
• --table.no-header
**Variable d'environnement** : ROUGAILCLI_TABLE.HEADER | Ajouter l'entête dans le tableau. | true | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` | | diff --git a/README.md b/README.md index 3cbde04..93df728 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,11 @@ include_toc: true > The goal is not to display all the variables in the configuration, but only a selection using the labeling mechanism.\ > **Path**: table\ > *`disabled`*\ -> **Disabled**: if table is not set in "[Select for output](#step.output)" - -| Variable | Description | Default value | Type | Validator | -|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------| -| **table.first_column**
**Command line**: --table.first_column
**Environment variable**: TABLE.FIRST_COLUMN | Content of the first column. | First column is description if "[Tag names](#table.columns)" has only one value, otherwise it's namespace | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Tag name must not have the same name has first column.
**Choices**:
• description
• namespace | -| **table.columns**
**Command line**: --table.columns
**Environment variable**: TABLE.COLUMNS | Tag names.
Each tag creates a column. The content of the columns comes from the variables with the defined tags. | | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `mandatory` | `unique` | -| **table.output_format**
**Command line**: --table.output_format
**Environment variable**: TABLE.OUTPUT_FORMAT | Tag names. | console | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | **Choices**:
• console
• github
• asciidoc
• html
• rst | -| **table.header**
**Command line**:
• --table.header
• --table.no-header
**Environment variable**: TABLE.HEADER | Add header in table. | true | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | | - +> **Disabled**: if table is not set in "[select for output](#step.output)". +| Variable | Description | Default value | Type | Validator | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------| +| **table.first_column**
**Command line**:
--table.first_column
**Environment variable**: ROUGAILCLI_TABLE.FIRST_COLUMN | Content of the first column. | First column is description if "[Tag names](#table.columns)" has only one value, otherwise it's namespace. | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Tag name must not have the same name has first column.
**Choices**:
• description
• namespace | +| **table.columns**
**Command line**:
--table.columns
**Environment variable**: ROUGAILCLI_TABLE.COLUMNS | Tag names.
Each tag creates a column. The content of the columns comes from the variables with the defined tags. | | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `mandatory` | `unique` | +| **table.output_format**
**Command line**:
--table.output_format
**Environment variable**: ROUGAILCLI_TABLE.OUTPUT_FORMAT | Tag names. | console | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | **Choices**:
• console
• github
• asciidoc
• html
• rst | +| **table.header**
**Command line**:
• --table.header
• --table.no-header
**Environment variable**: ROUGAILCLI_TABLE.HEADER | Add header in table. | true | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | | diff --git a/pyproject.toml b/pyproject.toml index 639d4b2..c7c2e88 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,8 +24,8 @@ classifiers = [ ] dependencies = [ - "rougail-base > 1.1,<2", - "tabulate ~= 0.9.0", + "rougail-base >= 1.2.0,<2", + "tabulate ~= 0.10.0", ] [project.urls]