Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to Python3.11 #1105

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion user_tools/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion user_tools/src/spark_rapids_pytools/cloud_api/sp_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
3 changes: 2 additions & 1 deletion user_tools/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 =
Expand Down