From ce3dd39d1adf92dc80493a873ce98881d2831d4b Mon Sep 17 00:00:00 2001 From: Muhammad Sufyan Date: Wed, 11 Dec 2024 15:10:45 +0500 Subject: [PATCH 1/3] ci(dependabot): update the configurations for dependabot alerts (#74) --- .github/dependabot.yml | 20 ++++++++++++++++++++ .github/workflows/test-runner.yml | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..9278187 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,20 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "monthly" + labels: + - "dependency update" + commit-message: + prefix: "build" + include: "scope" + open-pull-requests-limit: 10 + rebase-strategy: "auto" + reviewers: + - "sufyankhanrao" diff --git a/.github/workflows/test-runner.yml b/.github/workflows/test-runner.yml index 229212e..783866f 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.11' }} + 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 40e6582e8df42d17c703782ad27b98569a8ab641 Mon Sep 17 00:00:00 2001 From: Muhammad Rafay Nadeem <113093783+mrafnadeem-apimatic@users.noreply.github.com> Date: Thu, 2 Jan 2025 12:33:40 +0500 Subject: [PATCH 2/3] docs: compatibility with python 3.12 and 3.13 (#85) --- .github/workflows/pylint.yml | 6 +++--- .github/workflows/test-runner.yml | 4 ++-- README.md | 2 +- 3 files changed, 6 insertions(+), 6 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..465fbb4 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.13' && github.actor != 'dependabot[bot]' }} uses: paambaati/codeclimate-action@v3.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_TEST_REPORTER_ID }} 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 7c69a3158145ae8b7daaf398ace56a5a4dd25ac3 Mon Sep 17 00:00:00 2001 From: Muhammad Sufyan Date: Thu, 2 Jan 2025 13:57:33 +0500 Subject: [PATCH 3/3] updates library version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cb2c97c..c620b96 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name='apimatic-core', - version='0.2.17', + version='0.2.18', description='A library that contains core logic and utilities for ' 'consuming REST APIs using Python SDKs generated by APIMatic.', long_description=long_description,