From 8162da774230d7b2b98f5a85d1c9e43ed7088ebc Mon Sep 17 00:00:00 2001 From: Muhammad Rafay Nadeem <113093783+mrafnadeem-apimatic@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:29:16 +0500 Subject: [PATCH 1/7] use 3.12 and 3.13 for test runner --- .github/workflows/test-runner.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-runner.yml b/.github/workflows/test-runner.yml index 783866f..c01a996 100644 --- a/.github/workflows/test-runner.yml +++ b/.github/workflows/test-runner.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python: ["3.12", "3.13"] steps: - uses: actions/checkout@v3 - name: Setup Python @@ -33,7 +33,7 @@ jobs: - name: Generate coverage report run: coverage xml - name: Upload coverage report - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.11' && github.actor != 'dependabot[bot]' }} + if: ${{ matrix.os == 'ubuntu-latest' && github.actor != 'dependabot[bot]' }} uses: paambaati/codeclimate-action@v3.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_TEST_REPORTER_ID }} From 8d48b3263d74004b0702b6cbd4056201e5a9468a Mon Sep 17 00:00:00 2001 From: Muhammad Rafay Nadeem <113093783+mrafnadeem-apimatic@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:29:53 +0500 Subject: [PATCH 2/7] use 3.12 and 3.13 for pylint runner --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 2d67c32..2cb8dd7 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python: ["3.12", "3.13"] steps: - uses: actions/checkout@v3 - name: Setup Python From 85b71c44154e0bcae405762f087aa0d50bee34fd Mon Sep 17 00:00:00 2001 From: mrafnadeem-apimatic Date: Thu, 12 Dec 2024 10:36:20 +0500 Subject: [PATCH 3/7] Revert "use 3.12 and 3.13 for pylint runner" This reverts commit 8d48b3263d74004b0702b6cbd4056201e5a9468a. --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 2cb8dd7..2d67c32 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python: ["3.12", "3.13"] + python: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 - name: Setup Python From a9546c7afa74e0278199d086e40fe3634fa4fff6 Mon Sep 17 00:00:00 2001 From: mrafnadeem-apimatic Date: Thu, 12 Dec 2024 10:36:29 +0500 Subject: [PATCH 4/7] Revert "use 3.12 and 3.13 for test runner" This reverts commit 8162da774230d7b2b98f5a85d1c9e43ed7088ebc. --- .github/workflows/test-runner.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-runner.yml b/.github/workflows/test-runner.yml index c01a996..783866f 100644 --- a/.github/workflows/test-runner.yml +++ b/.github/workflows/test-runner.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python: ["3.12", "3.13"] + python: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 - name: Setup Python @@ -33,7 +33,7 @@ jobs: - name: Generate coverage report run: coverage xml - name: Upload coverage report - if: ${{ matrix.os == 'ubuntu-latest' && github.actor != 'dependabot[bot]' }} + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.11' && github.actor != 'dependabot[bot]' }} uses: paambaati/codeclimate-action@v3.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_TEST_REPORTER_ID }} From 53d8fc6b6f4dab714a617c067be07cd848f9e5f3 Mon Sep 17 00:00:00 2001 From: mrafnadeem-apimatic Date: Thu, 12 Dec 2024 10:37:38 +0500 Subject: [PATCH 5/7] add 3.12 and 3.13 in test actions --- .github/workflows/pylint.yml | 6 +++--- .github/workflows/test-runner.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 2d67c32..62c2164 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,6 +1,6 @@ name: Pylint Runner -on: +on: workflow_dispatch jobs: @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v3 - name: Setup Python @@ -33,5 +33,5 @@ jobs: run: | for file in $(find -name '*.py') do - pylint --disable=R,C,W "$file" --fail-under=10; + pylint --disable=R,C,W "$file" --fail-under=10; done diff --git a/.github/workflows/test-runner.yml b/.github/workflows/test-runner.yml index 783866f..3b18abc 100644 --- a/.github/workflows/test-runner.yml +++ b/.github/workflows/test-runner.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v3 - name: Setup Python @@ -33,7 +33,7 @@ jobs: - name: Generate coverage report run: coverage xml - name: Upload coverage report - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.11' && github.actor != 'dependabot[bot]' }} + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.12' && github.actor != 'dependabot[bot]' }} uses: paambaati/codeclimate-action@v3.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_TEST_REPORTER_ID }} From c362b43e78947b7b3c5f003aa52a3933273c1067 Mon Sep 17 00:00:00 2001 From: mrafnadeem-apimatic Date: Thu, 12 Dec 2024 11:18:50 +0500 Subject: [PATCH 6/7] change docs to indicate that new versions are supported --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd78c1d..56694f2 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The APIMatic Core libraries provide a stable runtime that powers all the functio ## Installation -You will need Python 3.7-3.11 to support this package. +You will need Python 3.7+ to support this package. Simply run the command below to install the core library in your SDK. The core library will be added as a dependency your SDK. From 71da354fc1dab021f41f7a5f3f207c437f564394 Mon Sep 17 00:00:00 2001 From: mrafnadeem-apimatic Date: Thu, 12 Dec 2024 11:32:16 +0500 Subject: [PATCH 7/7] update coverage report step --- .github/workflows/test-runner.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-runner.yml b/.github/workflows/test-runner.yml index 3b18abc..465fbb4 100644 --- a/.github/workflows/test-runner.yml +++ b/.github/workflows/test-runner.yml @@ -33,7 +33,7 @@ jobs: - name: Generate coverage report run: coverage xml - name: Upload coverage report - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.12' && github.actor != 'dependabot[bot]' }} + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.13' && github.actor != 'dependabot[bot]' }} uses: paambaati/codeclimate-action@v3.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_TEST_REPORTER_ID }}