From 602651d3e5e92fbf40e54186cdaa8380f81ef2dd Mon Sep 17 00:00:00 2001 From: Napsty Date: Fri, 25 Oct 2024 14:48:52 +0200 Subject: [PATCH] Remove python2 and pywbem 0.7.0 compatibility --- .github/workflows/python3check.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/python3check.yml b/.github/workflows/python3check.yml index 868d9dd..4416acd 100644 --- a/.github/workflows/python3check.yml +++ b/.github/workflows/python3check.yml @@ -15,18 +15,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.8' - name: Install latest pywbem from pip run: | - sudo apt-get install -qq -yy python3-pip + sudo apt-get install -qq -yy python3 python3-pip pip3 install pywbem - - name: Set environment PYTHONPATH - run: | - export PYTHONPATH=/opt/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages:${PYTHONPATH} - name: Verify python sys.path - run: (echo "import sys"; echo "print(', '.join(sys.path))") | python + run: (echo "import sys"; echo "print(', '.join(sys.path))") | python3 - name: Launch script with --help run: | ./check_esxi_hardware.py --help