Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions .github/workflows/Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,25 @@ on:
# Every Friday at 22:00 - rerun pipeline to check for dependency-based issues
- cron: '0 22 * * 5'

permissions:
actions: write
contents: write
pages: write
id-token: write

jobs:
Pipeline:
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@dev
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r7
with:
package_namespace: pyEDAA
package_name: OSVVM
unittest_python_version_list: '3.12 3.13'
codecov: true
codacy: true
dorny: true
package_namespace: 'pyEDAA'
package_name: 'OSVVM'
unittest_python_version_list: '3.11 3.12 3.13 3.14 pypy-3.11'
unittest_disable_list: 'windows-arm:*' # windows-arm:pypy-3.11'
bandit: 'true'
pylint: 'false'
codecov: 'true'
codacy: 'true'
dorny: 'true'
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .idea/pyEDAA.OSVVM.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
wheel ~= 0.45
twine ~= 6.1
wheel ~= 0.45.0
twine ~= 6.2
10 changes: 5 additions & 5 deletions doc/Dependency.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ PyPI (see :ref:`INSTALL`).
+=======================================================================================+=============+==========================================================================================================+=============================================================================================================================================================+
| `ruamel.yaml <https://sourceforge.net/projects/ruamel-yaml/>`__ | ≥0.18 | `MIT <https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree/LICENSE>`__ | *Not yet evaluated.* |
+---------------------------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.4 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.txt>`__ | *None* |
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.10 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.txt>`__ | *None* |
+---------------------------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
| `pyVHDLModel <https://GitHub.com/VHDL/pyVHDLModel>`__ | ≥0.31 | `Apache License, 2.0 <https://GitHub.com/VHDL/pyVHDLModel/blob/master/LICENSE>`__ | * `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ (`Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.txt>`__) |
| `pyVHDLModel <https://GitHub.com/VHDL/pyVHDLModel>`__ | ≥0.33 | `Apache License, 2.0 <https://GitHub.com/VHDL/pyVHDLModel/blob/master/LICENSE>`__ | * `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ (`Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.txt>`__) |
+---------------------------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+


Expand Down Expand Up @@ -147,7 +147,7 @@ the mandatory dependencies too.
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| **Package** | **Version** | **License** | **Dependencies** |
+=================================================================================================+==============+==========================================================================================================+======================================================================================================================================================+
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.4 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.10 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| `Sphinx <https://GitHub.com/sphinx-doc/sphinx>`__ | ≥8.2 | `BSD 3-Clause <https://GitHub.com/sphinx-doc/sphinx/blob/master/LICENSE>`__ | *Not yet evaluated.* |
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
Expand All @@ -161,7 +161,7 @@ the mandatory dependencies too.
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| `sphinx-copybutton <https://GitHub.com/executablebooks/sphinx-copybutton>`__ | ≥0.5.2 | `MIT <https://GitHub.com/executablebooks/sphinx-copybutton/blob/master/LICENSE>`__ | *Not yet evaluated.* |
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| `sphinx_autodoc_typehints <https://GitHub.com/agronholm/sphinx-autodoc-typehints>`__ | ≥3.2 | `MIT <https://GitHub.com/agronholm/sphinx-autodoc-typehints/blob/master/LICENSE>`__ | *Not yet evaluated.* |
| `sphinx_autodoc_typehints <https://GitHub.com/agronholm/sphinx-autodoc-typehints>`__ | ≥3.5 | `MIT <https://GitHub.com/agronholm/sphinx-autodoc-typehints/blob/master/LICENSE>`__ | *Not yet evaluated.* |
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| `ruamel.yaml <https://sourceforge.net/projects/ruamel-yaml/>`__ | ≥0.18 | `MIT <https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree/LICENSE>`__ | *Not yet evaluated.* |
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
Expand Down Expand Up @@ -202,7 +202,7 @@ install the mandatory dependencies too.
+----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| **Package** | **Version** | **License** | **Dependencies** |
+============================================================================+==============+==========================================================================================================+======================================================================================================================================================+
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.4 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.10 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
+----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| `wheel <https://GitHub.com/pypa/wheel>`__ | ≥0.45 | `MIT <https://github.com/pypa/wheel/blob/main/LICENSE.txt>`__ | *Not yet evaluated.* |
+----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
Expand Down
5 changes: 5 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,11 @@
}
}



