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

update: python package to 3.9 #168

Merged
merged 1 commit into from
Nov 13, 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: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Changelog
1.2.11
- [x] update: python version to 3.9 for slu repo conda environments

1.2.10
- [x] update: python version for slu repo conda environments
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "skit-pipelines"
version = "1.2.10"
version = "1.2.11"
description = "Kubeflow components for ml workflows at skit.ai."
authors = ["ltbringer <amresh.venugopal@gmail.com>"]
license = "MIT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def evaluate_slu_from_repo(
logger.info("customization repo setup successfully")

setup_repo(
core_slu_repo_name, core_slu_repo_branch, python_version="3.10",
core_slu_repo_name, core_slu_repo_branch, python_version="3.9",
)
logger.info("core slu repo setup successfully")

Expand Down
4 changes: 2 additions & 2 deletions skit_pipelines/components/retrain_slu_from_repo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ def retrain_slu_from_repo(
run_dir="custom_slu",
run_cmd="task serve",
runtime_env_var=f"PROJECT_DATA_PATH={os.path.join(project_config_local_path, '..')}",
python_version="3.10",
python_version="3.9",
)
logger.info("customization repo setup successfully")

# Setup core slu repo
setup_repo(
core_slu_repo_name,
core_slu_repo_branch,
python_version="3.10",
python_version="3.9",
)
logger.info("core slu repo setup successfully")

Expand Down
2 changes: 1 addition & 1 deletion skit_pipelines/components/retrain_slu_from_repo_old.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def setup_customization_repo(repo_name, repo_branch):
try:
repo.git.checkout(repo_branch)
execute_cli(
"conda create -n customization -m python=3.10 -y",
"conda create -n customization -m python=3.9 -y",
)
os.system(". /conda/etc/profile.d/conda.sh")
execute_cli(
Expand Down