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

Remove '__init__.py' files from dbt.tests directory #96

Closed
gshank opened this issue Feb 20, 2024 · 0 comments · Fixed by #99
Closed

Remove '__init__.py' files from dbt.tests directory #96

gshank opened this issue Feb 20, 2024 · 0 comments · Fixed by #99

Comments

@gshank
Copy link
Contributor

gshank commented Feb 20, 2024

Description

Because we combine files from multiple packages in the dbt.tests hierarchy, we can't have an 'init.py' file because it prevents doing that.

The problem we run into is that we can't install dbt-adapters using 'pip install -e .' into a local checkout of dbt-core. An error message occurs: ImportError: Error importing plugin "dbt.tests.fixtures.project": No module named 'dbt.tests.fixtures'

Acceptance criteria

It's possible to locally install dbt_adapters, dbt_common, and adapters without getting file import errors.

Impact to other teams

We need to make sure that the adapters work correctly.

Backports?

No. This is only in latest/versionless.

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

Successfully merging a pull request may close this issue.

1 participant