Skip to content

Commit 201524c

Browse files
authored
v0.5.6
2 parents 920ad41 + 3c0364a commit 201524c

14 files changed

Lines changed: 59 additions & 50 deletions

File tree

.github/workflows/Pipeline.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,15 @@ on:
77
# Every Friday at 22:00 - rerun pipeline to check for dependency-based issues
88
- cron: '0 22 * * 5'
99

10+
permissions:
11+
actions: write
12+
contents: write
13+
pages: write
14+
id-token: write
15+
1016
jobs:
1117
Pipeline:
12-
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r6
18+
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r7
1319
with:
1420
package_name: 'pySVModel'
1521
unittest_python_version_list: '3.11 3.12 3.13 3.14 pypy-3.11'

dist/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
wheel ~= 0.45
1+
wheel ~= 0.45.0
22
twine ~= 6.2

doc/Dependency.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ When installed as ``pySVModel``:
5252
+--------------------------------------------------------+-------------+------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+
5353
| **Package** | **Version** | **License** | **Dependencies** |
5454
+========================================================+=============+==========================================================================================+=================================================================================================================================+
55-
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.7 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.txt>`__ | *None* |
55+
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.10 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.txt>`__ | *None* |
5656
+--------------------------------------------------------+-------------+------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+
5757

5858

@@ -94,13 +94,13 @@ the mandatory dependencies too.
9494
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
9595
| **Package** | **Version** | **License** | **Dependencies** |
9696
+=====================================================================+=============+========================================================================================+======================+
97-
| `pytest <https://GitHub.com/pytest-dev/pytest>`__ |8.4 | `MIT <https://GitHub.com/pytest-dev/pytest/blob/master/LICENSE>`__ | *Not yet evaluated.* |
97+
| `pytest <https://GitHub.com/pytest-dev/pytest>`__ |9.0 | `MIT <https://GitHub.com/pytest-dev/pytest/blob/master/LICENSE>`__ | *Not yet evaluated.* |
9898
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
9999
| `pytest-cov <https://GitHub.com/pytest-dev/pytest-cov>`__ | ≥7.0 | `MIT <https://GitHub.com/pytest-dev/pytest-cov/blob/master/LICENSE>`__ | *Not yet evaluated.* |
100100
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
101-
| `Coverage <https://GitHub.com/nedbat/coveragepy>`__ | ≥7.11 | `Apache License, 2.0 <https://GitHub.com/nedbat/coveragepy/blob/master/LICENSE.txt>`__ | *Not yet evaluated.* |
101+
| `Coverage <https://GitHub.com/nedbat/coveragepy>`__ | ≥7.13 | `Apache License, 2.0 <https://GitHub.com/nedbat/coveragepy/blob/master/LICENSE.txt>`__ | *Not yet evaluated.* |
102102
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
103-
| `mypy <https://GitHub.com/python/mypy>`__ | ≥1.18 | `MIT <https://GitHub.com/python/mypy/blob/master/LICENSE>`__ | *Not yet evaluated.* |
103+
| `mypy <https://GitHub.com/python/mypy>`__ | ≥1.19 | `MIT <https://GitHub.com/python/mypy/blob/master/LICENSE>`__ | *Not yet evaluated.* |
104104
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
105105
| `typing-extensions <https://GitHub.com/python/typing_extensions>`__ | ≥4.15 | `PSF-2.0 <https://github.com/python/typing_extensions/blob/main/LICENSE>`__ | *Not yet evaluated.* |
106106
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
@@ -144,7 +144,7 @@ the mandatory dependencies too.
144144
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
145145
| **Package** | **Version** | **License** | **Dependencies** |
146146
+=================================================================================================+==============+==========================================================================================================+======================================================================================================================================================+
147-
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.7 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
147+
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.10 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
148148
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
149149
| `Sphinx <https://GitHub.com/sphinx-doc/sphinx>`__ | ≥8.2 | `BSD 3-Clause <https://GitHub.com/sphinx-doc/sphinx/blob/master/LICENSE>`__ | *Not yet evaluated.* |
150150
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -198,7 +198,7 @@ install the mandatory dependencies too.
198198
+----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
199199
| **Package** | **Version** | **License** | **Dependencies** |
200200
+============================================================================+==============+==========================================================================================================+======================================================================================================================================================+
201-
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.7 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
201+
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.10 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
202202
+----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
203203
| `wheel <https://GitHub.com/pypa/wheel>`__ | ≥0.45 | `MIT <https://github.com/pypa/wheel/blob/main/LICENSE.txt>`__ | *Not yet evaluated.* |
204204
+----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+

