From 42dc787ed23e12a6d4629e9ac4bee48e69e8ac83 Mon Sep 17 00:00:00 2001 From: Lucas Boucinha <108674439+lboucin@users.noreply.github.com> Date: Thu, 23 Feb 2023 13:03:10 +0100 Subject: [PATCH] MAINT: Remove tests and doc dependencies from project.toml (#81) Co-authored-by: Lucas Boucinha --- pyproject.toml | 23 ------------------- .../pytwin/evaluate/saved_state_registry.py | 2 +- 2 files changed, 1 insertion(+), 24 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 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