From accd8e1ee5082f361828d37428d5ed60370d0902 Mon Sep 17 00:00:00 2001 From: Zuzu-Typ Date: Wed, 11 Sep 2024 14:11:29 +0200 Subject: [PATCH 1/4] 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/4] 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/4] 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/4] 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