diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 9506b63c..eb9bd08f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9, "3.10"] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 diff --git a/yoti_python_sdk/__init__.py b/yoti_python_sdk/__init__.py index a33747d5..10670cfc 100644 --- a/yoti_python_sdk/__init__.py +++ b/yoti_python_sdk/__init__.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- import os -from distutils.util import convert_path from os import environ from yoti_python_sdk.client import Client @@ -17,7 +16,7 @@ directory_name = os.path.dirname(__file__) version_path = os.path.join(directory_name, "version.py") -ver_path = convert_path(version_path) +ver_path = os.path.normcase(version_path) with open(ver_path) as ver_file: exec(ver_file.read(), main_ns)