Skip to content

Commit

Permalink
v6.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Apr 9, 2024
2 parents eed2cde + 344feba commit b80c609
Show file tree
Hide file tree
Showing 10 changed files with 202 additions and 172 deletions.
9 changes: 0 additions & 9 deletions .btd.yml

This file was deleted.

44 changes: 22 additions & 22 deletions .github/workflows/Pipeline.yml
Expand Up @@ -9,34 +9,34 @@ on:

jobs:
UnitTestingParams:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r1
with:
name: pyTooling
python_version_list: "3.8 3.9 3.10 3.11 3.12 pypy-3.8 pypy-3.9 pypy-3.10"
# disable_list: "windows:pypy-3.8 windows:pypy-3.9"

PerformanceTestingParams:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r1
with:
name: Performance
python_version_list: "3.11 3.12" # pypy-3.10"
system_list: "ubuntu windows macos"

BenchmarkingParams:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r1
with:
name: Benchmark
python_version_list: "3.11 3.12 pypy-3.10"

PlatformTestingParams:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r1
with:
name: Platform
python_version_list: ""
system_list: "ubuntu windows macos mingw32 mingw64 clang64 ucrt64"
system_list: "ubuntu windows macos mingw64 ucrt64 clang64"

UnitTesting:
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r1
needs:
- UnitTestingParams
with:
Expand All @@ -47,7 +47,7 @@ jobs:
coverage_sqlite_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}

PerformanceTesting:
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r1
needs:
- PerformanceTestingParams
with:
Expand All @@ -57,7 +57,7 @@ jobs:
unittest_directory: 'performance'

Benchmarking:
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r1
needs:
- BenchmarkingParams
with:
Expand All @@ -67,7 +67,7 @@ jobs:
unittest_directory: 'benchmark'

PlatformTesting:
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r1
needs:
- PlatformTestingParams
with:
Expand All @@ -77,7 +77,7 @@ jobs:
coverage_sqlite_artifact: ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).codecoverage_sqlite }}

StaticTypeCheck:
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@dev
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r1
needs:
- UnitTestingParams
with:
Expand All @@ -89,7 +89,7 @@ jobs:
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}

DocCoverage:
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@dev
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@r1
needs:
- UnitTestingParams
with:
Expand All @@ -98,7 +98,7 @@ jobs:
# fail_below: 70

Package:
uses: pyTooling/Actions/.github/workflows/Package.yml@dev
uses: pyTooling/Actions/.github/workflows/Package.yml@r1
needs:
- UnitTestingParams
- UnitTesting
Expand All @@ -108,7 +108,7 @@ jobs:
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}

PublishCoverageResults:
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@dev
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r1
needs:
- UnitTestingParams
- UnitTesting
Expand All @@ -122,7 +122,7 @@ jobs:
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}

PublishTestResults:
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r1
needs:
- UnitTestingParams
- UnitTesting
Expand All @@ -133,7 +133,7 @@ jobs:
merged_junit_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}

IntermediateCleanUp:
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@dev
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@r1
needs:
- UnitTestingParams
- PublishCoverageResults
Expand All @@ -144,15 +144,15 @@ jobs:
xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-

# VerifyDocs:
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@r1
# needs:
# - UnitTestingParams
# with:
# python_version: ${{ needs.UnitTestingParams.outputs.python_version }}


HTMLDocumentation:
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@dev
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r1
needs:
- UnitTestingParams
- PublishTestResults
Expand All @@ -166,7 +166,7 @@ jobs:
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}

# PDFDocumentation:
# uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@dev
# uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@r1
# needs:
# - UnitTestingParams
# - HTMLDocumentation
Expand All @@ -176,7 +176,7 @@ jobs:
# pdf_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_pdf }}

PublishToGitHubPages:
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@dev
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r1
needs:
- UnitTestingParams
- HTMLDocumentation
Expand All @@ -189,14 +189,14 @@ jobs:
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}

ReleasePage:
uses: pyTooling/Actions/.github/workflows/Release.yml@dev
uses: pyTooling/Actions/.github/workflows/Release.yml@r1
if: startsWith(github.ref, 'refs/tags')
needs:
- Package
- PublishToGitHubPages

PublishOnPyPI:
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r1
if: startsWith(github.ref, 'refs/tags')
needs:
- UnitTestingParams
Expand All @@ -209,7 +209,7 @@ jobs:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

ArtifactCleanUp:
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r1
needs:
- UnitTestingParams
- PlatformTestingParams
Expand Down
31 changes: 16 additions & 15 deletions doc/conf.py
Expand Up @@ -23,6 +23,7 @@
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
githubNamespace = "pyTooling"
project = "pyTooling"

packageInformationFile = Path(f"../{project}/Common/__init__.py")
Expand Down Expand Up @@ -92,7 +93,7 @@
html_favicon = str(Path(html_static_path[0]) / "icon.png")

# Output file base name for HTML help builder.
htmlhelp_basename = "pyToolingDoc"
htmlhelp_basename = f"{project}Doc"

# If not None, a 'Last updated on:' timestamp is inserted at every page
# bottom, using the given strftime format.
Expand Down Expand Up @@ -145,10 +146,10 @@
# author, documentclass [howto, manual, or own class]).
latex_documents = [
( master_doc,
"pyTooling.tex",
"The pyTooling Documentation",
"Patrick Lehmann",
"manual"
f"{project}.tex",
f"The {project} Documentation",
f"Patrick Lehmann",
f"manual"
),
]

Expand Down Expand Up @@ -207,11 +208,11 @@
# Sphinx.Ext.ExtLinks
# ==============================================================================
extlinks = {
"gh": ("https://GitHub.com/%s", "gh:%s"),
"ghissue": ("https://GitHub.com/pyTooling/pyTooling/issues/%s", "issue #%s"),
"ghpull": ("https://GitHub.com/pyTooling/pyTooling/pull/%s", "pull request #%s"),
"ghsrc": ("https://GitHub.com/pyTooling/pyTooling/blob/main/%s", None),
"wiki": ("https://en.wikipedia.org/wiki/%s", None),
"gh": (f"https://GitHub.com/%s", "gh:%s"),
"ghissue": (f"https://GitHub.com/{githubNamespace}/{project}/issues/%s", "issue #%s"),
"ghpull": (f"https://GitHub.com/{githubNamespace}/{project}/pull/%s", "pull request #%s"),
"ghsrc": (f"https://GitHub.com/{githubNamespace}/{project}/blob/main/%s", None),
"wiki": (f"https://en.wikipedia.org/wiki/%s", None),
}


Expand Down Expand Up @@ -264,22 +265,22 @@

report_unittest_testsuites = {
"src": {
"name": "pyTooling",
"name": f"{project}",
"xml_report": "../report/unit/TestReportSummary.xml",
}
}
report_codecov_packages = {
"src": {
"name": "pyTooling",
"name": f"{project}",
"json_report": "../report/coverage/coverage.json",
"fail_below": 80,
"levels": _coverageLevels
}
}
report_doccov_packages = {
"src": {
"name": "pyTooling",
"directory": "../pyTooling",
"name": f"{project}",
"directory": f"../{project}",
"fail_below": 80,
"levels": _coverageLevels
}
Expand All @@ -296,7 +297,7 @@
# AutoAPI.Sphinx
# ==============================================================================
autoapi_modules = {
"pyTooling": {
f"{project}": {
"template": "package",
"output": project,
"override": True
Expand Down
2 changes: 1 addition & 1 deletion pyTooling/Common/__init__.py
Expand Up @@ -37,7 +37,7 @@
__email__ = "Paebbels@gmail.com"
__copyright__ = "2017-2024, Patrick Lehmann"
__license__ = "Apache License, Version 2.0"
__version__ = "6.0.1"
__version__ = "6.1.0"
__keywords__ = ["abstract", "argparse", "attributes", "bfs", "cli", "console", "data structure", "decorators",
"dfs", "exceptions", "generators", "generic library", "generic path", "graph", "installation",
"iterators", "licensing", "message logging", "meta-classes", "overloading", "override", "packaging",
Expand Down

0 comments on commit b80c609

Please sign in to comment.