# ==============================================================================
# pyEDAA.OSVVM
# ==============================================================================
osvvm_build_summaries = {
"osvvmlibraries": {
"name": "OsvvmLibraries",
Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ OSVVM Project
.. code-block:: Python

from pathlib import Path
from pyEDAA.OSVVM.TCL import OsvvmProFileProcessor
from pyEDAA.OSVVM.Project.TCL import OsvvmProFileProcessor

processor = OsvvmProFileProcessor()
processor.LoadBuildFile(Path("OSVVM/OSVVMLibraries/OsvvmLibraries.pro"))
Expand Down
2 changes: 1 addition & 1 deletion doc/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pushd %~dp0
REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=py -3.13 -m sphinx.cmd.build
set SPHINXBUILD=py -3.14 -m sphinx.cmd.build
)
set SOURCEDIR=.
set BUILDDIR=_build
Expand Down
10 changes: 5 additions & 5 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Enforce latest version on ReadTheDocs
sphinx ~= 8.2
docutils ~= 0.21
docutils ~= 0.21.0
docutils_stubs ~= 0.0.22

# ReadTheDocs Theme
Expand All @@ -11,7 +11,7 @@ sphinx_rtd_theme ~= 3.0
# Sphinx Extenstions
sphinxcontrib-mermaid ~= 1.0
autoapi >= 2.0.1
sphinx_design ~= 0.6.1
sphinx-copybutton >= 0.5.2
sphinx_autodoc_typehints ~= 3.2
sphinx_reports ~= 0.9
sphinx_design ~= 0.6.0
sphinx-copybutton >= 0.5.0
sphinx_autodoc_typehints ~= 3.5
sphinx_reports ~= 0.9.0
8 changes: 4 additions & 4 deletions doc/shields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,21 @@
:target: https://GitHub.com/edaa-org/pyEDAA.OSVVM/actions/workflows/Pipeline.yml

.. # Codacy - quality
.. |SHIELD:svg:OSVVM-codacy-quality| image:: https://img.shields.io/codacy/grade/c2635df20fa840bc85639ca2fa1d9cb4?longCache=true&style=flat-square&logo=codacy
.. |SHIELD:svg:OSVVM-codacy-quality| image:: https://img.shields.io/codacy/grade/b57c7ddd73ef459aaa6a4a6251dd0ad4?longCache=true&style=flat-square&logo=codacy
:alt: Codacy - Quality
:height: 22
:target: https://www.codacy.com/gh/edaa-org/pyEDAA.OSVVM
.. |SHIELD:png:OSVVM-codacy-quality| image:: https://raster.shields.io/codacy/grade/c2635df20fa840bc85639ca2fa1d9cb4?longCache=true&style=flat-square&logo=codacy
.. |SHIELD:png:OSVVM-codacy-quality| image:: https://raster.shields.io/codacy/grade/b57c7ddd73ef459aaa6a4a6251dd0ad4?longCache=true&style=flat-square&logo=codacy
:alt: Codacy - Quality
:height: 22
:target: https://www.codacy.com/gh/edaa-org/pyEDAA.OSVVM

.. # Codacy - coverage
.. |SHIELD:svg:OSVVM-codacy-coverage| image:: https://img.shields.io/codacy/coverage/c2635df20fa840bc85639ca2fa1d9cb4?longCache=true&style=flat-square&logo=codacy
.. |SHIELD:svg:OSVVM-codacy-coverage| image:: https://img.shields.io/codacy/coverage/b57c7ddd73ef459aaa6a4a6251dd0ad4?longCache=true&style=flat-square&logo=codacy
:alt: Codacy - Line Coverage
:height: 22
:target: https://www.codacy.com/gh/edaa-org/pyEDAA.OSVVM
.. |SHIELD:png:OSVVM-codacy-coverage| image:: https://raster.shields.io/codacy/coverage/c2635df20fa840bc85639ca2fa1d9cb4?longCache=true&style=flat-square&logo=codacy
.. |SHIELD:png:OSVVM-codacy-coverage| image:: https://raster.shields.io/codacy/coverage/b57c7ddd73ef459aaa6a4a6251dd0ad4?longCache=true&style=flat-square&logo=codacy
:alt: Codacy - Line Coverage
:height: 22
:target: https://www.codacy.com/gh/edaa-org/pyEDAA.OSVVM
Expand Down
6 changes: 3 additions & 3 deletions pyEDAA/OSVVM/AlertLog.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# #
# License: #
# ==================================================================================================================== #
# Copyright 2021-2025 Electronic Design Automation Abstraction (EDA²) #
# Copyright 2021-2026 Electronic Design Automation Abstraction (EDA²) #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License. #
Expand Down Expand Up @@ -90,7 +90,7 @@ def _format(node: Node) -> str:
:param node: Node to format.
:returns: String representation (one-liner) describing an AlertLogItem.
"""
return f"{node["Name"]}: {node["TotalErrors"]}={node["AlertCountFailures"]}/{node["AlertCountErrors"]}/{node["AlertCountWarnings"]} {node["PassedCount"]}/{node["AffirmCount"]}"
return f"{node['Name']}: {node['TotalErrors']}={node['AlertCountFailures']}/{node['AlertCountErrors']}/{node['AlertCountWarnings']} {node['PassedCount']}/{node['AffirmCount']}"


@export
Expand Down Expand Up @@ -318,7 +318,7 @@ def __iter__(self) -> Iterator["AlertLogItem"]:
"""
Iterate all child AlertLog items.

:return: An iterator of child items.
:returns: An iterator of child items.
"""
return iter(self._children.values())

Expand Down
Loading
Loading