Compare commits

..

No commits in common. "74d6ca83785fb51c718fffd2c6a0b1d3f16bc8c2" and "e9915ddc47e42fc6e7a1da9bd5fc3af67c7b16f7" have entirely different histories.

6 changed files with 9 additions and 19 deletions

View file

@ -1,9 +1,3 @@
## 1.2.0a68 (2026-03-09)
### Fix
- copy object before modify namespace
## 1.2.0a67 (2026-03-06)
### Fix

View file

@ -1,6 +1,6 @@
[project]
name = "rougail"
version = "1.2.0a68"
version = "1.2.0a67"
[tool.commitizen]
name = "cz_conventional_commits"

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project]
name = "rougail-base"
version = "1.2.0a68"
version = "1.2.0a67"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md"
description = "A consistency handling system that was initially designed in the configuration management"

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project]
name = "rougail"
version = "1.2.0a68"
version = "1.2.0a67"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md"
description = "A consistency handling system that was initially designed in the configuration management"
@ -27,7 +27,7 @@ classifiers = [
dependencies = [
"ruamel.yaml ~= 0.18.6",
"pydantic ~= 2.9.2",
"rougail-base == 1.2.0a68",
"rougail-base == 1.2.0a67",
]
[tool.flit.sdist]

View file

@ -1 +1 @@
__version__ = "1.2.0a68"
__version__ = "1.2.0a67"

View file

@ -936,17 +936,13 @@ class ParserVariable:
def change_namespaces(self, variable):
for key, value in variable.items():
if isinstance(value, Calculation) and value.namespace != self.namespace:
copy = value.copy()
variable[key] = copy
copy.namespace = self.namespace
if isinstance(value, Calculation):
value.namespace = self.namespace
if not isinstance(value, list):
continue
for idx, val in enumerate(value):
if isinstance(val, Calculation) and val.namespace != self.namespace:
copy = val.copy()
value[idx] = copy
copy.namespace = self.namespace
if isinstance(val, Calculation):
val.namespace = self.namespace
def del_family(
self,