diff --git a/.github/workflows/ArtifactCleanUp.yml b/.github/workflows/ArtifactCleanUp.yml index 24805777..ec9b74bd 100644 --- a/.github/workflows/ArtifactCleanUp.yml +++ b/.github/workflows/ArtifactCleanUp.yml @@ -45,14 +45,14 @@ jobs: - name: 🗑️ Delete package Artifacts if: ${{ ! startsWith(github.ref, 'refs/tags') }} - uses: geekyeggo/delete-artifact@v4 + uses: geekyeggo/delete-artifact@v5 with: name: ${{ inputs.package }} token: ${{ secrets.GITHUB_TOKEN }} - name: 🗑️ Delete remaining Artifacts if: ${{ inputs.remaining != '' }} - uses: geekyeggo/delete-artifact@v4 + uses: geekyeggo/delete-artifact@v5 with: name: ${{ inputs.remaining }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/CheckDocumentation.yml b/.github/workflows/CheckDocumentation.yml index 285516a9..c092b5cb 100644 --- a/.github/workflows/CheckDocumentation.yml +++ b/.github/workflows/CheckDocumentation.yml @@ -47,10 +47,10 @@ jobs: - name: ⏬ Checkout repository uses: actions/checkout@v4 - - name: 🐍 Setup Python 3.11 + - name: 🐍 Setup Python ${{ inputs.python_version }} uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: ${{ inputs.python_version }} - name: 🔧 Install wheel,tomli and pip dependencies (native) run: | diff --git a/.github/workflows/IntermediateCleanUp.yml b/.github/workflows/IntermediateCleanUp.yml index 4699446f..6fc09a4d 100644 --- a/.github/workflows/IntermediateCleanUp.yml +++ b/.github/workflows/IntermediateCleanUp.yml @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🗑️ Delete SQLite coverage artifacts from matrix jobs - uses: geekyeggo/delete-artifact@v4 + uses: geekyeggo/delete-artifact@v5 if: inputs.sqlite_coverage_artifacts_prefix != '' continue-on-error: true with: @@ -47,7 +47,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - name: 🗑️ Delete XML coverage artifacts from matrix jobs - uses: geekyeggo/delete-artifact@v4 + uses: geekyeggo/delete-artifact@v5 if: inputs.xml_unittest_artifacts_prefix != '' continue-on-error: true with: diff --git a/.github/workflows/Parameters.yml b/.github/workflows/Parameters.yml index bc18f838..578a8fcf 100644 --- a/.github/workflows/Parameters.yml +++ b/.github/workflows/Parameters.yml @@ -140,6 +140,7 @@ jobs: for disable in disabled: print(f"::warning title=Disabled Python Job::System '{disable}' temporary disabled.") + # see https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json data = { # Python and PyPy versions supported by "setup-python" action "python": { @@ -157,9 +158,9 @@ jobs: }, # Runner systems (runner images) supported by GitHub Actions "sys": { - "ubuntu": { "icon": "🐧", "runs-on": "ubuntu-latest", "shell": "bash", "name": "Linux (x86-64)" }, - "windows": { "icon": "🪟", "runs-on": "windows-latest", "shell": "pwsh", "name": "Windows (x86-64)" }, - "macos": { "icon": "🍎", "runs-on": "macos-latest", "shell": "bash", "name": "MacOS (x86-64)" }, + "ubuntu": { "icon": "🐧", "runs-on": "ubuntu-latest", "shell": "bash", "name": "Linux (x86-64)", "minPy": [3, 7]}, + "windows": { "icon": "🪟", "runs-on": "windows-latest", "shell": "pwsh", "name": "Windows (x86-64)", "minPy": [3, 7]}, + "macos": { "icon": "🍎", "runs-on": "macos-latest", "shell": "bash", "name": "MacOS (x86-64)", "minPy": [3, 10]}, }, # Runtimes provided by MSYS2 "runtime": { @@ -188,6 +189,7 @@ jobs: if system in data["sys"] for version in versions if version in data["python"] + and [int(i) for i in version.split(".")] >= data["sys"][system]["minPy"] and f"{system}:{version}" not in excludes and f"{system}:{version}" not in disabled ] + [ @@ -201,6 +203,7 @@ jobs: for system, version in includes if system in data["sys"] and version in data["python"] + and [int(i) for i in version.split(".")] >= data["sys"][system]["minPy"] and f"{system}:{version}" not in disabled ] print(f"Combinations ({len(combinations)}):") diff --git a/.github/workflows/PublishOnPyPI.yml b/.github/workflows/PublishOnPyPI.yml index 4ec8ba81..890595c3 100644 --- a/.github/workflows/PublishOnPyPI.yml +++ b/.github/workflows/PublishOnPyPI.yml @@ -78,6 +78,6 @@ jobs: run: twine upload dist/*.whl - name: 🗑️ Delete packaging Artifacts - uses: geekyeggo/delete-artifact@v4 + uses: geekyeggo/delete-artifact@v5 with: name: ${{ inputs.artifact }} diff --git a/.github/workflows/UnitTesting.yml b/.github/workflows/UnitTesting.yml index 81e86570..f51b8cfd 100644 --- a/.github/workflows/UnitTesting.yml +++ b/.github/workflows/UnitTesting.yml @@ -165,11 +165,13 @@ jobs: "sphinx": "python-markupsafe:p", "tomli": "python-tomli:p", "wheel": "python-wheel: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", } subPackages = { "pytooling": { "yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p", - } + }, } regExp = compile(r"(?P[\w_\-\.]+)(?:\[(?P(?:\w+)(?:\s*,\s*\w+)*)\])?(?:\s*(?P[<>~=]+)\s*)(?P\d+(?:\.\d+)*)(?:-(?P\w+))?") diff --git a/doc/Instantiation.rst b/doc/Instantiation.rst index b606f6a0..254b2d8f 100644 --- a/doc/Instantiation.rst +++ b/doc/Instantiation.rst @@ -80,7 +80,7 @@ Documentation Only (Sphinx) steps: - name: 🗑️ Delete artifacts - uses: geekyeggo/delete-artifact@v2 + uses: geekyeggo/delete-artifact@v5 with: name: Documentation diff --git a/doc/requirements.txt b/doc/requirements.txt index 959de57d..e6745c17 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,10 +1,10 @@ -r ../requirements.txt -pyTooling ~= 6.0 +pyTooling ~= 6.1 # Enforce latest version on ReadTheDocs -sphinx >= 7.1, < 8.0 -docutils >= 0.18.0, < 0.19.0 +sphinx ~= 7.2 +docutils ~= 0.18.0 # Sphinx Extenstions #sphinx.ext.coverage diff --git a/pyproject.toml b/pyproject.toml index f2504354..0b1c9666 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = [ "setuptools >= 69.0.0", "wheel >= 0.40.0", - "pyTooling ~= 6.0" + "pyTooling ~= 6.1" ] build-backend = "setuptools.build_meta" diff --git a/requirements.txt b/requirements.txt index 3bea232d..963d44c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -pyTooling ~= 6.0 +pyTooling ~= 6.1 diff --git a/tests/requirements.txt b/tests/requirements.txt index db0afa85..b08e3733 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,13 +1,13 @@ -r ../requirements.txt # Coverage collection -Coverage >= 7.4 +Coverage ~= 7.5 # Test Runner -pytest >= 7.4.0 -pytest-cov >= 4.1.0 +pytest ~= 8.1 +pytest-cov ~= 5.0 # Static Type Checking -mypy >= 1.8.0 -typing_extensions >= 4.9.0 -lxml >= 5.0 +mypy ~= 1.9 +typing_extensions ~= 4.11 +lxml ~= 5.1