diff --git a/README.md b/README.md index 18f0c3e..3a783e5 100644 --- a/README.md +++ b/README.md @@ -432,6 +432,8 @@ _Make sure to initialize the root logger before importing the library to be able * Alternative contact : [nuno.brum@gmail.com](mailto:nuno.brum@gmail.com) ## History ## +* Version 5.3.0 + * Hierarchical Support (Aligning with the spicelib 1.1.1) * Version 5.2.3 * Updating loggers to use the "spicelib" IDs. * Fixing autodoc errors diff --git a/pyproject.toml b/pyproject.toml index 63e52dd..b763aa8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ requires = [ build-backend = "setuptools.build_meta" [project] name = "PyLTSpice" -version = "5.2.2" +version = "5.3.0" authors = [ { name="Nuno Brum", email="me@nunobrum.com" }, ] @@ -15,7 +15,7 @@ readme = "README.md" license = { file="LICENSE" } requires-python = ">=3.8" dependencies = [ - "spicelib>=1.0.4", + "spicelib>=1.1.1", ] classifiers=[ "Programming Language :: Python :: 3", diff --git a/unittests/test_asc_editor.py b/unittests/test_asc_editor.py index a217243..8d4246a 100644 --- a/unittests/test_asc_editor.py +++ b/unittests/test_asc_editor.py @@ -10,6 +10,7 @@ test_dir = '../examples/testfiles/' if os.path.abspath(os.curdir).endswith('unittests') else './examples/testfiles/' golden_dir = './golden/' if os.path.abspath(os.curdir).endswith('unittests') else './unittests/golden/' + class ASC_Editor_Test(unittest.TestCase): def setUp(self): @@ -17,7 +18,8 @@ def setUp(self): def test_component_editing(self): self.assertEqual(self.edt.get_component_value('R1'), '10k', "Tested R1 Value") # add assertion here - self.assertListEqual(self.edt.get_components(), ['Vin', 'R1', 'R2', 'D1'], "Tested get_components") # add assertion here + self.assertListEqual(self.edt.get_components(), ['Vin', 'R1', 'R2', 'D1'], + "Tested get_components") # add assertion here self.edt.set_component_value('R1', '33k') self.edt.save_netlist(test_dir + 'test_components_output.asc') self.equalFiles(test_dir + 'test_components_output.asc', golden_dir + 'test_components_output.asc')