From 99d357cee4ccf0f6fef84b8296b88ea3105a7852 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sun, 19 Sep 2021 20:21:40 +0200 Subject: [PATCH 1/7] Bump version to v0.14.0. --- doc/conf.py | 4 ++-- pyVHDLModel/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index cf691865e..d4e9622a1 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -36,8 +36,8 @@ def _LatestTagName(): return check_output(["git", "describe", "--abbrev=0", "--tags"], universal_newlines=True).strip() # The full version, including alpha/beta/rc tags -version = "0.13" # The short X.Y version. -release = "0.13.1" # The full version, including alpha/beta/rc tags. +version = "0.14" # The short X.Y version. +release = "0.14.0" # The full version, including alpha/beta/rc tags. try: if _IsUnderGitControl: latestTagName = _LatestTagName()[1:] # remove prefix "v" diff --git a/pyVHDLModel/__init__.py b/pyVHDLModel/__init__.py index 1a52087fd..131f01746 100644 --- a/pyVHDLModel/__init__.py +++ b/pyVHDLModel/__init__.py @@ -46,7 +46,7 @@ from pydecor import export -__version__ = "0.13.1" +__version__ = "0.14.0" SimpleOrAttribute = Union['SimpleName', 'AttributeName'] diff --git a/setup.py b/setup.py index 1a8928301..89d5a2ca6 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ # Assemble all package information setuptools_setup( name=projectName, - version="0.13.1", + version="0.14.0", author="Patrick Lehmann", author_email="Paebbels@gmail.com", From 7d0076d0108fe0fb6aebf0f0e8af92ef0cd5ec39 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Wed, 22 Sep 2021 00:30:30 +0200 Subject: [PATCH 2/7] Testing JUnit XML files. --- .github/workflows/Pipeline.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml index 775526b2e..81ac784dc 100644 --- a/.github/workflows/Pipeline.yml +++ b/.github/workflows/Pipeline.yml @@ -41,7 +41,22 @@ jobs: - name: ☑ Run unit tests run: | - python -m pytest -rA tests/unit + python -m pytest -rA --junitxml=TestReport.xml tests/unit + + - name: 📤 Upload 'TestReport.xml' artifact + uses: actions/upload-artifact@v2 + with: + name: TestReport-${{ env.PYTHON }} + path: TestReport.xml + if-no-files-found: error + retention-days: 1 + + - name: 📊 Publish Unit Test Results + uses: EnricoMi/publish-unit-test-result-action@v1 + if: always() + with: + files: TestReport.xml + comment_title: Unit Test Results (Python ${{ env.PYTHON }}) Coverage: name: 📈 Collect Coverage Data using Python 3.9 From 37e3037bf86b690953210d4d2a74966927bb41da Mon Sep 17 00:00:00 2001 From: umarcor Date: Mon, 27 Sep 2021 02:26:32 +0200 Subject: [PATCH 3/7] ci: clarify description of the BTD action --- .github/workflows/Pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml index 81ac784dc..54ff00bee 100644 --- a/.github/workflows/Pipeline.yml +++ b/.github/workflows/Pipeline.yml @@ -312,7 +312,7 @@ jobs: RUN apk add -U --no-cache graphviz EOF - - name: 🛳️ Build documentation from './pyVHDLModel/doc' and publish to GitHub Pages + - name: 🛳️ Build documentation using container vhdl/doc and publish to GitHub Pages uses: buildthedocs/btd@v0 with: token: ${{ github.token }} From f495a6f895de2ae8769cde8e8593c7f8a402a73b Mon Sep 17 00:00:00 2001 From: umarcor Date: Mon, 27 Sep 2021 02:53:46 +0200 Subject: [PATCH 4/7] doc/Glossary: add more refs to ieeexplore --- doc/Glossary.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/Glossary.rst b/doc/Glossary.rst index 505ec5ad1..f4d4f91ec 100644 --- a/doc/Glossary.rst +++ b/doc/Glossary.rst @@ -6,8 +6,9 @@ Glossary LRM IEEE Standard for VHDL Language Reference Manual - * IEEE Std. 1076-1987 - * IEEE Std. 1076-1993 - * IEEE Std. 1076-2002 - * IEEE Std. 1076-2008 - https://standards.ieee.org/standard/1076-2008.html - * IEEE Std. 1076-2019 - https://standards.ieee.org/standard/1076-2019.html + * `1076-2019 `__. + * `1076-2008 `__ aka IEC 61691-1-1:2011. + * `1076-2002 `__ aka IEC 61691-1-1 Ed.1 (2004-10). + * `1076-2000 `__. + * `1076-1993 `__. + * `1076-1987 `__. From ada8f601acc0ffb18b5bc099a5fe7aa1bdaa1e59 Mon Sep 17 00:00:00 2001 From: umarcor Date: Mon, 27 Sep 2021 02:49:25 +0200 Subject: [PATCH 5/7] doc: add intersphinx target 'vasg' --- doc/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index d4e9622a1..27bb5e7aa 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -211,7 +211,8 @@ def _LatestTagName(): # Sphinx.Ext.InterSphinx # ============================================================================== intersphinx_mapping = { - 'python': ('https://docs.python.org/3', None), + 'python': ('https://docs.python.org/3', None), + 'vasg': ('https://IEEE-P1076.gitlab.io/', None), } From e033eaaa3cf4a4e471f89a46a7c9e11c8406dc4c Mon Sep 17 00:00:00 2001 From: umarcor Date: Mon, 27 Sep 2021 03:00:08 +0200 Subject: [PATCH 6/7] doc/Glossary: add ref to VASG:About:Standards --- doc/Glossary.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/Glossary.rst b/doc/Glossary.rst index f4d4f91ec..65f0ad56d 100644 --- a/doc/Glossary.rst +++ b/doc/Glossary.rst @@ -12,3 +12,5 @@ Glossary * `1076-2000 `__. * `1076-1993 `__. * `1076-1987 `__. + + See :ref:`VASG:About:Standards` for further details. From 200d2c5e5e6088733de5940b0e713939b2b8dccb Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Wed, 29 Sep 2021 07:39:21 +0200 Subject: [PATCH 7/7] Fixed Any value in VHDLVersion. Release as v0.13.2. --- doc/conf.py | 4 ++-- pyVHDLModel/__init__.py | 4 +++- setup.py | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 27bb5e7aa..6085ac67e 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -36,8 +36,8 @@ def _LatestTagName(): return check_output(["git", "describe", "--abbrev=0", "--tags"], universal_newlines=True).strip() # The full version, including alpha/beta/rc tags -version = "0.14" # The short X.Y version. -release = "0.14.0" # The full version, including alpha/beta/rc tags. +version = "0.13" # The short X.Y version. +release = "0.13.2" # The full version, including alpha/beta/rc tags. try: if _IsUnderGitControl: latestTagName = _LatestTagName()[1:] # remove prefix "v" diff --git a/pyVHDLModel/__init__.py b/pyVHDLModel/__init__.py index 131f01746..e475aefad 100644 --- a/pyVHDLModel/__init__.py +++ b/pyVHDLModel/__init__.py @@ -46,7 +46,7 @@ from pydecor import export -__version__ = "0.14.0" +__version__ = "0.13.2" SimpleOrAttribute = Union['SimpleName', 'AttributeName'] @@ -99,6 +99,7 @@ class VHDLVersion(Enum): This enumeration supports compare operators. """ + Any = -1 VHDL87 = 87 VHDL93 = 93 VHDL2002 = 2002 @@ -116,6 +117,7 @@ class VHDLVersion(Enum): 2002: VHDL2002, 2008: VHDL2008, 2019: VHDL2019, + "Any": Any, "87": VHDL87, "93": VHDL93, "02": VHDL2002, diff --git a/setup.py b/setup.py index 89d5a2ca6..95047424b 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ # Assemble all package information setuptools_setup( name=projectName, - version="0.14.0", + version="0.13.2", author="Patrick Lehmann", author_email="Paebbels@gmail.com",