Skip to content

Commit

Permalink
update: python package to 3.9 (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-shree authored Nov 13, 2024
1 parent 7e5af61 commit 3e806c9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
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 <[email protected]>"]
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

0 comments on commit 3e806c9

Please sign in to comment.