-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Bug] dbt_project.yml does not fully support semantic versioning #4453
Comments
@b0lle Thanks for opening! The codepath for this one is fairly straightforward, and leads us to a comment indicating that dbt-core/core/dbt/contracts/project.py Line 172 in 3fc715f
dbt-core/core/dbt/contracts/project.py Lines 25 to 40 in 3fc715f
At the same time, the docs say:
Why not support real semver? Well... the
Currently, that version report is only available by running So, I think we have two valid options:
I'm inclined to prefer the former: This should be a semantic version, rather than an anything-goes string. We already have logic (a whole module, even) dedicated to validating semantic versions. I think the lift here would be pretty small, so I'm going to mark this a |
I can handle this if no one else is @jtcohen6. |
I'm sorry @jtcohen6, I just didn't see your post. Thanks @alswang18 for creating the PR |
Is there an existing issue for this?
Current Behavior
One can read in the docs that semantic versioning is supported. If so, pre-versions like 1.0.0-pre.1 should be supportes (as the link in the docs says).
Currently the version number causes a Runtime Error:
Expected Behavior
Version 1.0.0-pre.1 should be an accepted version, because it follows the rules of semantic versioning
Steps To Reproduce
No response
Relevant log output
No response
Environment
What database are you using dbt with?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: