diff --git a/.gitignore b/.gitignore index 9879fba4f..6b0eae510 100644 --- a/.gitignore +++ b/.gitignore @@ -78,4 +78,4 @@ dev/ temp/ # pixi environments .pixi - +pixi.lock diff --git a/pyproject.toml b/pyproject.toml index 387bbfdfd..f4e50914b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -214,11 +214,6 @@ all_plugins = [ "kiara_plugin.core_types", "kiara_plugin.tabular", "kiara_plugin.onboarding", - "kiara_plugin.network_analysis", - "kiara_plugin.language_processing", - "kiara_plugin.html", - "kiara_plugin.jupyter", - "kiara_plugin.streamlit", ] dev_documentation = [ @@ -236,7 +231,6 @@ dev_documentation = [ dev_testing = [ "pytest-cov>=4.1.0", - "flake8>=3.8.4", "jsonschema>=4.0.0", "mypy>=0.800", "pandas-stubs", @@ -257,19 +251,15 @@ dev_testing = [ "types-humanfriendly", "types-setuptools", "sqlalchemy-stubs" - ] dev_utils = [ "kiara_plugin.core_types", - "kiara_plugin.tabular", "kiara_plugin.develop", "build", - "flake8>=3.8.4", "ipython", "mypy>=0.800", "pandas-stubs", - "pip-licenses>=3.3.0", "pre-commit>=2.9.3", "pytest>=6.2.2", "pytest-xdist>=3.2.1", @@ -288,7 +278,6 @@ dev_utils = [ "types-humanfriendly", "types-setuptools", "sqlalchemy-stubs", - "watchgod>=0.6", "wheel" ] @@ -533,9 +522,22 @@ executionEnvironments = [ ] [tool.pixi.project] -name = "kiara" channels = ["dharpa", "conda-forge"] platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"] [tool.pixi.pypi-dependencies] -kiara = { path = ".", editable = true} +kiara = { path = ".", editable = true } + +[tool.pixi.environments] +default = { solve-group = "default" } +#dev = { features = ["dev_utils"], solve-group = "default" } + + +[tool.pixi.tasks] +pre-commit-check = "pre-commit run --all-files" +tests = "py.test" +mypy = "mypy --namespace-packages --explicit-package-base src/kiara_plugin/{{ cookiecutter.project_slug }}" +kiara = "kiara" +show-versions = "kiara --version" +delete-context = "kiara context delete" +install-dev-dependencies = "pip install --upgrade -e '.[dev_utils]'" diff --git a/src/kiara/interfaces/cli/run.py b/src/kiara/interfaces/cli/run.py index a80170039..d07bcd31b 100644 --- a/src/kiara/interfaces/cli/run.py +++ b/src/kiara/interfaces/cli/run.py @@ -186,7 +186,7 @@ def run( pipeline_dir = os.path.abspath(os.path.dirname(path)) execution_context = ExecutionContext(pipeline_dir=pipeline_dir) pc = PipelineConfig.from_config( - data, execution_context=execution_context + data, execution_context=execution_context, kiara=api.context ) job_desc = JobDesc( operation="pipeline",