From c7c7b8fe07bc873af10dbba45fbf5d2ca125c568 Mon Sep 17 00:00:00 2001 From: Patrick Peglar Date: Mon, 23 Sep 2024 16:31:56 +0100 Subject: [PATCH] Back to py311, debug temp reqts file. --- .github/workflows/ci-locks.yml | 2 +- tox.ini | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-locks.yml b/.github/workflows/ci-locks.yml index b0c26db9..d7a1a013 100644 --- a/.github/workflows/ci-locks.yml +++ b/.github/workflows/ci-locks.yml @@ -27,7 +27,7 @@ jobs: ENV_NAME: "ci-locks" strategy: matrix: - lock: [py312-lock] + lock: [py311-lock] steps: - name: "Checkout" uses: actions/checkout@v4 diff --git a/tox.ini b/tox.ini index 61e60e0f..478d60a6 100644 --- a/tox.ini +++ b/tox.ini @@ -32,14 +32,18 @@ skip_install = commands = cp {env:YMLFILE} {env:TMPFILE} python -c 'from sys import version_info as v; fh = open("{env:TMPFILE}", "a"); fh.write(f"\n - python =\{v.major\}.\{v.minor\}\n")' - echo "[[DEBUG: env]]" - env - echo "[[DEBUG: conda info]]" - conda info - echo "[[DEBUG: sytem config (/home/runner/miniconda3/.condarc) ]]" - cat /home/runner/miniconda3/.condarc - echo "[[DEBUG: user config (/home/runner/.condarc) ]]" - cat /home/runner/.condarc + echo "[[DEBUG: trial version extract]]" + python -c 'v_minor="{envname}"[3:5]; print("Minor version num = ", v_minor, " = ", int(v_minor))' + echo "[[DEBUG: temp yml reqts file]]" + cat {env:TMPFILE} +; echo "[[DEBUG: env]]" +; env +; echo "[[DEBUG: conda info]]" +; conda info +; echo "[[DEBUG: sytem config (/home/runner/miniconda3/.condarc) ]]" +; cat /home/runner/miniconda3/.condarc +; echo "[[DEBUG: user config (/home/runner/.condarc) ]]" +; cat /home/runner/.condarc echo "[[DEBUG: (done) ]]" conda-lock --channel conda-forge --kind explicit --file {env:TMPFILE} --platform linux-64 --filename-template "{envname}-\{platform\}.txt" {posargs}