Skip to content

Commit 6d820af

Browse files
ESS-4151: Updating to support 3.14 (#45)
* Updating to support 3.14 * Updating tests after requests-oauthlib change
1 parent a26c5e7 commit 6d820af

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
16-
python-version: ["3.11", "3.12", "3.13"]
16+
python-version: ["3.11", "3.12", "3.13", "3.14"]
1717

1818
steps:
1919
- uses: actions/checkout@v2

docs/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Head over to `Python.org`_ for instructions.
88

99
Python version support
1010
----------------------
11-
Officially Python 3.11, 3.12, and 3.13. We aim to support the three most
11+
Officially Python 3.11, 3.12, 3.13 and 3.14. We aim to support most
1212
recent major versions.
1313

1414
OS support

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ classifiers =
1616
Programming Language :: Python :: 3.11
1717
Programming Language :: Python :: 3.12
1818
Programming Language :: Python :: 3.13
19+
Programming Language :: Python :: 3.14
1920

2021
[options]
2122
zip_safe = False

tests/test_authenticator.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ def test_request_check_default(self, mock_request, mock_fetch, mock_refresh):
437437
mock_request.assert_called_with(
438438
"GET",
439439
"https://api.4insight.io/v1.0/Campaigns",
440+
params=None,
440441
other="thing",
441442
allow_redirects=True,
442443
timeout=auth._defaults["timeout"],
@@ -453,6 +454,7 @@ def test_request_args(self, mock_request, mock_fetch, mock_refresh):
453454
mock_request.assert_called_with(
454455
"GET",
455456
"https://api.4insight.io/v1.0/Campaigns",
457+
params=None,
456458
other="thing",
457459
allow_redirects=True,
458460
**auth._defaults,
@@ -473,6 +475,7 @@ def test_request_args_none(self, mock_request, mock_fetch, mock_refresh):
473475
mock_request.assert_called_with(
474476
"GET",
475477
"https://api.4insight.io/v1.0/Campaigns",
478+
params=None,
476479
other="thing",
477480
another="one",
478481
allow_redirects=True,
@@ -487,7 +490,7 @@ def test_request_abs_path(self, mock_request, mock_fetch, mock_refresh):
487490
auth.get(*args)
488491

489492
mock_request.assert_called_with(
490-
"GET", args[0], allow_redirects=True, **auth._defaults
493+
"GET", args[0], params=None, allow_redirects=True, **auth._defaults
491494
)
492495

493496
@patch("fourinsight.api.authenticate.OAuth2Session.request")

0 commit comments

Comments
 (0)