doc/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Enforce latest version on ReadTheDocs
44
sphinx ~= 8.2
5-
docutils ~= 0.21
5+
docutils ~= 0.21.0
66
docutils_stubs ~= 0.0.22
77

88
# ReadTheDocs Theme
@@ -11,7 +11,7 @@ sphinx_rtd_theme ~= 3.0
1111
# Sphinx Extenstions
1212
sphinxcontrib-mermaid ~= 1.0
1313
autoapi >= 2.0.1
14-
sphinx_design ~= 0.6
15-
sphinx-copybutton >= 0.5
14+
sphinx_design ~= 0.6.0
15+
sphinx-copybutton >= 0.5.0
1616
sphinx_autodoc_typehints ~= 3.5
17-
sphinx_reports ~= 0.9
17+
sphinx_reports ~= 0.9.0

pySVModel/__init__.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# #
1212
# License: #
1313
# ==================================================================================================================== #
14-
# Copyright 2021-2025 Patrick Lehmann - Boetzingen, Germany #
14+
# Copyright 2021-2026 Patrick Lehmann - Boetzingen, Germany #
1515
# #
1616
# Licensed under the Apache License, Version 2.0 (the "License"); #
1717
# you may not use this file except in compliance with the License. #
@@ -39,7 +39,7 @@
3939
4040
.. admonition:: Copyright Information
4141
42-
:copyright: Copyright 2021-2025 Patrick Lehmann - Bötzingen, Germany
42+
:copyright: Copyright 2021-2026 Patrick Lehmann - Bötzingen, Germany
4343
:license: Apache License, Version 2.0
4444
"""
4545
from enum import unique, Enum
@@ -50,9 +50,9 @@
5050

5151
__author__ = "Patrick Lehmann"
5252
__email__ = "Paebbels@gmail.com"
53-
__copyright__ = "2021-2025, Patrick Lehmann"
53+
__copyright__ = "2021-2026, Patrick Lehmann"
5454
__license__ = "Apache License, Version 2.0"
55-
__version__ = "0.5.5"
55+
__version__ = "0.5.6"
5656

5757

5858
@export
@@ -114,7 +114,7 @@ class SystemVerilogVersion(Enum):
114114
"Latest": Latest
115115
} #: Dictionary of (System)Verilog year codes variants as integer and strings for mapping to unique enum values.
116116

117-
def __init__(self, *_):
117+
def __init__(self, *_) -> None:
118118
"""Patch the embedded MAP dictionary"""
119119
for k, v in self.__class__.__VERSION_MAPPINGS__.items():
120120
if (not isinstance(v, self.__class__)) and (v == self.value):
@@ -237,7 +237,7 @@ def __str__(self) -> str:
237237
"""
238238
Formats the SystemVerilog version to pattern ``SV'xx`` or in case of classic Verilog to ``Verilog'xx``.
239239
240-
:return: Formatted (System)Verilog version.
240+
:returns: Formatted (System)Verilog version.
241241
"""
242242
if self.value == self.Any.value:
243243
return "SV'Any"
@@ -254,7 +254,7 @@ def __repr__(self) -> str:
254254
"""
255255
Formats the (System)Verilog version to pattern ``xxxx``.
256256
257-
:return: Formatted (System)Verilog version.
257+
:returns: Formatted (System)Verilog version.
258258
"""
259259
if self.value == self.Any.value:
260260
return "Any"

pyproject.toml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[build-system]
22
requires = [
33
"setuptools >= 80.0",
4-
"wheel ~= 0.45",
5-
"pyTooling ~= 8.7"
4+
"wheel ~= 0.45.0",
5+
"pyTooling ~= 8.10"
66
]
77
build-backend = "setuptools.build_meta"
88

@@ -36,23 +36,21 @@ namespace_packages = true
3636
html_report = "report/typing"
3737

3838
[tool.pytest]
39-
junit_xml = "report/unit/UnittestReportSummary.xml"
40-
41-
[tool.pyedaa-reports]
42-
junit_xml = "report/unit/unittest.xml"
43-
44-
[tool.pytest.ini_options]
45-
addopts = "--tb=native"
39+
addopts = ["--tb=native"]
4640
# Don't set 'python_classes = *' otherwise, pytest doesn't search for classes
4741
# derived from unittest.Testcase
48-
python_files = "*"
49-
python_functions = "test_*"
42+
python_files = ["*"]
43+
python_functions = ["test_*"]
5044
filterwarnings = [
5145
"error::DeprecationWarning",
5246
"error::PendingDeprecationWarning"
5347
]
48+
junit_xml = "report/unit/UnittestReportSummary.xml"
5449
junit_logging = "all"
5550

51+
[tool.pyedaa-reports]
52+
junit_xml = "report/unit/unittest.xml"
53+
5654
[tool.interrogate]
5755
color = true
5856
verbose = 1 # possible values: 0 (minimal output), 1 (-v), 2 (-vv)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pyTooling ~= 8.7
1+
pyTooling ~= 8.10

run.ps1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ $jobs = @()
117117
if ($livedoc)
118118
{ Write-Host -ForegroundColor DarkYellow "[live][DOC] Building documentation using Sphinx ..."
119119

120-
.\doc\make.bat html --verbose
120+
cd doc
121+
py -3.14 -m sphinx.cmd.build -b html . _build/html --doctree-dir _build/doctrees --jobs auto --warning-file _build/sphinx-warnings.log --verbose
122+
cd ..
121123

122124
Write-Host -ForegroundColor DarkYellow "[live][DOC] Documentation finished"
123125
}
@@ -127,7 +129,8 @@ elseif ($doc)
127129

128130
# Compile documentation
129131
$compileDocFunc = {
130-
.\doc\make.bat html --verbose
132+
cd doc
133+
py -3.14 -m sphinx.cmd.build -b html . _build/html --doctree-dir _build/doctrees --jobs auto --warning-file _build/sphinx-warnings.log --verbose
131134
}
132135
$docJob = Start-Job -Name "Documentation" -ScriptBlock $compileDocFunc
133136
# $jobs += $docJob

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# #
1212
# License: #
1313
# ==================================================================================================================== #
14-
# Copyright 2021-2025 Patrick Lehmann - Boetzingen, Germany #
14+
# Copyright 2021-2026 Patrick Lehmann - Boetzingen, Germany #
1515
# #
1616
# Licensed under the Apache License, Version 2.0 (the "License"); #
1717
# you may not use this file except in compliance with the License. #

tests/requirements.txt

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,2 @@
1-
-r ../requirements.txt
2-
3-
# Coverage collection
4-
Coverage ~= 7.11
5-
6-
# Test Runner
7-
pytest ~= 8.4
8-
pytest-cov ~= 7.0
9-
10-
# Static Type Checking
11-
mypy[reports] ~= 1.18
12-
typing_extensions ~= 4.15
13-
lxml >= 5.4, <7.0
1+
-r unit/requirements.txt
2+
-r typing/requirements.txt

0 commit comments

Comments
 (0)