Compare commits

..

No commits in common. "d54db472e10323999eafef3631989e5592b5f1e7" and "1af21204521bb2ee3ac8fac9bc9ad8f77e2e7253" have entirely different histories.

4 changed files with 13 additions and 20 deletions

View file

@ -1,9 +1,3 @@
## 0.2.0a12 (2025-09-22)
### Fix
- dependency
## 0.2.0a11 (2025-05-26)
### Fix

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project]
name = "rougail.user_data_yaml"
version = "0.2.0a12"
version = "0.2.0a11"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md"
description = "Rougail user_data yaml"
@ -27,8 +27,7 @@ classifiers = [
]
dependencies = [
"rougail-base >= 1.1,<2",
"ruamel.yaml ~= 0.18.6",
"rougail >= 1.1,<2",
]
[project.urls]

View file

@ -1 +1 @@
__version__ = "0.2.0a12"
__version__ = "0.2.0a11"

View file

@ -20,7 +20,7 @@ excludes = [
]
test_ok = get_structures_list(excludes)
# test_ok = [Path('../rougail-tests/structures/20_9family_absolute')]
# test_ok = [Path('../rougail-tests/structures/60_5family_dynamic_calc_suffix_hidden')]
def idfn(fixture_value):
@ -32,7 +32,7 @@ def test_dir(request):
return request.param
def _test_structural_files(test_dir, namespace, ext, *, level, need_exclude=False):
def _test_dictionaries(test_dir, namespace, ext, *, level, need_exclude=False):
rougailconfig = get_rougail_config(test_dir, namespace)
if not rougailconfig:
return
@ -106,19 +106,19 @@ def populate(filename, makedict_file, rougailconfig, level, need_exclude):
fh.write('\n')
def test_structural_files_all(test_dir):
def test_dictionaries_all(test_dir):
"tests the output"
_test_structural_files(test_dir, True, EXT, level='all')
_test_dictionaries(test_dir, True, EXT, level='all')
def test_structural_files_all_exclude(test_dir):
def test_dictionaries_all_exclude(test_dir):
"tests the output"
_test_structural_files(test_dir, True, EXT, level='all', need_exclude=True)
_test_dictionaries(test_dir, True, EXT, level='all', need_exclude=True)
def test_structural_files_mandatories(test_dir):
def test_dictionaries_mandatories(test_dir):
"tests the output"
_test_structural_files(test_dir, True, EXT, level='mandatories')
_test_dictionaries(test_dir, True, EXT, level='mandatories')
def test_errors():
@ -172,7 +172,7 @@ def test_file_error(request):
return request.param
def test_structural_files_error(test_file_error):
def test_dictionaries_error(test_file_error):
rougailconfig = get_rougail_config(test_file_error.parent.parent / 'structure')
##################################
rougailconfig['step.user_data'] = ['yaml']
@ -193,7 +193,7 @@ def test_structural_files_error(test_file_error):
assert expected_errors == errors, errors_file
def test_structural_files_directory():
def test_dictionaries_directory():
test_dir = Path(__file__).parent / 'directory'
rougailconfig = get_rougail_config(test_dir / 'structure')
##################################