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

tomaz pushed a commit to branch chore/update-status-checks
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 7febacacdde390961200727e74545e3acefe44cb
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Mar 2 13:37:23 2025 +0100

    Python 3.8 is EOL, remove it from the build pipeline.
---
 .github/workflows/integration-tests.yml     |  2 +-
 .github/workflows/main.yml                  | 17 ++++++-------
 .github/workflows/publish_dev_artifact.yml  |  2 +-
 .github/workflows/publish_pricing_to_s3.yml |  2 +-
 tox.ini                                     | 38 +++++++----------------------
 5 files changed, 20 insertions(+), 41 deletions(-)

diff --git a/.github/workflows/integration-tests.yml 
b/.github/workflows/integration-tests.yml
index 048c691c6..f2140c7a5 100644
--- a/.github/workflows/integration-tests.yml
+++ b/.github/workflows/integration-tests.yml
@@ -32,7 +32,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [3.8]
+        python_version: [3.9]
 
     steps:
       - uses: actions/checkout@master
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 3afddcd6a..e2311ecaf 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -32,13 +32,12 @@ jobs:
       fail-fast: false
       matrix:
         python_version:
-          - 3.8
           - 3.9
           - "3.10"
           - "3.11"
           - "3.12"
           # cryptography is not compatible with older PyPy versions
-          - "pypy-3.8"
+          - "pypy-3.9"
         os:
           - ubuntu-latest
 
@@ -75,7 +74,7 @@ jobs:
 
       - name: Run dist install checks tox target
         # NOTE: 3.12 will be failing until we migrate away from setup.py
-        if: ${{ matrix.python_version != 'pypy-3.7' && matrix.python_version 
!= 'pypy-3.8' && matrix.python_version != '3.12-dev' }}
+        if: ${{ matrix.python_version != 'pypy-3.7' && matrix.python_version 
!= 'pypy-3.9' && matrix.python_version != '3.12-dev' }}
         run: |
          tox -e py${{ matrix.python_version }}-dist,py${{ 
matrix.python_version }}-dist-wheel
 
@@ -85,7 +84,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [3.8]
+        python_version: [3.9]
 
     steps:
       - uses: actions/checkout@master
@@ -133,7 +132,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [3.8]
+        python_version: [3.9]
 
     steps:
       - uses: actions/checkout@master
@@ -176,7 +175,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [3.8]
+        python_version: [3.9]
 
     steps:
       - uses: actions/checkout@master
@@ -200,7 +199,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [3.8]
+        python_version: [3.9]
 
     steps:
       - uses: actions/checkout@master
@@ -268,7 +267,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [3.8]
+        python_version: [3.9]
 
     steps:
       - uses: actions/checkout@master
@@ -307,7 +306,7 @@ jobs:
 
     strategy:
       matrix:
-        python_version: [3.8]
+        python_version: [3.9]
 
     steps:
       - name: Print Environment Info
diff --git a/.github/workflows/publish_dev_artifact.yml 
b/.github/workflows/publish_dev_artifact.yml
index 5bbf82802..a155a8a42 100644
--- a/.github/workflows/publish_dev_artifact.yml
+++ b/.github/workflows/publish_dev_artifact.yml
@@ -35,7 +35,7 @@ jobs:
       - name: Use Python ${{ matrix.python_version }}
         uses: actions/setup-python@v5
         with:
-          python-version: 3.8
+          python-version: 3.9
 
       - name: Install Dependencies
         run: |
diff --git a/.github/workflows/publish_pricing_to_s3.yml 
b/.github/workflows/publish_pricing_to_s3.yml
index 393eaa4ba..681acc850 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.8]
+        python_version: [3.9]
 
     steps:
       - name: Print Environment Info
diff --git a/tox.ini b/tox.ini
index 64f6bbb1d..0b52fd3d4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = 
py{pypy3,3.8,3.9,3.10,3.11,pyjion},checks,lint,pylint,pyupgrade,isort,black,mypy,docs,coverage,integration-storage
+envlist = 
py{pypy3,3.9,3.10,3.11,pyjion},checks,lint,pylint,pyupgrade,isort,black,mypy,docs,coverage,integration-storage
 skipsdist = true
 requires =
     wheel
