From e47607edbfd2df30b92dcc94046b58ba9119107e Mon Sep 17 00:00:00 2001 From: branislav-jenco-4ss <152614622+branislav-jenco-4ss@users.noreply.github.com> Date: Wed, 13 May 2026 08:38:18 +0200 Subject: [PATCH 1/2] Updating to support 3.14 --- .github/workflows/ci.yaml | 2 +- docs/getting_started.rst | 2 +- setup.cfg | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 993d9cb..31d3286 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v2 diff --git a/docs/getting_started.rst b/docs/getting_started.rst index 2609a5e..c648eb4 100644 --- a/docs/getting_started.rst +++ b/docs/getting_started.rst @@ -8,7 +8,7 @@ Head over to `Python.org`_ for instructions. Python version support ---------------------- -Officially Python 3.11, 3.12, and 3.13. We aim to support the three most +Officially Python 3.11, 3.12, 3.13 and 3.14. We aim to support most recent major versions. OS support diff --git a/setup.cfg b/setup.cfg index 8017883..772dc57 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,6 +16,7 @@ classifiers = Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.13 + Programming Language :: Python :: 3.14 [options] zip_safe = False From e58117b9296700535c6a1f6d05569a16e9a8accf Mon Sep 17 00:00:00 2001 From: branislav-jenco-4ss <152614622+branislav-jenco-4ss@users.noreply.github.com> Date: Wed, 13 May 2026 08:54:03 +0200 Subject: [PATCH 2/2] Updating tests after requests-oauthlib change --- tests/test_authenticator.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_authenticator.py b/tests/test_authenticator.py index 5252cc5..cf7b107 100644 --- a/tests/test_authenticator.py +++ b/tests/test_authenticator.py @@ -437,6 +437,7 @@ def test_request_check_default(self, mock_request, mock_fetch, mock_refresh): mock_request.assert_called_with( "GET", "https://api.4insight.io/v1.0/Campaigns", + params=None, other="thing", allow_redirects=True, timeout=auth._defaults["timeout"], @@ -453,6 +454,7 @@ def test_request_args(self, mock_request, mock_fetch, mock_refresh): mock_request.assert_called_with( "GET", "https://api.4insight.io/v1.0/Campaigns", + params=None, other="thing", allow_redirects=True, **auth._defaults, @@ -473,6 +475,7 @@ def test_request_args_none(self, mock_request, mock_fetch, mock_refresh): mock_request.assert_called_with( "GET", "https://api.4insight.io/v1.0/Campaigns", + params=None, other="thing", another="one", allow_redirects=True, @@ -487,7 +490,7 @@ def test_request_abs_path(self, mock_request, mock_fetch, mock_refresh): auth.get(*args) mock_request.assert_called_with( - "GET", args[0], allow_redirects=True, **auth._defaults + "GET", args[0], params=None, allow_redirects=True, **auth._defaults ) @patch("fourinsight.api.authenticate.OAuth2Session.request")