From 38f573f93cfa0f7912d642afad244a23df7a56a1 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Fri, 3 Jul 2026 23:50:09 +0200 Subject: [PATCH 1/3] Bumped dependencies. --- doc/Dependency.rst | 2 +- tests/unit/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Dependency.rst b/doc/Dependency.rst index 9fa1348..7c06e41 100644 --- a/doc/Dependency.rst +++ b/doc/Dependency.rst @@ -94,7 +94,7 @@ the mandatory dependencies too. +---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+ | **Package** | **Version** | **License** | **Dependencies** | +=====================================================================+=============+========================================================================================+======================+ -| `pytest `__ | ≥9.0 | `MIT `__ | *Not yet evaluated.* | +| `pytest `__ | ≥9.1 | `MIT `__ | *Not yet evaluated.* | +---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+ | `pytest-cov `__ | ≥7.1 | `MIT `__ | *Not yet evaluated.* | +---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+ diff --git a/tests/unit/requirements.txt b/tests/unit/requirements.txt index 1084f8f..8d11893 100644 --- a/tests/unit/requirements.txt +++ b/tests/unit/requirements.txt @@ -4,5 +4,5 @@ Coverage ~= 7.15 # Test Runner -pytest ~= 9.0 +pytest ~= 9.1 pytest-cov ~= 7.1 From c9865756d19e866641317e403c21325d760ee11d Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sat, 4 Jul 2026 22:45:12 +0200 Subject: [PATCH 2/3] Updated dunder-variables. --- pySVModel/__init__.py | 14 +++++++++----- pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/pySVModel/__init__.py b/pySVModel/__init__.py index dd874fc..0551791 100644 --- a/pySVModel/__init__.py +++ b/pySVModel/__init__.py @@ -48,11 +48,15 @@ from pyTooling.Decorators import export -__author__ = "Patrick Lehmann" -__email__ = "Paebbels@gmail.com" -__copyright__ = "2021-2026, Patrick Lehmann" -__license__ = "Apache License, Version 2.0" -__version__ = "0.5.8" +__author__ = "Patrick Lehmann" +__email__ = "Paebbels@gmail.com" +__copyright__ = "2021-2026, Patrick Lehmann" +__license__ = "Apache License, Version 2.0" +__version__ = "0.5.8" +# __keywords__ = [] +__project_url__ = "https://github.com/edaa-org/pySVModel" +__documentation_url__ = "https://edaa-org.github.io/pySVModel" +__issue_tracker_url__ = "https://GitHub.com/edaa-org/pySVModel/issues" @export diff --git a/pyproject.toml b/pyproject.toml index f2cfa59..34c9c65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools >= 82.0", + "setuptools >= 83.0", "pyTooling ~= 8.15" ] build-backend = "setuptools.build_meta" From 61cf02cfa6951e541f94ddf7ab2e16fdd04dd476 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sat, 4 Jul 2026 22:45:33 +0200 Subject: [PATCH 3/3] Updated Sphinx configuration for LuaLaTeX and Unicode font support. --- doc/conf.py | 55 ++++++++++++++++++------------------------- pySVModel/__init__.py | 2 +- run.ps1 | 2 +- 3 files changed, 25 insertions(+), 34 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 294386f..42be3e1 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -115,35 +115,26 @@ # ============================================================================== # Options for LaTeX / PDF output # ============================================================================== -from textwrap import dedent - +latex_engine = "lualatex" +latex_use_xindy = False latex_elements = { - # The paper size ('letterpaper' or 'a4paper'). - "papersize": "a4paper", - - # The font size ('10pt', '11pt' or '12pt'). - #'pointsize': '10pt', - - # Additional stuff for the LaTeX preamble. - "preamble": dedent(r""" - % ================================================================================ - % User defined additional preamble code - % ================================================================================ - % Add more Unicode characters for pdfLaTeX. - % - Alternatively, compile with XeLaTeX or LuaLaTeX. - % - https://GitHub.com/sphinx-doc/sphinx/issues/3511 - % - \ifdefined\DeclareUnicodeCharacter - \DeclareUnicodeCharacter{2265}{$\geq$} - \DeclareUnicodeCharacter{21D2}{$\Rightarrow$} - \fi - - - % ================================================================================ - """), - - # Latex figure (float) alignment - #'figure_align': 'htbp', + "papersize": "a4paper", # The paper size ('letterpaper' or 'a4paper'). + "pointsize": "10pt", # The font size ('10pt', '11pt' or '12pt'). + "inputenc": "", # Let LuaLaTeX handle input encoding + "utf8extra": "", + "polyglossia": "", + "babel": r"\usepackage[english]{babel}", + "fontenc": r"\usepackage{fontspec}", # Disable the default T1 font encoding (Essential for LuaLaTeX) + "fontpkg": dedent("""\ + \\usepackage[fontfamily=libertinus]{pytooling} + """), + "passoptionstopackages": dedent("""\ + \\PassOptionsToPackage{verbatimvisiblespace=\\ }{sphinx} + """), +# "sphinxsetup": "verbatimvisiblespace=\\textvisiblespace" +# "figure_align": "htbp", # Latex figure (float) alignment + "makeindex": r"\usepackage[columns=1]{idxlayout}\makeindex", + "printindex": r"\def\twocolumn[#1]{#1}\printindex", } # Grouping the document tree into LaTeX files. List of tuples @@ -151,10 +142,10 @@ # author, documentclass [howto, manual, or own class]). latex_documents = [ ( master_doc, - f"{project}.tex", - f"The {project} Documentation", - f"Patrick Lehmann", - f"manual" + f"{pythonProject}.tex", + f"The {pythonProject.replace("_", r"\_")} Documentation", + "Patrick Lehmann", + "manual" ), ] diff --git a/pySVModel/__init__.py b/pySVModel/__init__.py index 0551791..7042c53 100644 --- a/pySVModel/__init__.py +++ b/pySVModel/__init__.py @@ -52,7 +52,7 @@ __email__ = "Paebbels@gmail.com" __copyright__ = "2021-2026, Patrick Lehmann" __license__ = "Apache License, Version 2.0" -__version__ = "0.5.8" +__version__ = "0.5.9" # __keywords__ = [] __project_url__ = "https://github.com/edaa-org/pySVModel" __documentation_url__ = "https://edaa-org.github.io/pySVModel" diff --git a/run.ps1 b/run.ps1 index d0f17f4..9385c7a 100644 --- a/run.ps1 +++ b/run.ps1 @@ -33,7 +33,7 @@ Param( ) $PackageName = "pySVModel" -$PackageVersion = "0.5.8" +$PackageVersion = "0.5.9" # set default values $EnableDebug = [bool]$PSCmdlet.MyInvocation.BoundParameters["Debug"]