Skip to content

Commit

Permalink
Back to py311, debug temp reqts file.
Browse files Browse the repository at this point in the history
  • Loading branch information
pp-mo committed Sep 23, 2024
1 parent a5afd7d commit c7c7b8f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-locks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
ENV_NAME: "ci-locks"
strategy:
matrix:
lock: [py312-lock]
lock: [py311-lock]
steps:
- name: "Checkout"
uses: actions/checkout@v4
Expand Down
20 changes: 12 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit c7c7b8f

Please sign in to comment.