This is an automated email from the ASF dual-hosted git repository.

micafer pushed a commit to branch test_py312
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit fa7ab702b00602798625287a43f36f729ad8efd0
Author: Miguel Caballer <[email protected]>
AuthorDate: Wed Jul 8 08:35:10 2026 +0200

    Move tests to py3.12
---
 .github/workflows/integration-tests.yml     |  2 +-
 .github/workflows/main.yml                  | 18 +++++++++---------
 .github/workflows/publish_dev_artifact.yml  |  2 +-
 .github/workflows/publish_pricing_to_s3.yml |  2 +-
 contrib/Dockerfile                          |  6 +++---
 pyproject.toml                              |  2 +-
 scripts/time_imports.sh                     |  4 ++--
 tox.ini                                     | 14 +++++++-------
 8 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/.github/workflows/integration-tests.yml 
b/.github/workflows/integration-tests.yml
index e5fea5609..16044f9ab 100644
--- a/.github/workflows/integration-tests.yml
+++ b/.github/workflows/integration-tests.yml
@@ -30,7 +30,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [ "3.10" ]
+        python_version: [ "3.12" ]
 
     steps:
       - uses: actions/checkout@v6
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index b84a19b8a..4f12b6d27 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -83,7 +83,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [ "3.10" ]
+        python_version: [ "3.12" ]
 
     steps:
       - uses: actions/checkout@v6
@@ -131,7 +131,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [ "3.10" ]
+        python_version: [ "3.12" ]
 
     steps:
       - uses: actions/checkout@v6
@@ -173,7 +173,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [ "3.10" ]
+        python_version: [ "3.12" ]
 
     steps:
       - uses: actions/checkout@v6
@@ -231,7 +231,7 @@ jobs:
           tar -xzvf "${TARBALL_FILENAME}"
 
           cd "apache_libcloud-${VERSION}/"
-          tox -c tox.ini -epy3.10
+          tox -c tox.ini -epy3.12
 
       - name: Verify Wheel Release Artifact
         run: |
@@ -251,7 +251,7 @@ jobs:
           cp ../../tox.ini .
           cp ../../pyproject.toml .
           cp ../../libcloud/test/secrets.py-dist libcloud/test/secrets.py-dist
-          tox -c tox.ini -epy3.10
+          tox -c tox.ini -epy3.12
 
   build_test_docker_image:
     name: Build and Verify Docker Image
@@ -259,7 +259,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [ "3.10" ]
+        python_version: [ "3.12" ]
 
     steps:
       - uses: actions/checkout@v6
@@ -278,7 +278,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [ "3.10" ]
+        python_version: [ "3.12" ]
 
     steps:
       - uses: actions/checkout@v6
@@ -351,7 +351,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [ "3.10" ]
+        python_version: [ "3.12" ]
 
     steps:
       - uses: actions/checkout@v6
@@ -390,7 +390,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [ "3.10" ]
+        python_version: [ "3.12" ]
 
     steps:
       - uses: actions/checkout@v6
diff --git a/.github/workflows/publish_dev_artifact.yml 
b/.github/workflows/publish_dev_artifact.yml
index 6a0387cff..c17271af2 100644
--- a/.github/workflows/publish_dev_artifact.yml
+++ b/.github/workflows/publish_dev_artifact.yml
@@ -27,7 +27,7 @@ jobs:
       - name: Use Python ${{ matrix.python_version }}
         uses: actions/setup-python@v6
         with:
-          python-version: "3.10"
+          python-version: "3.12"
       - name: Install uv
         uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
 
diff --git a/.github/workflows/publish_pricing_to_s3.yml 
b/.github/workflows/publish_pricing_to_s3.yml
index 1b56e7397..6d6b0dd51 100644
--- a/.github/workflows/publish_pricing_to_s3.yml
+++ b/.github/workflows/publish_pricing_to_s3.yml
@@ -17,7 +17,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [ "3.10" ]
+        python_version: [ "3.12" ]
 
     steps:
       - uses: actions/checkout@v6
diff --git a/contrib/Dockerfile b/contrib/Dockerfile
index ba492f40b..3ae177a98 100644
--- a/contrib/Dockerfile
+++ b/contrib/Dockerfile
@@ -56,7 +56,7 @@ RUN if [ ! -f "/libcloud/README.rst" ]; then echo 
"libcloud/README.rst file not
 WORKDIR /libcloud
 
 RUN set -e && \
