From 2953f8d3a067d5e13eb6c64fac3bf55de227e381 Mon Sep 17 00:00:00 2001 From: arvidn Date: Fri, 24 Nov 2023 15:36:19 +0100 Subject: [PATCH 1/2] bump python 3.7 -> 3.8 on CI --- .github/workflows/build-test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index bbc80fff..3dd4004d 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -23,7 +23,7 @@ jobs: fail-fast: false matrix: os: [macos-latest, ubuntu-latest, windows-latest] - python: [3.7] + python: ["3.8"] steps: - uses: actions/checkout@v3 @@ -73,7 +73,7 @@ jobs: PY_VERSION=${{ matrix.python }} PY_VERSION=${PY_VERSION/.} && \ echo "Python version with dot removed is $PY_VERSION" && \ - if [ "$PY_VERSION" = "37" ]; \ + if [ "$PY_VERSION" = "38" ]; \ then export SCND_VERSION="${PY_VERSION}m"; \ else export SCND_VERSION="$PY_VERSION"; fi && \ echo "Exporting path /opt/python/cp$PY_VERSION-cp$SCND_VERSION/bin" && \ @@ -188,7 +188,7 @@ jobs: fail-fast: false matrix: os: [macos-latest, ubuntu-latest] - python: [3.7] + python: ["3.8"] steps: - uses: actions/checkout@v3 with: @@ -224,7 +224,7 @@ jobs: fail-fast: false matrix: os: [macos-latest, ubuntu-latest, windows-latest] - python: [3.7] + python: ["3.8"] steps: - uses: actions/checkout@v3 with: From 545a57ce4680fa38b2d8ebd3d93b18e583f86931 Mon Sep 17 00:00:00 2001 From: arvidn Date: Fri, 24 Nov 2023 16:03:40 +0100 Subject: [PATCH 2/2] test --- .github/workflows/build-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 3dd4004d..4a4b561c 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -108,6 +108,7 @@ jobs: ls target/wheels/ # this mess puts the name of the `.whl` file into `$WHEEL_PATH` # remove the dot, use the `glob` lib to grab the file from the directory + ls target/wheels WHEEL_PATH=$(echo ${{ matrix.python }} | python -c 'DOTLESS=input().replace(".", ""); import glob; print(" ".join(glob.glob("target/wheels/clvm_rs-*-cp%s-abi3-*.whl" % DOTLESS)))' ) echo ${WHEEL_PATH} pip install ${WHEEL_PATH}