Skip to content
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@v4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
7 changes: 3 additions & 4 deletions .github/workflows/install-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ jobs:
fail-fast: false
matrix:
python_version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "pypy-3.7"
- "pypy-3.8"
- "3.12"
- "3.13"
- "pypy-3.9"
- "pypy-3.10"

steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

strategy:
matrix:
python_version: [ 3.9 ]
python_version: [ "3.10" ]

steps:
- uses: actions/checkout@v6
Expand Down
22 changes: 14 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:

strategy:
matrix:
python_version: [ 3.9 ]
python_version: [ "3.10"]

steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:

strategy:
matrix:
python_version: [ 3.9 ]
python_version: [ "3.10" ]

steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -159,10 +159,16 @@ jobs:

strategy:
matrix:
python_version: [ 3.9 ]
python_version: [ "3.10" ]

steps:
- uses: actions/checkout@v6

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libvirt-dev pkg-config gcc

- name: Use Python ${{ matrix.python_version }}
uses: actions/setup-python@v6
with:
Expand Down Expand Up @@ -205,7 +211,7 @@ jobs:
tar -xzvf "${TARBALL_FILENAME}"

cd "apache_libcloud-${VERSION}/"
tox -c tox.ini -epy3.9
tox -c tox.ini -epy3.10

- name: Verify Wheel Release Artifact
run: |
Expand All @@ -225,15 +231,15 @@ jobs:
cp ../../tox.ini .
cp ../../requirements-tests.txt .
cp ../../libcloud/test/secrets.py-dist libcloud/test/secrets.py-dist
tox -c tox.ini -epy3.9
tox -c tox.ini -epy3.10

build_test_docker_image:
name: Build and Verify Docker Image
runs-on: ubuntu-latest

strategy:
matrix:
python_version: [ 3.9 ]
python_version: [ "3.10" ]

steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -315,7 +321,7 @@ jobs:

strategy:
matrix:
python_version: [ 3.9 ]
python_version: [ "3.10" ]

steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -349,7 +355,7 @@ jobs:

strategy:
matrix:
python_version: [ 3.9 ]
python_version: [ "3.10" ]

steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_dev_artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Use Python ${{ matrix.python_version }}
uses: actions/setup-python@v6
with:
python-version: 3.9
python-version: "3.10"

- name: Print Environment Info
run: printenv | sort
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_pricing_to_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
python_version: [ 3.9 ]
python_version: [ "3.10" ]

steps:
- uses: actions/checkout@v6
Expand Down
4 changes: 2 additions & 2 deletions scripts/time_imports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ find . -name "*.pyc" -print0 | xargs -0 rm

# Example line:
# import time: 1112 | 70127 | libcloud
LIBCLOUD_IMPORT_TIMINGS=$(python3.9 -X importtime -c "import libcloud" 2>&1)
LIBCLOUD_IMPORT_TIMINGS=$(python3.10 -X importtime -c "import libcloud" 2>&1)
LIBCLOUD_IMPORT_TIME_CUMULATIVE_US=$(echo -e "${LIBCLOUD_IMPORT_TIMINGS}" | tail -1 | grep "| libcloud" | awk '{print $5}')

echo "Import timings for \"libcloud\" module"
Expand All @@ -40,7 +40,7 @@ fi
# Clean up any cached files to ensure consistent and clean environment
find . -name "*.pyc" -print0 | xargs -0 rm

EC2_DRIVER_IMPORT_TIMINGS=$(python3.9 -X importtime -c "import libcloud.compute.drivers.ec2" 2>&1)
EC2_DRIVER_IMPORT_TIMINGS=$(python3.10 -X importtime -c "import libcloud.compute.drivers.ec2" 2>&1)
EC2_DRIVER_IMPORT_TIME_CUMULATIVE_US=$(echo -e "$EC2_DRIVER_IMPORT_TIMINGS}" | tail -1 | grep "| libcloud.compute.drivers.ec2" | awk '{print $5}')

echo ""
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ basepython =
pypypy3.10: pypy3.10
pypypy-3.10: pypy3.10
pypyjion: pyjion
{docs,checks,black,black-check,lint,pylint,mypy,micro-benchmarks,coverage,import-timings,isort,isort-check,pyupgrade}: python3.9
{py3.9,py3.9-dist,py3.9-dist-wheel,py3.9-windows,integration-storage}: python3.9
{py3.10,py3.10-dist,py3.10-dist-wheel,bandit}: python3.10
{docs,checks,black,black-check,bandit,lint,pylint,mypy,micro-benchmarks,coverage,import-timings,isort,isort-check,pyupgrade,integration-storage}: python3.10
{py3.9,py3.9-dist,py3.9-dist-wheel,py3.9-windows}: python3.9
{py3.10,py3.10-dist,py3.10-dist-wheel}: python3.10
{py3.11,py3.11-dist,py3.11-dist-wheel}: python3.11
{py3.12,py3.12-dist,py3.12-dist-wheel}: python3.12
{py3.13-dev,py3.13-dev-dist,py3.13-dev-dist-wheel}: python3.13
Expand Down