Compare commits
No commits in common. "6630bccca55e20fddf5939db3e3f566bfda5f7aa" and "80ba78a9efe9533414671ad5ef0c4c5c59bdc58e" have entirely different histories.
6630bccca5
...
80ba78a9ef
15 changed files with 6 additions and 79 deletions
|
|
@ -1,9 +1,3 @@
|
||||||
## 1.2.0rc1 (2026-06-16)
|
|
||||||
|
|
||||||
### Fix
|
|
||||||
|
|
||||||
- python 3.13 support
|
|
||||||
|
|
||||||
## 1.2.0rc0 (2026-06-16)
|
## 1.2.0rc0 (2026-06-16)
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "rougail"
|
name = "rougail"
|
||||||
version = "1.2.0rc1"
|
version = "1.2.0rc0"
|
||||||
|
|
||||||
[tool.commitizen]
|
[tool.commitizen]
|
||||||
name = "cz_conventional_commits"
|
name = "cz_conventional_commits"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "rougail-base"
|
name = "rougail-base"
|
||||||
version = "1.2.0rc1"
|
version = "1.2.0rc0"
|
||||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
description = "A consistency handling system that was initially designed in the configuration management"
|
description = "A consistency handling system that was initially designed in the configuration management"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "rougail"
|
name = "rougail"
|
||||||
version = "1.2.0rc1"
|
version = "1.2.0rc0"
|
||||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
description = "A consistency handling system that was initially designed in the configuration management"
|
description = "A consistency handling system that was initially designed in the configuration management"
|
||||||
|
|
@ -27,7 +27,7 @@ classifiers = [
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ruamel.yaml ~= 0.18.6",
|
"ruamel.yaml ~= 0.18.6",
|
||||||
"pydantic ~= 2.9.2",
|
"pydantic ~= 2.9.2",
|
||||||
"rougail-base == 1.2.0rc1",
|
"rougail-base == 1.2.0rc0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.flit.sdist]
|
[tool.flit.sdist]
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
__version__ = "1.2.0rc1"
|
__version__ = "1.2.0rc0"
|
||||||
|
|
|
||||||
|
|
@ -434,7 +434,7 @@ class Collect(CollectType, CollectFamily, CollectVariable):
|
||||||
subpath: Optional[str],
|
subpath: Optional[str],
|
||||||
parameters: dict,
|
parameters: dict,
|
||||||
comment: Optional[str],
|
comment: Optional[str],
|
||||||
parent_option: Optional["Collect"],
|
parent_option: Optional[Collect],
|
||||||
*,
|
*,
|
||||||
raises: bool=True,
|
raises: bool=True,
|
||||||
test_exists: bool=True,
|
test_exists: bool=True,
|
||||||
|
|
|
||||||
|
|
@ -181,11 +181,3 @@ def test_type_family_redefine_type():
|
||||||
|
|
||||||
def test_type_family_redefine_type_namespace():
|
def test_type_family_redefine_type_namespace():
|
||||||
type_variable("family_redefine_type", namespace=True)
|
type_variable("family_redefine_type", namespace=True)
|
||||||
|
|
||||||
|
|
||||||
def test_type_family_param():
|
|
||||||
type_variable("family_param")
|
|
||||||
|
|
||||||
|
|
||||||
def test_type_family_param_namespace():
|
|
||||||
type_variable("family_param", namespace=True)
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
from tiramisu import *
|
|
||||||
from tiramisu.setting import ALLOWED_LEADER_PROPERTIES
|
|
||||||
from re import compile as re_compile
|
|
||||||
from rougail.tiramisu import func, dict_env, load_functions, ConvertDynOptionDescription
|
|
||||||
try:
|
|
||||||
groups.namespace
|
|
||||||
except:
|
|
||||||
groups.addgroup('namespace')
|
|
||||||
ALLOWED_LEADER_PROPERTIES.add("basic")
|
|
||||||
ALLOWED_LEADER_PROPERTIES.add("standard")
|
|
||||||
ALLOWED_LEADER_PROPERTIES.add("advanced")
|
|
||||||
option_2 = BoolOption(name="my_variable", doc="my variable", default=False, properties=frozenset({"mandatory", "standard"}), informations={'ymlfiles': ['tests/types/types/family_param/00_type.yml', 'tests/types/structures/family_param/00_structure.yml'], 'type': 'boolean'})
|
|
||||||
optiondescription_1 = OptionDescription(name="my_family", doc="My family type", children=[option_2], properties=frozenset({"standard"}), informations={'ymlfiles': ['tests/types/types/family_param/00_type.yml', 'tests/types/structures/family_param/00_structure.yml']})
|
|
||||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[optiondescription_1])
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"my_family.my_variable": false
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"my_family.my_variable": false
|
|
||||||
}
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
from tiramisu import *
|
|
||||||
from tiramisu.setting import ALLOWED_LEADER_PROPERTIES
|
|
||||||
from re import compile as re_compile
|
|
||||||
from rougail.tiramisu import func, dict_env, load_functions, ConvertDynOptionDescription
|
|
||||||
try:
|
|
||||||
groups.namespace
|
|
||||||
except:
|
|
||||||
groups.addgroup('namespace')
|
|
||||||
ALLOWED_LEADER_PROPERTIES.add("basic")
|
|
||||||
ALLOWED_LEADER_PROPERTIES.add("standard")
|
|
||||||
ALLOWED_LEADER_PROPERTIES.add("advanced")
|
|
||||||
option_4 = BoolOption(name="my_variable", doc="my variable", default=False, properties=frozenset({"mandatory", "standard"}), informations={'ymlfiles': ['tests/types/types/family_param/00_type.yml', 'tests/types/structures/family_param/00_structure.yml'], 'type': 'boolean'})
|
|
||||||
optiondescription_3 = OptionDescription(name="my_family", doc="My family type", children=[option_4], properties=frozenset({"standard"}), informations={'ymlfiles': ['tests/types/types/family_param/00_type.yml', 'tests/types/structures/family_param/00_structure.yml']})
|
|
||||||
optiondescription_2 = OptionDescription(name="ns2", doc="NS2", group_type=groups.namespace, children=[optiondescription_3], properties=frozenset({"standard"}))
|
|
||||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[optiondescription_2])
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"ns2.my_family.my_variable": false
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"ns2.my_family.my_variable": false
|
|
||||||
}
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
%YAML 1.2
|
|
||||||
---
|
|
||||||
version: 1.1
|
|
||||||
|
|
||||||
my_family:
|
|
||||||
type: my_family_type
|
|
||||||
|
|
||||||
my_variable: false
|
|
||||||
...
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
%YAML 1.2
|
|
||||||
---
|
|
||||||
version: 1.1
|
|
||||||
|
|
||||||
my_family_type:
|
|
||||||
description: My family type
|
|
||||||
|
|
||||||
my_variable: true # my variable
|
|
||||||
...
|
|
||||||
Loading…
Reference in a new issue