From 721d166110bd39b067aa064ebe8c7bf6f514effc Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 15 May 2022 21:48:02 +0200 Subject: pyGHDL: limit pyTooling version to 1.10.0 --- pyGHDL/cli/dom.py | 4 ++-- pyGHDL/cli/requirements.txt | 2 +- pyGHDL/libghdl/requirements.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyGHDL/cli/dom.py b/pyGHDL/cli/dom.py index b223bdef5..1ec168842 100755 --- a/pyGHDL/cli/dom.py +++ b/pyGHDL/cli/dom.py @@ -41,7 +41,7 @@ from pyGHDL.dom import DOMException from pyGHDL.libghdl import LibGHDLException from pyTooling.Decorators import export -# from pyTooling.MetaClasses import Singleton +from pyTooling.MetaClasses import Singleton from pyTooling.TerminalUI import LineTerminal, Severity from pyAttributes import Attribute from pyAttributes.ArgParseAttributes import ( @@ -120,7 +120,7 @@ class Application(LineTerminal, ArgParseMixin): # Initialize the Terminal class # -------------------------------------------------------------------------- - # Singleton.Register(LineTerminal, self) + Singleton.Register(LineTerminal, self) # Initialize DOM with an empty design # -------------------------------------------------------------------------- diff --git a/pyGHDL/cli/requirements.txt b/pyGHDL/cli/requirements.txt index b9167b8ed..c377c90f9 100644 --- a/pyGHDL/cli/requirements.txt +++ b/pyGHDL/cli/requirements.txt @@ -1,5 +1,5 @@ -r ../dom/requirements.txt -pyTooling>=1.6.0 +pyTooling>=1.6.0,<=1.10.0 pyTooling.TerminalUI>=1.5.3 pyAttributes>=2.3.2 diff --git a/pyGHDL/libghdl/requirements.txt b/pyGHDL/libghdl/requirements.txt index a045a3d24..aeb01d251 100644 --- a/pyGHDL/libghdl/requirements.txt +++ b/pyGHDL/libghdl/requirements.txt @@ -1 +1 @@ -pyTooling>=1.6.0 +pyTooling>=1.6.0,<=1.10.0 -- cgit v1.2.3