From accd8e1ee5082f361828d37428d5ed60370d0902 Mon Sep 17 00:00:00 2001 From: Zuzu-Typ Date: Wed, 11 Sep 2024 14:11:29 +0200 Subject: [PATCH 1/5] Updated actions versions + Python 3.13 test --- .github/workflows/codeql-analysis.yml | 12 ++++++------ .github/workflows/test.yml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0f413cf..a69e8bf 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -32,18 +32,18 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: recursive - - name: Set up Python 3.9 - uses: actions/setup-python@v2 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.12 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -65,4 +65,4 @@ jobs: - run: python setup.py build - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e30647f..e6ecac3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -21,7 +21,7 @@ jobs: with: submodules: recursive - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install pip, build and pytest From 1cc1cb093ddf4f2825c69db3cb2eefab6feccdfe Mon Sep 17 00:00:00 2001 From: Zuzu-Typ Date: Wed, 11 Sep 2024 14:13:45 +0200 Subject: [PATCH 2/5] Use Python 3.13.0-rc.2 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e6ecac3..1bd7220 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1"] # Steps represent a sequence of tasks that will be executed as part of the job steps: From a3c4ae853550bc393be79faac338b541f7c6f982 Mon Sep 17 00:00:00 2001 From: Zuzu-Typ Date: Wed, 11 Sep 2024 14:16:01 +0200 Subject: [PATCH 3/5] Use 3.13.0-rc.2 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1bd7220..5717595 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"] # Steps represent a sequence of tasks that will be executed as part of the job steps: From 9488d83bc55826c22a2db5aad8fab5cf8a0e9ba8 Mon Sep 17 00:00:00 2001 From: Zuzu-Typ Date: Wed, 11 Sep 2024 14:17:11 +0200 Subject: [PATCH 4/5] Update codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a69e8bf..2cb23bc 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -62,7 +62,13 @@ jobs: # and modify them (or add more) to build your code if your project # uses a compiled language - - run: python setup.py build + - name: Install pip, build and pytest + run: | + python -m pip install pip --upgrade + pip install pytest + pip install build + - name: Build PyGLM + run: python -m build - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 From bfe177b89fb0e63e6e56468e41950cf0f18cbe66 Mon Sep 17 00:00:00 2001 From: Zuzu-Typ Date: Wed, 11 Sep 2024 14:49:58 +0200 Subject: [PATCH 5/5] Updated setup-python and cibuildwheel --- .github/workflows/deploy-test-pypi.yml | 18 +++++++++--------- .github/workflows/deploy.yml | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/deploy-test-pypi.yml b/.github/workflows/deploy-test-pypi.yml index 9cfe099..8917cd4 100644 --- a/.github/workflows/deploy-test-pypi.yml +++ b/.github/workflows/deploy-test-pypi.yml @@ -24,13 +24,13 @@ jobs: with: submodules: recursive - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Install Python with: python-version: '3.12' - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.16.2 + run: python -m pip install cibuildwheel==2.20.0 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -54,13 +54,13 @@ jobs: with: submodules: recursive - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Install Python with: python-version: '3.12' - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.16.2 + run: python -m pip install cibuildwheel==2.20.0 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -97,13 +97,13 @@ jobs: if: ${{ matrix.arch != 'x86_64' && matrix.arch != 'i686' }} uses: docker/setup-qemu-action@v3 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Install Python with: python-version: '3.12' - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.16.2 + run: python -m pip install cibuildwheel==2.20.0 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -136,13 +136,13 @@ jobs: if: ${{ matrix.arch != 'x86_64' && matrix.arch != 'i686' }} uses: docker/setup-qemu-action@v3 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Install Python with: python-version: '3.12' - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.16.2 + run: python -m pip install cibuildwheel==2.20.0 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -159,7 +159,7 @@ jobs: with: submodules: recursive - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Install Python with: python-version: '3.12' diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0ba84fc..2b5f213 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,13 +27,13 @@ jobs: with: submodules: recursive - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Install Python with: python-version: '3.12' - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.16.2 + run: python -m pip install cibuildwheel==2.20.0 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -57,13 +57,13 @@ jobs: with: submodules: recursive - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Install Python with: python-version: '3.12' - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.16.2 + run: python -m pip install cibuildwheel==2.20.0 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -100,13 +100,13 @@ jobs: if: ${{ matrix.arch != 'x86_64' && matrix.arch != 'i686' }} uses: docker/setup-qemu-action@v3 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Install Python with: python-version: '3.12' - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.16.2 + run: python -m pip install cibuildwheel==2.20.0 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -139,13 +139,13 @@ jobs: if: ${{ matrix.arch != 'x86_64' && matrix.arch != 'i686' }} uses: docker/setup-qemu-action@v3 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Install Python with: python-version: '3.12' - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.16.2 + run: python -m pip install cibuildwheel==2.20.0 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -162,7 +162,7 @@ jobs: with: submodules: recursive - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Install Python with: python-version: '3.12'