Handle docstr_coverage and pyyaml.

This commit is contained in:
Patrick Lehmann
2024-10-10 07:34:24 +02:00
parent b2ac6bc0d9
commit 13076012dd
5 changed files with 14 additions and 12 deletions

View File

@@ -37,7 +37,7 @@ on:
python_version_list: python_version_list:
description: 'Space separated list of Python versions to run tests with.' description: 'Space separated list of Python versions to run tests with.'
required: false required: false
default: '3.8 3.9 3.10 3.11 3.12' default: '3.9 3.10 3.11 3.12'
type: string type: string
system_list: system_list:
description: 'Space separated list of systems to run tests on.' description: 'Space separated list of systems to run tests on.'

View File

@@ -207,7 +207,7 @@ jobs:
packages = { packages = {
"coverage": "python-coverage:p", "coverage": "python-coverage:p",
"docstr_coverage": "python-pyyaml:p", "docstr_coverage": "python-pyaml:p",
"igraph": "igraph:p", "igraph": "igraph:p",
"jinja2": "python-markupsafe:p", "jinja2": "python-markupsafe:p",
"lxml": "python-lxml:p", "lxml": "python-lxml:p",
@@ -215,12 +215,13 @@ jobs:
"markupsafe": "python-markupsafe:p", "markupsafe": "python-markupsafe:p",
"pip": "python-pip:p", "pip": "python-pip:p",
"pyyaml": "python-pyyaml:p", "pyyaml": "python-pyyaml:p",
"ruamel.yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p", "ruamel.yaml": "python-ruamel-yaml:p",
# "ruamel.yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p",
"sphinx": "python-markupsafe:p", "sphinx": "python-markupsafe:p",
"tomli": "python-tomli:p", "tomli": "python-tomli:p",
"wheel": "python-wheel:p", "wheel": "python-wheel:p",
"pyEDAA.ProjectModel": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p", "pyedaa.projectmodel": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p",
"pyEDAA.Reports": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p", "pyedaa.reports": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p",
} }
subPackages = { subPackages = {
"pytooling": { "pytooling": {

View File

@@ -1,10 +1,10 @@
-r ../requirements.txt -r ../requirements.txt
pyTooling ~= 6.6 pyTooling ~= 6.7
# Enforce latest version on ReadTheDocs # Enforce latest version on ReadTheDocs
sphinx ~= 7.4 sphinx ~= 8.0
docutils ~= 0.20 docutils ~= 0.21
# Sphinx Extenstions # Sphinx Extenstions
#sphinx.ext.coverage #sphinx.ext.coverage
@@ -14,7 +14,7 @@ sphinxcontrib-mermaid>=0.9.2
#sphinxcontrib-textstyle>=0.2.1 #sphinxcontrib-textstyle>=0.2.1
#sphinxcontrib-spelling>=2.2.0 #sphinxcontrib-spelling>=2.2.0
autoapi >= 2.0.1 autoapi >= 2.0.1
sphinx_design >= 0.5.0 sphinx_design ~= 0.6.1
sphinx-copybutton >= 0.5.2 sphinx-copybutton >= 0.5.2
sphinx_autodoc_typehints ~= 2.3 sphinx_autodoc_typehints ~= 2.5
# changelog>=0.3.5 # changelog>=0.3.5

View File

@@ -2,7 +2,7 @@
requires = [ requires = [
"setuptools ~= 75.1", "setuptools ~= 75.1",
"wheel ~= 0.44", "wheel ~= 0.44",
"pyTooling ~= 6.6" "pyTooling ~= 6.7"
] ]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
@@ -21,6 +21,7 @@ namespace_packages = true
html_report = "report/typing" html_report = "report/typing"
[tool.pytest.ini_options] [tool.pytest.ini_options]
addopts = "--tb=native"
# Don't set 'python_classes = *' otherwise, pytest doesn't search for classes # Don't set 'python_classes = *' otherwise, pytest doesn't search for classes
# derived from unittest.Testcase # derived from unittest.Testcase
python_files = "*" python_files = "*"

View File

@@ -1 +1 @@
pyTooling ~= 6.6 pyTooling ~= 6.7