diff --git a/.github/workflows/python-unit-test.yml b/.github/workflows/python-unit-test.yml index 894a9773a..1a1cc8428 100644 --- a/.github/workflows/python-unit-test.yml +++ b/.github/workflows/python-unit-test.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v4 diff --git a/user_tools/pyproject.toml b/user_tools/pyproject.toml index 378e7ced0..0601ab968 100644 --- a/user_tools/pyproject.toml +++ b/user_tools/pyproject.toml @@ -25,7 +25,7 @@ dependencies = [ "tabulate==0.8.10", "importlib-resources==5.10.2", "requests==2.31.0", - "packaging==23.0", + "packaging>=23.0", "certifi==2023.7.22", "idna==3.4", "urllib3==1.26.14", diff --git a/user_tools/src/spark_rapids_pytools/cloud_api/sp_types.py b/user_tools/src/spark_rapids_pytools/cloud_api/sp_types.py index bae867a5a..1d801ea63 100644 --- a/user_tools/src/spark_rapids_pytools/cloud_api/sp_types.py +++ b/user_tools/src/spark_rapids_pytools/cloud_api/sp_types.py @@ -905,7 +905,7 @@ def get_matching_executor_instance(self, cores_per_executor): def generate_cluster_configuration(self, render_args: dict): if not self.cluster_inference_supported: return None - template_path = Utils.resource_path(f'templates/cluster_template/{self.type_id}.ms') + template_path = Utils.resource_path(f'templates/cluster_template/{CspEnv.pretty_print(self.type_id)}.ms') return TemplateGenerator.render_template_file(template_path, render_args) diff --git a/user_tools/tox.ini b/user_tools/tox.ini index 05112fcec..e70d824f9 100644 --- a/user_tools/tox.ini +++ b/user_tools/tox.ini @@ -5,7 +5,7 @@ [tox] envlist = - python{3.8,3.9,3.10} + python{3.8,3.9,3.10,3.11} coverage pylint flake8 @@ -16,6 +16,7 @@ python = 3.8: python3.8, pylint, flake8 3.9: python3.9, pylint, flake8 3.10: python3.10, pylint, flake8 + 3.11: python3.11, pylint, flake8 [testenv] deps =