From fefa35bfe886f3125e5fd1bc9842891cee982f64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Alberto=20D=C3=ADaz=20Orozco=20=28Akiel=29?= Date: Thu, 15 Oct 2026 00:03:22 +0200 Subject: [PATCH 1/4] Remove support for python 3.10 and add 3.15 --- .github/workflows/test.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a67cd6..44a111a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.10', '3.11', '3.12', '3.13', '3.14' ] + python-version: [ '3.11', '3.12', '3.13', '3.14', '3.15' ] rocket-chat-version: [ '8.3.8', '8.4.6', '8.5.3', '8.6.2', '8.7.1', '8.8.1', '8.9.0'] steps: - name: Checkout diff --git a/README.md b/README.md index 1293927..c618ec2 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ pip install . ## Requirements -- Python 3.10 or higher +- Python 3.11 or higher - [requests](https://github.com/kennethreitz/requests) From 6ff14f1eb9405a0c5f1dd34fbf30f37950626c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Alberto=20D=C3=ADaz=20Orozco=20=28Akiel=29?= Date: Thu, 15 Oct 2026 00:13:17 +0200 Subject: [PATCH 2/4] Add requires-python = ">=3.11" so we explicitly pin the lower supported python version --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 813f1cf..3b5aab8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,7 @@ build-backend = "setuptools.build_meta" name = "rocketchat_API" dynamic = ["version"] description = "Python API wrapper for Rocket.Chat" +requires-python = ">=3.11" dependencies = [ "requests", From 15b8adb044ecfd094cf3fc9cd2fbf43a08bf5b65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Alberto=20D=C3=ADaz=20Orozco=20=28Akiel=29?= Date: Thu, 15 Oct 2026 00:13:38 +0200 Subject: [PATCH 3/4] Update python version to the latest on github actions --- .github/actions/test_rocketchat/action.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/test_manually.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/test_rocketchat/action.yml b/.github/actions/test_rocketchat/action.yml index 71157dd..6da4d62 100644 --- a/.github/actions/test_rocketchat/action.yml +++ b/.github/actions/test_rocketchat/action.yml @@ -4,7 +4,7 @@ description: 'Run tests on the Rocket.Chat server' inputs: python-version: description: 'The version of Python to use' - default: '3.14' + default: '3.15' required: true rocket-chat-version: description: 'The version of Rocket.Chat to use' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 86f35f9..70a3257 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v7 with: - python-version: "3.14" + python-version: "3.15" - name: Install black run: | pip install black diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d5533d..8144108 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,10 +15,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7.0.1 - - name: Set up Python 3.14 + - name: Set up Python 3.15 uses: actions/setup-python@v7 with: - python-version: '3.14' + python-version: '3.15' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/test_manually.yml b/.github/workflows/test_manually.yml index 3d058bc..ec43b23 100644 --- a/.github/workflows/test_manually.yml +++ b/.github/workflows/test_manually.yml @@ -10,7 +10,7 @@ on: python-version: description: 'The version of Python to use' required: true - default: '3.14' + default: '3.15' jobs: test: From 441c82d690cccf9a41235821f7a6d013e0f203bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Alberto=20D=C3=ADaz=20Orozco=20=28Akiel=29?= Date: Thu, 15 Oct 2026 16:18:56 +0200 Subject: [PATCH 4/4] Reformat with black --- rocketchat_API/APISections/integrations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rocketchat_API/APISections/integrations.py b/rocketchat_API/APISections/integrations.py index 15a24db..77e4ebf 100644 --- a/rocketchat_API/APISections/integrations.py +++ b/rocketchat_API/APISections/integrations.py @@ -16,7 +16,7 @@ def integrations_create( script_enabled, event=None, urls=None, - **kwargs + **kwargs, ): """Creates an integration.""" if integrations_type == "webhook-outgoing": @@ -82,7 +82,7 @@ def integrations_update( channel, script_enabled, integration_id, - **kwargs + **kwargs, ): """Updates an existing integration.""" return self.call_api_put(