-    python3.10 -m pip install uv && \
-    python3.10 -m uv pip install --no-cache-dir --group ci "."
+    python3.12 -m pip install uv && \
+    python3.12 -m uv pip install --no-cache-dir --group ci "."
 
-CMD ["tox", "-e", 
"lint,isort-check,black-check,bandit,py3.10,py3.11,py3.12,py3.13,pypypy3.10"]
+CMD ["tox", "-e", 
"lint,isort-check,black-check,bandit,py3.12,py3.10,py3.11,py3.13,pypypy3.10"]
diff --git a/pyproject.toml b/pyproject.toml
index ee5cf0fbf..cfba26486 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -238,7 +238,7 @@ indent-string = "    "
 
 
 [tool.mypy]
-python_version = "3.10"
+python_version = "3.12"
 platform = "linux"
 show_error_context = true
 show_column_numbers = true
diff --git a/scripts/time_imports.sh b/scripts/time_imports.sh
index 89585a732..43ab40def 100755
--- a/scripts/time_imports.sh
+++ b/scripts/time_imports.sh
@@ -26,7 +26,7 @@ find . -name "*.pyc" -print0 | xargs -0 rm
 
 # Example line:
 # import time:      1112 |      70127 | libcloud
-LIBCLOUD_IMPORT_TIMINGS=$(python3.10 -X importtime -c "import libcloud" 2>&1)
+LIBCLOUD_IMPORT_TIMINGS=$(python3.12 -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"
@@ -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.10 -X importtime -c "import 
libcloud.compute.drivers.ec2" 2>&1)
+EC2_DRIVER_IMPORT_TIMINGS=$(python3.12 -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 ""
diff --git a/tox.ini b/tox.ini
index a48bd1158..d37911c23 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = 
py{pypy3,3.10,3.11,pyjion},checks,lint,pylint,pyupgrade,isort,black,mypy,docs,coverage,integration-storage
+envlist = 
py{pypy3,3.12,3.11,pyjion},checks,lint,pylint,pyupgrade,isort,black,mypy,docs,coverage,integration-storage
 skipsdist = true
 requires =
     wheel
@@ -25,7 +25,7 @@ basepython =
     pypypy3.10: pypy3.10
     pypypy-3.10: pypy3.10
     pypyjion: pyjion
-    
{docs,checks,black,black-check,bandit,lint,pylint,mypy,micro-benchmarks,coverage,import-timings,isort,isort-check,pyupgrade,integration-storage}:
 python3.10
+    
{docs,checks,black,black-check,bandit,lint,pylint,mypy,micro-benchmarks,coverage,import-timings,isort,isort-check,pyupgrade,integration-storage}:
 python3.12
     {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
@@ -139,11 +139,11 @@ commands = rstcheck --report-level warning ../README.rst
            sphinx-build -j auto -b html -d {envtmpdir}/doctrees . _build/html
 
 [testenv:provider-tables]
-basepython: python3.10
+basepython: python3.12
 commands = python ./contrib/generate_provider_feature_matrix_table.py
 
 [testenv:scrape-and-publish-provider-prices]
-basepython: python3.10
+basepython: python3.12
 # Needed to avoid urllib3 errors related to old openssl version
 # https://github.com/urllib3/urllib3/issues/2168
 dependency_groups =
@@ -178,7 +178,7 @@ commands =
     echo "https://libcloud-pricing-data.s3.amazonaws.com/pricing.json.sha512";
 
 [testenv:scrape-provider-prices]
-basepython: python3.10
+basepython: python3.12
 # Needed to avoid urllib3 errors related to old openssl version
 # https://github.com/urllib3/urllib3/issues/2168
 dependency_groups =
@@ -202,7 +202,7 @@ commands =
     bash -c "(cd libcloud/data/ ; sha512sum pricing.json > 
{toxinidir}/libcloud/data/pricing.json.sha512)"
 
 [testenv:scrape-ec2-prices]
-basepython: python3.10
+basepython: python3.12
 # Needed to avoid urllib3 errors related to old openssl version
 # https://github.com/urllib3/urllib3/issues/2168
 dependency_groups =
@@ -214,7 +214,7 @@ deps = urllib3==1.26.6
 commands = python contrib/scrape-ec2-prices.py
 
 [testenv:scrape-ec2-sizes]
-basepython: python3.10
+basepython: python3.12
 # Needed to avoid urllib3 errors related to old openssl version
 # https://github.com/urllib3/urllib3/issues/2168
 dependency_groups =

Reply via email to