aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-12-30 13:37:08 +0100
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-12-30 13:37:08 +0100
commit2940e1679a78c513cd67706211efd3cb68cf0f0d (patch)
treecce113f55d51b2bc812ef762f17db78caa868822 /pyGHDL
parent4d95dd3c74785a8ac5d2a6af112d9fb12dd36b48 (diff)
downloadghdl-2940e1679a78c513cd67706211efd3cb68cf0f0d.tar.gz
ghdl-2940e1679a78c513cd67706211efd3cb68cf0f0d.tar.bz2
ghdl-2940e1679a78c513cd67706211efd3cb68cf0f0d.zip
Bumped dependency to pyVHDLModel to v0.20.2
Diffstat (limited to 'pyGHDL')
-rw-r--r--pyGHDL/dom/DesignUnit.py4
-rw-r--r--pyGHDL/dom/requirements.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/pyGHDL/dom/DesignUnit.py b/pyGHDL/dom/DesignUnit.py
index 59b04a947..28a5dc0b6 100644
--- a/pyGHDL/dom/DesignUnit.py
+++ b/pyGHDL/dom/DesignUnit.py
@@ -48,7 +48,7 @@ from pyVHDLModel import (
LibraryClause as VHDLModel_LibraryClause,
UseClause as VHDLModel_UseClause,
ContextReference as VHDLModel_ContextReference,
- Name,
+ Name, ContextUnion,
)
from pyVHDLModel.SyntaxModel import (
Entity as VHDLModel_Entity,
@@ -295,7 +295,7 @@ class Context(VHDLModel_Context, DOMMixin):
self,
node: Iir,
identifier: str,
- references: Iterable[Union[LibraryClause, UseClause, ContextReference]] = None,
+ references: Iterable[ContextUnion] = None,
documentation: str = None,
):
super().__init__(identifier, references, documentation)
diff --git a/pyGHDL/dom/requirements.txt b/pyGHDL/dom/requirements.txt
index a04360ab4..90c229354 100644
--- a/pyGHDL/dom/requirements.txt
+++ b/pyGHDL/dom/requirements.txt
@@ -1,4 +1,4 @@
-r ../libghdl/requirements.txt
-pyVHDLModel==0.20.0
+pyVHDLModel==0.20.2
#https://github.com/VHDL/pyVHDLModel/archive/dev.zip#pyVHDLModel