Closed arrrrrmin closed 1 year ago
RAPLFile dataclass is required to use fields default_factory in Python version >= 3.11. Believe the corresponding change, is this one: whatsnew/3.11#dataclasses.
RAPLFile
default_factory
All test but 2 pass for both 3.10 and 3.11
test_carbon_tracker_offline_constant_default_cpu_power
test_ram_diff
test/test_energy.py
RAPLFile
dataclass is required to use fieldsdefault_factory
in Python version >= 3.11. Believe the corresponding change, is this one: whatsnew/3.11#dataclasses.All test but 2 pass for both 3.10 and 3.11
test_carbon_tracker_offline_constant_default_cpu_power
test_ram_diff
whiletest/test_energy.py
passes for all version.