From 94a4fc4f755b9b5403bbaa89fde3d0993423afbd Mon Sep 17 00:00:00 2001 From: Lucas Boucinha Date: Wed, 22 Feb 2023 10:50:57 +0100 Subject: [PATCH 1/2] Remove tests and doc dependencies from project.toml --- pyproject.toml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index edcc132d..755056c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,29 +29,6 @@ numpy = ">=1.14" pandas = ">=1.3.2" pywin32 = {version = ">=304", markers = "platform_system == 'Windows'"} -[tool.poetry.group.test.dependencies] -numpy = "1.23.4" -pandas = "1.5.1" -pytest = "7.1.2" -pytest-cov = "^4.0.0" - -[tool.poetry.group.doc.dependencies] -matplotlib = "^3.6.0" -fluent = "^0.10.0" -ansys-fluent-core = "^0.11.0" -pyvista = "^0.36.1" -ansys-mapdl-core = "^0.63.3" -Sphinx = ">=4.4" -Sphinx-copybutton = ">=0.4" -numpydoc = ">=1.2" -ansys_sphinx_theme = ">=0.2" -sphinx_gallery = ">=0.11.1" -jupyter_sphinx = ">=0.4.0" -sphinx-notfound-page = ">=0.8.3" -sphinx_autodoc_typehints = ">=1.19.5" -sphinxemoji = ">=0.2.0" -ansys-fluent-visualization = "^0.5.0" - [tool.black] line-length = 120 From e5af03539edef9ceeaf42937f6b4d3dac0550391 Mon Sep 17 00:00:00 2001 From: Lucas Boucinha Date: Wed, 22 Feb 2023 11:11:32 +0100 Subject: [PATCH 2/2] Make SavedState id unique --- src/ansys/pytwin/evaluate/saved_state_registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/pytwin/evaluate/saved_state_registry.py b/src/ansys/pytwin/evaluate/saved_state_registry.py index 1fa79592..d9282e7b 100644 --- a/src/ansys/pytwin/evaluate/saved_state_registry.py +++ b/src/ansys/pytwin/evaluate/saved_state_registry.py @@ -19,7 +19,7 @@ class SavedState: PARAMETERS_KEY = "parameters" def __init__(self): - self._id = f"{uuid.uuid4()}"[0:8] + self._id = f"{uuid.uuid4()}"[0:24].replace("-", "") self.time = None self.inputs = None self.outputs = None