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

Compile step broken with kedro==0.18.0 #106

Open
mwiewior opened this issue Sep 29, 2021 · 3 comments
Open

Compile step broken with kedro==0.18.0 #106

mwiewior opened this issue Sep 29, 2021 · 3 comments
Milestone

Comments

@mwiewior
Copy link
Contributor

mwiewior commented Sep 29, 2021

Steps to reproduce:

  1. install kedro==0.18.0
  2. Run kedro airflow-k8s compile:
bash-3.2$ kedro airflow-k8s -e pipelines compile
Traceback (most recent call last):
  File "/Users/mwiewior/job/projects/PKOBP/git/kedro-airflow-k8s/venv/kedro/bin/kedro", line 8, in <module>
    sys.exit(main())
  File "/Users/mwiewior/job/projects/PKOBP/git/kedro-airflow-k8s/venv/kedro/lib/python3.8/site-packages/kedro/framework/cli/cli.py", line 268, in main
    cli_collection = KedroCLI(project_path=Path.cwd())
  File "/Users/mwiewior/job/projects/PKOBP/git/kedro-airflow-k8s/venv/kedro/lib/python3.8/site-packages/kedro/framework/cli/cli.py", line 181, in __init__
    self._metadata = bootstrap_project(project_path)
  File "/Users/mwiewior/job/projects/PKOBP/git/kedro-airflow-k8s/venv/kedro/lib/python3.8/site-packages/kedro/framework/startup.py", line 181, in bootstrap_project
    configure_project(metadata.package_name)
  File "/Users/mwiewior/job/projects/PKOBP/git/kedro-airflow-k8s/venv/kedro/lib/python3.8/site-packages/kedro/framework/project/__init__.py", line 219, in configure_project
    settings.configure(settings_module)
  File "/Users/mwiewior/job/projects/PKOBP/git/kedro-airflow-k8s/venv/kedro/lib/python3.8/site-packages/dynaconf/base.py", line 182, in configure
    self._wrapped = Settings(settings_module=settings_module, **kwargs)
  File "/Users/mwiewior/job/projects/PKOBP/git/kedro-airflow-k8s/venv/kedro/lib/python3.8/site-packages/dynaconf/base.py", line 235, in __init__
    self.validators.validate(
  File "/Users/mwiewior/job/projects/PKOBP/git/kedro-airflow-k8s/venv/kedro/lib/python3.8/site-packages/dynaconf/validator.py", line 417, in validate
    validator.validate(self.settings, only=only, exclude=exclude)
  File "/Users/mwiewior/job/projects/PKOBP/git/kedro-airflow-k8s/venv/kedro/lib/python3.8/site-packages/dynaconf/validator.py", line 197, in validate
    self._validate_items(
TypeError: _validate_items() got an unexpected keyword argument 'only'

  1. Downgrading to kedro 0.17.x resolves the issue
kedro --version
kedro, version 0.17.5

@szczeles
Copy link
Contributor

szczeles commented Oct 1, 2021

@mwiewior I think it's issue of Kedro itself, see: kedro-org/kedro@d36fce9

I observe same on Kedro 0.17.4, upgrading to 0.17.5 helps

@michalzelechowski-getindata
Copy link
Contributor

@mwiewior Did you mean kedro==0.17.0? Title says 0.18.0, but at this very time such version does not exist.

@datajoely
Copy link

Hi - checking in from the Kedro team here - we're hard at work on the 0.18.0 expected early 2022. If you have a copy handy we could release that instead :)

@em-pe em-pe added this to the 0.9 milestone Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants