diff --git a/.github/workflows/ApplicationTesting.yml b/.github/workflows/ApplicationTesting.yml index 061a7f3..d297d81 100644 --- a/.github/workflows/ApplicationTesting.yml +++ b/.github/workflows/ApplicationTesting.yml @@ -248,7 +248,7 @@ jobs: if: matrix.system != 'msys2' run: | python -m pip install --disable-pip-version-check -U wheel - python -m pip install --disable-pip-version-check ${{ inputs.requirements }} + python -m pip install --disable-pip-version-check ${{ steps.requirements.outputs.requirements }} - name: 🔧 Install pip dependencies (MSYS2) if: matrix.system == 'msys2' diff --git a/.github/workflows/LaTeXDocumentation.yml b/.github/workflows/LaTeXDocumentation.yml index c8cd3ff..aa01cb6 100644 --- a/.github/workflows/LaTeXDocumentation.yml +++ b/.github/workflows/LaTeXDocumentation.yml @@ -42,6 +42,11 @@ on: required: false default: 'xelatex' type: string + halt-on-error: + description: 'Halt on first error, otherwise continue as long as possible.' + required: false + default: 'true' + type: string pdf_artifact: description: 'Name of the PDF documentation artifact.' required: false @@ -58,29 +63,27 @@ jobs: name: 📓 Converting LaTeX Documentation to PDF runs-on: "ubuntu-${{ inputs.ubuntu_image_version }}" continue-on-error: ${{ inputs.can-fail == 'true' }} + container: + image: pytooling/miktex:sphinx + volumes: + - ${{ github.workspace }}/latex:/latex steps: - name: 📥 Download artifacts '${{ inputs.latex_artifact }}' from 'SphinxDocumentation' job uses: pyTooling/download-artifact@v7 with: name: ${{ inputs.latex_artifact }} path: latex - -# - name: Debug -# run: | -# tree -pash . + investigate: 'true' - name: Build LaTeX document using 'pytooling/miktex:sphinx' - uses: addnab/docker-run-action@v3 if: inputs.pdf_artifact != '' - with: - image: pytooling/miktex:sphinx - options: -v ${{ github.workspace }}/latex:/latex --workdir /latex - run: | - # which ${{ inputs.processor }} - # pwd - # ls -lAh + run: | + if [[ "${{ inputs.halt-on-error }}" == "true" ]]; then + HALT_ON_ERROR="--halt-on-error" + fi - latexmk -${{ inputs.processor }} "${{ inputs.document }}.tex" + cd latex + latexmk --${{ inputs.processor }} --interaction=nonstopmode -file-line-error -max-print-line=250 ${HALT_ON_ERROR} "${{ inputs.document }}.tex" - name: 📤 Upload 'PDF Documentation' artifact uses: pyTooling/upload-artifact@v6 diff --git a/doc/index.rst b/doc/index.rst index 6959a46..0f3087b 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -164,12 +164,12 @@ Example Pipelines .. code-block:: toml [build-system] - requires = ["setuptools >= 80.0", "wheel ~= 0.45.0", "pyTooling ~= 8.11"] + requires = ["setuptools >= 80.0", "pyTooling ~= 8.12"] build-backend = "setuptools.build_meta" [tool.mypy] packages = ["myPackage"] - python_version = "3.13" + python_version = "3.14" strict = true pretty = true show_error_context = true diff --git a/doc/requirements.txt b/doc/requirements.txt index 5c41710..0cac716 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,6 +1,6 @@ -r ../requirements.txt -pyTooling ~= 8.11 +pyTooling ~= 8.12 # Enforce latest version on ReadTheDocs sphinx ~= 9.1 diff --git a/myPackage/__init__.py b/myPackage/__init__.py index 62f6eda..f4b5da8 100644 --- a/myPackage/__init__.py +++ b/myPackage/__init__.py @@ -36,7 +36,7 @@ __author__ = "Patrick Lehmann" __email__ = "Paebbels@gmail.com" __copyright__ = "2017-2026, Patrick Lehmann" __license__ = "Apache License, Version 2.0" -__version__ = "7.4.2" +__version__ = "7.4.3" __keywords__ = ["GitHub Actions"] __issue_tracker__ = "https://GitHub.com/pyTooling/Actions/issues" diff --git a/pyproject.toml b/pyproject.toml index 5a007be..078369c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,7 @@ [build-system] requires = [ "setuptools >= 80.0", - "wheel ~= 0.45.0", - "pyTooling ~= 8.11" + "pyTooling ~= 8.12" ] build-backend = "setuptools.build_meta" @@ -26,7 +25,7 @@ variable-naming-style = "camelCase" [tool.mypy] packages = ["myPackage", "myFramework.Extension"] -python_version = "3.13" +python_version = "3.14" strict = true pretty = true show_error_context = true diff --git a/requirements.txt b/requirements.txt index 06414d4..b2b0444 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -pyTooling ~= 8.11 +pyTooling ~= 8.12