Skip to content

Commit

Permalink
fix(dependencies): upgrade hyfi to 1.2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jul 17, 2023
1 parent 8689fd9 commit d1b7658
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 24 deletions.
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ corprep = 'corprep.__cli__:main'

[tool.poetry.dependencies]
python = ">=3.8.1,<3.12"
hyfi = "^1.2.10"
hyfi = "^1.2.13"
ekonlpy = "^1.1.7"

[tool.poetry.group.dev]
Expand Down
6 changes: 3 additions & 3 deletions src/corprep/conf/mode/__init__.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ debug_mode: false
resolve: true
verbose: false
ignore_warnings: true
logging_level: ${oc.env:HYFI_LOG_LEVEL,WARNING}
hydra_log_dir: ${oc.select:project.global_hyfi_root, ${alt:${oc.env:HYFI_GLOBAL_ROOT,null},${__home_path__:}/.hyfi}}/${oc.select:project.global_workspace_name, ${alt:${oc.env:HYFI_GLOBAL_WORKSPACE_NAME,null},workspace}}/logs/hydra
logging_level: WARNING
hydra_log_dir: ${oc.select:project.global_hyfi_root, ${alt:${oc.env:HYFI_GLOBAL_ROOT,null},${__home_path__:}}}/${oc.select:project.global_workspace_name, ${alt:${oc.env:HYFI_GLOBAL_WORKSPACE_NAME,null},.hyfi}}/logs/hydra

hydra:
job:
name: ${oc.select:project.project_name, ${oc.select:task.project.project_name, ${alt:${oc.env:HYFI_PROJECT_NAME,null},hyfi-project}}}
name: ${oc.select:project.project_name, ${oc.select:task.project.project_name, ${alt:${oc.env:HYFI_PROJECT_NAME,null},hyfi}}}
chdir: true
run:
dir: ${hydra_log_dir}/${hydra.job.name}/${now:%Y-%m-%d}/${now:%Y-%m-%d_%H-%M-%S}
Expand Down
8 changes: 4 additions & 4 deletions src/corprep/conf/path/__init__.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ hyfi: ${__hyfi_path__:}
resources: ${alt:${oc.env:HYFI_RESOURCE_DIR,null},${.hyfi}/resources}
runtime: ${get_original_cwd:}
# global paths
global_hyfi_root: ${oc.select:..global_hyfi_root,${alt:${oc.env:HYFI_GLOBAL_ROOT,null},${__home_path__:}/.hyfi}}
global_workspace_name: ${oc.select:..global_workspace_name,${alt:${oc.env:HYFI_GLOBAL_WORKSPACE_NAME,null},workspace}}
global_hyfi_root: ${oc.select:..global_hyfi_root,${alt:${oc.env:HYFI_GLOBAL_ROOT,null},${__home_path__:}}}
global_workspace_name: ${oc.select:..global_workspace_name,${alt:${oc.env:HYFI_GLOBAL_WORKSPACE_NAME,null},.hyfi}}
# project specific paths
project_name: ${oc.select:..project_name,${alt:${oc.env:HYFI_PROJECT_NAME,null},hyfi-project}}
project_name: ${oc.select:..project_name,${alt:${oc.env:HYFI_PROJECT_NAME,null},hyfi}}
project_root: ${oc.select:..project_root,${alt:${oc.env:HYFI_PROJECT_ROOT,null},${get_original_cwd:}}}
project_workspace_name: ${oc.select:..project_workspace_name,${alt:${oc.env:HYFI_PROJECT_WORKSPACE_NAME,null},${.global_workspace_name}}}
project_workspace_name: ${oc.select:..project_workspace_name,${alt:${oc.env:HYFI_PROJECT_WORKSPACE_NAME,null},workspace}}
3 changes: 0 additions & 3 deletions src/corprep/conf/path/__task__.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
defaults:
- dirnames: __init__

task_name: ${oc.select:..task_name,__test__}
task_root: ${oc.select:..task_root,workspace}
4 changes: 2 additions & 2 deletions src/corprep/conf/path/dirnames/__init__.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# directory names
inputs: inputs
outputs: outputs
archive: archive
archives: archives
datasets: datasets
models: models
modules: modules
Expand All @@ -10,6 +10,6 @@ logs: logs
cache: .cache
tmp: tmp
# to reuse the same config file for different runs
config_dirname: configs
configs: configs
config_yaml: config.yaml
config_json: config.json
2 changes: 1 addition & 1 deletion src/corprep/conf/pipeline/__test_dataframe__.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ steps:
verbose: true
- uses: pipe3
with:
data_file: workspace/processed/ESG_ratings_raw.parquet
data_file: datasets/processed/ESG_ratings_raw.parquet
verbose: true
2 changes: 1 addition & 1 deletion src/corprep/conf/pipeline/datasets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ steps:
- uses: pipe1
with:
raw_dataset_dir: ${__home_path__:}/workspace/datasets/raw/daum_news_20230707
dataset_path: processed/daum_news_20230707
dataset_path: datasets/processed/daum_news_20230707
verbose: true
verbose: true
8 changes: 4 additions & 4 deletions src/corprep/conf/project/__init__.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ defaults:
- /path: __init__

_config_name_: __init__
project_name: ${alt:${oc.env:HYFI_PROJECT_NAME,null},hyfi-project}
project_name: ${alt:${oc.env:HYFI_PROJECT_NAME,null},${oc.select:about.__package_name__,hyfi}}
project_description: ${oc.env:HYFI_PROJECT_DESC,""}
project_root: ${alt:${oc.env:HYFI_PROJECT_ROOT,null},${.global_hyfi_root}/${.global_workspace_name}/projects/${.project_name}}
project_workspace_name: ${alt:${oc.env:HYFI_PROJECT_WORKSPACE_NAME,null},${.global_workspace_name}}
global_hyfi_root: ${alt:${oc.env:HYFI_GLOBAL_ROOT,null},${__home_path__:}/.hyfi}
global_workspace_name: ${alt:${oc.env:HYFI_GLOBAL_WORKSPACE_NAME,null},workspace}
project_workspace_name: ${alt:${oc.env:HYFI_PROJECT_WORKSPACE_NAME,null},workspace}
global_hyfi_root: ${alt:${oc.env:HYFI_GLOBAL_ROOT,null},${__home_path__:}}
global_workspace_name: ${alt:${oc.env:HYFI_GLOBAL_WORKSPACE_NAME,null},.hyfi}
num_workers: ${oc.env:HYFI_NUM_WORKERS,1}
use_huggingface_hub: false
use_wandb: false
Expand Down
1 change: 1 addition & 0 deletions src/corprep/conf/project/__test__.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ defaults:
project_name: __test__
project_description: A test project for HyFI
global_hyfi_root: ${get_original_cwd:}
global_workspace_name: workspace
num_workers: 2
verbose: true
2 changes: 1 addition & 1 deletion src/corprep/conf/task/__init__.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defaults:
_config_name_: __init__
project: ${oc.select:project,null}
task_name: __init__
task_root: ${oc.select:project.path.project_workspace_root,workspace}
task_root: ${oc.select:project.project_root,.}/${oc.select:project.project_workspace_name,workspace}
autoload: false
version: ${__version__:}
verbose: ${oc.select:project.verbose,false}
Expand Down

0 comments on commit d1b7658

Please sign in to comment.