diff --git a/.github/workflows/Build_runner.yml b/.github/workflows/Build_runner.yml index c989a3623..088b6f9c3 100644 --- a/.github/workflows/Build_runner.yml +++ b/.github/workflows/Build_runner.yml @@ -27,10 +27,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 - name: 🔨 Build and publish distribution 📦 to PyPI env: TWINE_USERNAME: __token__ @@ -47,10 +47,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 - name: Validate upload to PyPI env: TWINE_USERNAME: __token__ @@ -90,10 +90,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 - name: ⌛ Build and Upload 🐋 to quay.io run: | pip install setuptools @@ -112,10 +112,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 - name: ⌛ Build and Upload 🐋 to quay.io run: | sudo docker build --build-arg OCP_CLIENT_VERSION=${{ secrets.PERF_OCP_CLIENT_VERSION }} --build-arg VIRTCTL_VERSION=${{ secrets.PERF_VIRTCTL_VERSION }} -t ${{ secrets.QUAY_BENCHMARK_RUNNER_REPOSITORY }}:latest . @@ -130,7 +130,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.12' ] + python-version: [ '3.13' ] steps: - uses: actions/checkout@main with: diff --git a/.github/workflows/Nightly_Perf_Env_CI.yml b/.github/workflows/Nightly_Perf_Env_CI.yml index d09cd40ee..d23b43b57 100644 --- a/.github/workflows/Nightly_Perf_Env_CI.yml +++ b/.github/workflows/Nightly_Perf_Env_CI.yml @@ -115,10 +115,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - name: Install latest benchmark-runner run: | python -m pip install --upgrade pip @@ -246,10 +246,10 @@ jobs: needs: [initialize_nightly, workload] steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - name: ⚙ Set START CI TIME run: echo "START_CI=${{ needs.initialize_nightly.outputs.start_time_output }}" >> "$GITHUB_ENV" - name: Install latest benchmark-runner @@ -345,7 +345,7 @@ jobs: if: always() strategy: matrix: - python-version: [ '3.12' ] + python-version: [ '3.13' ] steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/Nightly_Perf_Env_CI_Scale.yml b/.github/workflows/Nightly_Perf_Env_CI_Scale.yml index a1d7f1e98..ab7b485e5 100644 --- a/.github/workflows/Nightly_Perf_Env_CI_Scale.yml +++ b/.github/workflows/Nightly_Perf_Env_CI_Scale.yml @@ -84,10 +84,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - name: Install latest benchmark-runner run: | python -m pip install --upgrade pip diff --git a/.github/workflows/Perf_Env_Build_Test_CI.yml b/.github/workflows/Perf_Env_Build_Test_CI.yml index d0ed19449..fc44659e7 100644 --- a/.github/workflows/Perf_Env_Build_Test_CI.yml +++ b/.github/workflows/Perf_Env_Build_Test_CI.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] + python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -89,7 +89,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.12' ] + python-version: [ '3.13' ] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -175,7 +175,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.12' ] + python-version: [ '3.13' ] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -198,7 +198,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.12' ] + python-version: [ '3.13' ] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -244,7 +244,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.12' ] + python-version: [ '3.13' ] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -269,7 +269,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.12' ] + python-version: [ '3.13' ] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -290,7 +290,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.12' ] + python-version: [ '3.13' ] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -331,7 +331,7 @@ jobs: fail-fast: false matrix: workload: [ 'stressng_pod', 'stressng_vm' ] - python-version: [ '3.12' ] + python-version: [ '3.13' ] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -408,7 +408,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.12' ] + python-version: [ '3.13' ] steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/Perf_Env_E2E_Test_CI.yml b/.github/workflows/Perf_Env_E2E_Test_CI.yml index 759449e99..590bd71ad 100644 --- a/.github/workflows/Perf_Env_E2E_Test_CI.yml +++ b/.github/workflows/Perf_Env_E2E_Test_CI.yml @@ -38,10 +38,10 @@ jobs: install_resource_time_output: ${{ steps.ocp_install_resource_step.outputs.install_resource_time }} steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - name: Install latest benchmark-runner run: | python -m pip install --upgrade pip diff --git a/.github/workflows/Perf_Env_PR_Test_CI.yml b/.github/workflows/Perf_Env_PR_Test_CI.yml index 7ec21b281..24e452181 100644 --- a/.github/workflows/Perf_Env_PR_Test_CI.yml +++ b/.github/workflows/Perf_Env_PR_Test_CI.yml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] + python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ] steps: - uses: actions/checkout@v4 with: @@ -100,7 +100,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.12' ] + python-version: [ '3.13' ] steps: - uses: actions/checkout@v4 with: @@ -180,7 +180,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.12' ] + python-version: [ '3.13' ] steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/Release_ClusterBuster_Perf_Env_CI.yml b/.github/workflows/Release_ClusterBuster_Perf_Env_CI.yml index ada4abdfd..6bbdc6bbd 100644 --- a/.github/workflows/Release_ClusterBuster_Perf_Env_CI.yml +++ b/.github/workflows/Release_ClusterBuster_Perf_Env_CI.yml @@ -81,10 +81,10 @@ jobs: workload: [ 'files', 'fio', 'uperf', 'cpusoaker'] steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - name: Install latest benchmark-runner run: | python -m pip install --upgrade pip @@ -164,7 +164,7 @@ jobs: - name: Set up Python 3.9 uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - name: ⚙ Set START CI TIME run: echo "START_CI=${{ needs.initialize_nightly.outputs.start_time_output }}" >> "$GITHUB_ENV" - name: Install latest benchmark-runner diff --git a/.github/workflows/Weekly_Perf_Env_Installer_CI.yml b/.github/workflows/Weekly_Perf_Env_Installer_CI.yml index e92a0e6d8..002cffb56 100644 --- a/.github/workflows/Weekly_Perf_Env_Installer_CI.yml +++ b/.github/workflows/Weekly_Perf_Env_Installer_CI.yml @@ -26,10 +26,10 @@ jobs: step: [ 'run_ibm_ocp_installer', 'verify_ibm_install_complete' ] steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - name: Install latest benchmark-runner run: | python -m pip install --upgrade pip diff --git a/.github/workflows/Weekly_Perf_Env_Operator_CI.yml b/.github/workflows/Weekly_Perf_Env_Operator_CI.yml index 3f36f1c75..c1a6ab03c 100644 --- a/.github/workflows/Weekly_Perf_Env_Operator_CI.yml +++ b/.github/workflows/Weekly_Perf_Env_Operator_CI.yml @@ -37,10 +37,10 @@ jobs: install_resource_time_output: ${{ steps.ocp_install_resource_step.outputs.install_resource_time }} steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - name: Install latest benchmark-runner run: | python -m pip install --upgrade pip diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 81c3a5a32..c8f7ab1d1 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,7 +9,7 @@ version: 2 build: os: ubuntu-20.04 tools: - python: "3.12" + python: "3.13" # You can also specify other tool versions: # nodejs: "16" # rust: "1.55" diff --git a/Dockerfile b/Dockerfile index 1763ce1f8..9b0d7d44a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN dnf group install -y "Development Tools" \ && dnf install -y podman jq # Prerequisite for Python installation -ARG python_full_version=3.12.3 +ARG python_full_version=3.13.0 RUN dnf install -y openssl-devel bzip2-devel wget libffi-devel # Install Python @@ -17,11 +17,11 @@ RUN wget https://www.python.org/ftp/python/${python_full_version}/Python-${pytho && cd Python-${python_full_version} \ && ./configure --enable-optimizations \ && make altinstall \ - && echo alias python=python3.12 >> ~/.bashrc \ + && echo alias python=python3.13 >> ~/.bashrc \ && rm -rf Python-${python_full_version}.tgz # install & run benchmark-runner (--no-cache-dir for take always the latest) -RUN python3.12 -m pip install --upgrade pip && python3.12 -m pip install --upgrade benchmark-runner +RUN python3.13 -m pip install --upgrade pip && python3.13 -m pip install --upgrade benchmark-runner # Passed dynamically ARG OCP_CLIENT_VERSION @@ -55,7 +55,7 @@ RUN dnf clean all && rm -rf /var/cache/dnf # Add main COPY benchmark_runner/main/main.py /benchmark_runner/main/main.py -CMD [ "python3.12", "/benchmark_runner/main/main.py"] +CMD [ "python3.13", "/benchmark_runner/main/main.py"] # How to build the Dockerfile ? # sudo podman build --build-arg OCP_CLIENT_VERSION=$OCP_CLIENT_VERSION--build-arg VIRTCTL_VERSION=$VIRTCTL_VERSION -t quay.io/benchmark-runner/benchmark-runner:latest . --no-cache diff --git a/prow/Dockerfile b/prow/Dockerfile index aa77a4a27..8be734d1c 100644 --- a/prow/Dockerfile +++ b/prow/Dockerfile @@ -1,6 +1,6 @@ FROM quay.io/centos/centos:stream9 -ARG python_full_version=3.12.3 +ARG python_full_version=3.13.0 ARG OCP_CLIENT_VERSION=4.19.1 ARG VIRTCTL_VERSION=1.5.0 @@ -12,11 +12,11 @@ RUN dnf update -y --nobest \ && cd Python-${python_full_version} \ && ./configure --enable-optimizations \ && make altinstall \ - && echo alias python=python3.12 >> ~/.bashrc \ + && echo alias python=python3.13 >> ~/.bashrc \ && cd .. \ && rm -rf Python-${python_full_version} Python-${python_full_version}.tgz \ - && python3.12 -m pip install --upgrade pip \ - && python3.12 -m pip install --upgrade benchmark-runner \ + && python3.13 -m pip install --upgrade pip \ + && python3.13 -m pip install --upgrade benchmark-runner \ && curl -L "https://mirror.openshift.com/pub/openshift-v4/clients/ocp/${OCP_CLIENT_VERSION}/openshift-client-linux-${OCP_CLIENT_VERSION}.tar.gz" -o "/tmp/openshift-client-linux-${OCP_CLIENT_VERSION}.tar.gz" \ && tar -xzvf /tmp/openshift-client-linux-${OCP_CLIENT_VERSION}.tar.gz -C /tmp/ \ && mv /tmp/kubectl /usr/local/bin/kubectl \ diff --git a/setup.py b/setup.py index 4603f7b6c..f0bb2d5b0 100644 --- a/setup.py +++ b/setup.py @@ -34,6 +34,7 @@ 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', ], zip_safe=False, @@ -62,7 +63,7 @@ 'paramiko==3.4.0', 'PyGitHub==1.55', # update secrets 'PyYAML==6.0.1', - 'setuptools', # for python3.12 + 'setuptools', # for python3.13 'sphinx==5.0.0', # readthedocs 'sphinx-rtd-theme==1.0.0', # readthedocs 'tenacity==8.0.1', # retry decorator