-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Is this a new bug in dbt-core?
- I believe this is a new bug in dbt-core
- I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
- https://pypi.org/project/dbt-core/1.10.0b3/#files
wget https://files.pythonhosted.org/packages/64/4b/9131fd8b5f02a345e30a3df766af7f964c36c98a5a3c3c552d839b9d22ee/dbt_core-1.10.0b3-py3-none-any.whl
$ grep -i pydantic dbt_core-1.10.0b3.dist-info/METADATA
Requires-Dist: pydantic<2
Expected Behavior
Per https://github.com/dbt-labs/dbt-core/blame/1efad4e68ed44e53a2175b29484399029919d9ac/core/setup.py#L77 this section says " Expect compatibility with all new versions of these packages, so lower bounds only." but pydantic<2
is an upper bound.
Steps To Reproduce
See "Current Behavior".
Relevant log output
Environment
- OS: This version of dbt releases a `py3-none-any` wheel
- Python: `Requires-Python: >=3.9`
- dbt: `1.10.0b3`
Which database adapter are you using with dbt?
No response
Additional Context
- Pydantic version last changed in Support artifact upload #11419
- Prior Pydantic v2 discussion: `dbt-core` Python dependency audit #6915
- Pydantic v2 was released in 2023: https://docs.pydantic.dev/2.0/blog/pydantic-v2-final/
I understand this could be described as a bug since it 'regressed' in 1.10.x and doesn't match the comment, or a feature request for pydantic v2 support. I am not pedantic about pydantic and accept either triage.
The motivation is to use Python models with code that depends on pydantic>2
martinbaumgaertner, cdchan, liam-pomelo, binh-pomelo, bhairav-pomelo and 18 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working