@@ -23,11 +23,10 @@ allowlist_externals =
 basepython =
     py3.12-dev: python3.12
     pypypy3: pypy3
-    pypypy-3.8: pypy3.8
+    pypypy-3.9: pypy3.9
     pypyjion: pyjion
-    
{docs,checks,black,black-check,lint,pylint,bandit,mypy,micro-benchmarks,coverage,import-timings,isort,isort-check,pyupgrade}:
 python3.8
-    {py3.8,py3.8-windows,integration-storage,py3.8-dist,py3.8-dist-wheel}: 
python3.8
-    {py3.9,py3.9-dist,py3.9-dist-wheel}: python3.9
+    
{docs,checks,black,black-check,lint,pylint,bandit,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}: python3.10
     {py3.11,py3.11-dist,py3.11-dist-wheel}: python3.11
     {py3.12-dev,py3.12-dev-dist,py3.12-dev-dist-wheel}: python3.12
@@ -43,25 +42,6 @@ commands = cp libcloud/test/secrets.py-dist 
libcloud/test/secrets.py
            pytest --color=yes -rsx -vvv --capture=tee-sys -o log_cli=True 
--durations=10 --timeout=15 -n auto --dist loadfile --ignore 
libcloud/test/benchmarks/ --ignore-glob 
"*test_list_objects_filtering_performance*" -m "not serial"
            pytest --color=yes -rsx -vvv --capture=tee-sys -o log_cli=True 
--durations=10 --timeout=15 --ignore libcloud/test/benchmarks/ --ignore-glob 
"*test_list_objects_filtering_performance*" -m "serial"
 
-[testenv:py3.8-dist]
-# Verify library installs without any dependencies when using python setup.py
-# install
-skipdist = True
-recreate = True
-# NOTE: We intentionally set empty deps to ensure it works on a clean
-# environment without any dependencies
-deps =
-commands = bash -c "./scripts/dist_install_check.sh"
-
-[testenv:py3.8-dist-wheel]
-# Verify library installs without any dependencies when using built wheel
-skipdist = True
-recreate = True
-# NOTE: We intentionally set empty deps to ensure it works on a clean
-# environment without any dependencies
-deps =
-commands = bash -c "./scripts/dist_wheel_install_check.sh"
-
 [testenv:py3.9-dist]
 # Verify library installs without any dependencies when using python setup.py
 # install
@@ -150,11 +130,11 @@ commands = rstcheck --report-level warning ../README.rst
            sphinx-build -j auto -b html -d {envtmpdir}/doctrees . _build/html
 
 [testenv:provider-tables]
-basepython: python3.8
+basepython: python3.9
 commands = python ./contrib/generate_provider_feature_matrix_table.py
 
 [testenv:scrape-and-publish-provider-prices]
-basepython: python3.8
+basepython: python3.9
 # Needed to avoid urllib3 errors related to old openssl version
 # https://github.com/urllib3/urllib3/issues/2168
 deps = urllib3==1.26.6
@@ -188,7 +168,7 @@ commands =
     echo "https://libcloud-pricing-data.s3.amazonaws.com/pricing.json.sha512";
 
 [testenv:scrape-provider-prices]
-basepython: python3.8
+basepython: python3.9
 # Needed to avoid urllib3 errors related to old openssl version
 # https://github.com/urllib3/urllib3/issues/2168
 deps = urllib3==1.26.6
@@ -211,7 +191,7 @@ commands =
     bash -c "(cd libcloud/data/ ; sha512sum pricing.json > 
{toxinidir}/libcloud/data/pricing.json.sha512)"
 
 [testenv:scrape-ec2-prices]
-basepython: python3.8
+basepython: python3.9
 # Needed to avoid urllib3 errors related to old openssl version
 # https://github.com/urllib3/urllib3/issues/2168
 deps = urllib3==1.26.6
@@ -222,7 +202,7 @@ deps = urllib3==1.26.6
 commands = python contrib/scrape-ec2-prices.py
 
 [testenv:scrape-ec2-sizes]
-basepython: python3.8
+basepython: python3.9
 # Needed to avoid urllib3 errors related to old openssl version
 # https://github.com/urllib3/urllib3/issues/2168
 deps = urllib3==1.26.6

Reply via email to