diff --git a/pyproject.toml b/pyproject.toml index dd3021ed..889be8c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,5 @@ [build-system] -requires = [ - "setuptools>=42", - "wheel", - "setuptools_scm>=6.2" -] +requires = ["setuptools>=64.0", "setuptools_scm>=8"] build-backend = "setuptools.build_meta" [tool.setuptools_scm] diff --git a/tests/isar/apis/security/test_authentication.py b/tests/isar/apis/security/test_authentication.py index 209b8b5d..625c218c 100644 --- a/tests/isar/apis/security/test_authentication.py +++ b/tests/isar/apis/security/test_authentication.py @@ -1,12 +1,12 @@ import json from http import HTTPStatus +import jwt import pytest -from jose import jwt def mock_access_token(): - token = jwt.encode(claims={}, key="some_key") + token = jwt.encode(payload={}, key="some_key") return token