Comments (9)
To my above comment, I found that uninstalling all 6 of the dbt packages manually and reinstalling the core & adapter beta versions has worked.
To note, the resultant versions of adapters, common, extractor, semantic-interfaces were still the same versions in fresh & upgraded install cases.
from dbt-core.
Was able to fix this via:
pip uninstall dbt-adapters
pip install dbt-adapters==1.1.1
from dbt-core.
When trying out:
dbt-core v1.8.0b1
dbt-bigquery v1.8.0b1
or
dbt-core v1.8.0b2
dbt-bigquery v1.8.0b2
when i try to run a dbt command after installation in poetry I get this:
Have I missed something, or is it a bug?
from dbt-core.
Hi @christopherekfeldt can you share how you're installing dbt? Are you using pip install
?
from dbt-core.
@christopherekfeldt If you could share your steps to installing dbt that'd be much appreciated. I tried to reproduce this with poetry (as it appears that is what you are using to install dependencies) but haven't been able to get it to error out
My steps for attempting to reproduce are as follows and was done in a clone of jaffle_shop
$ python -m venv venv
$ source venv/bin/activate
$ pip install poetry
...lots of install logs...
$ deactivate && source venv/bin/activate # re-sourcing my terminal instance to recognize the fresh poetry binary
$ poetry init
...initialization logs...
$ code . # added `dbt-bigquery = "^1.8.0b2"` to my dependencies in `pyproject.toml`
$ poetry install
...more install logs...
$ deactivate && source venv/bin/activate # re-sourcing my terminal instance to recognize the fresh dbt binary
$ dbt parse
...runs without error...
$ pip freeze | grep dbt
dbt-adapters==1.0.0
dbt-bigquery==1.8.0b2
dbt-common==1.0.0
dbt-core==1.8.0b2
dbt-extractor==0.5.1
dbt-semantic-interfaces==0.5.1
from dbt-core.
We are using poetry, so we change the versions in pyproject.toml
our setup:
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
dbt-bigquery = "v1.8.0b2"
dbt-core = "v1.8.0b2"
sqlfluff = "3.0.1"
pre-commit = "3.6.2"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
then use cli commands:
poetry lock --no-update
poetry install --no-root
then I ran:
dbt --version
which evaluates to -> ModuleNotFoundError: No module named 'dbt.adapters.factory'
Can it have anything to do with us using python 3.12?
from dbt-core.
Screenshot:
from dbt-core.
I have the same version of dbt packages
Version 1.8.0b1 works as expected
from dbt-core.
I also got caught out by this a couple of hours ago - pip --upgrade left me broken, clean and reinstall venv sorted it. Details https://tempered.works/posts/2024/05/12/dbt-18-breaks-on-update/
from dbt-core.
Related Issues (20)
- Should column level `meta` modifications be considered `state:modified`? HOT 5
- [Bug] Cannot create multiple indexes on postgres materialized view HOT 3
- [Feature] Sync unit tests with model enabled/disabled config HOT 1
- [Feature] Support constraints independently from enforcing a full model contract HOT 12
- [Impl] Allow generic tests to accept arbitrary configs HOT 1
- [Impl] Call adapter.pre_model_hook + adapter.post_model_hook within TestTask
- Explicitly bind to localhost in docs serve
- [Bug] Tests with severity: error is not throwing error HOT 7
- [Feature] populate model['constraints'] even if the contract is not enforced
- [Bug] infinite loop in dbt core HOT 3
- Prefer existing project nodes to external nodes, even if the project node is disabled
- [Bug] Running `dbt build --resource-type saved_query` on 1.7 throws an uncaught exception HOT 1
- [Feature] Unit Tests Should Support ref & source statements when specifying rows with sql HOT 3
- Add `--host` flag to `dbt docs serve`, defaulting to '127.0.0.1' HOT 2
- [Bug] `dbt -v` doesn't know that adapters are decoupled from core HOT 1
- Warn if `updated_at` field for snapshot is not same datatype (or timezone) as what's returned in `snapshot_get_time()` HOT 2
- Improve capturing the history of records in a deleted state HOT 2
- New snapshot config to validate uniqueness before merge
- Support specifying types for recording
- [Bug] the run_query macro causes unit tests to fail with a SQL Compilation error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbt-core.